Redhat/centos 7 under the MSSQL installation

Source: Internet
Author: User
Tags mssql administrator password


As Microsoft continues to open up to Linux, from the start of Bash to Ubuntu on the Windows installation of Ubuntu on windows®, see: http://blog.51cto.com/jim123/ 1962108) starting at Microsoft, under the leadership of Satya Nadella, Microsoft's initiative has made significant progress in the Linux-led industry, such as the fast-moving cloud technology, in Redmond, the Microsoft headquarters of the United States. Allowing SQL Server to run in a Linux environment is another landmark move for this process. Of course, no matter what the motivation behind Microsoft's move is, it is now possible to run MSSQL under red Hat Enterpriselinux 7 (including CentOS 7) and Ubuntu Server 16.04, but it is important to note that 3.25 is required under the running server. GB of memory, here's a simple word on how to install MSSQL under CentOS 7:




[[email protected] ~] # cd /etc/yum.repos.d/
[[email protected] yum.repos.d] # wget https://packages.microsoft.com/config/rhel/7/mssql-server.repo
[[email protected] yum.repos.d] # yum -y install mssql-server
[[email protected] yum.repos.d] # / opt / mssql / bin / mssql-conf setup
The license terms for this product can be found at:
/ usr / share / doc / mssql-server or download from:
https://go.microsoft.com/fwlink/?LinkId=852741&clcid=0x804

You can view the privacy statement from:
https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x804

Accept this license term? [Yes / No]: yes

Select a version of SQL Server:
  1) Evaluation version (free, no production license, 180-day limit)
  2) Developer Edition (free, no production license)
  3) Express Edition (free)
  4) Web version (paid)
  5) Standard Edition (paid)
  6) Enterprise Edition (paid)
  7) I purchased a license through a retail channel and have a product key to enter.

Details about the version can be found here:
https://go.microsoft.com/fwlink/?LinkId=852748&clcid=0x804

Use of the paid version of this software requires a separate license through
Microsoft Volume Licensing Program.
Choosing a paid version means that you have the applicable
The number of in-place licenses to install and run this software.

Input version (1-7): 2

Select the language of SQL Server:
(1) English
(2) Deutsch
(3) Espa? Ol
  Fran? Ais
▽ 5) Italiano
(6) Japanese
(7) ???
(8) Português
(9) Русский
(10) Chinese-Simplified
(11) Chinese (Traditional)
Input options 1-11: 10
Enter the SQL Server system administrator password:
Confirm the SQL Server system administrator password:
Configuring SQL Server ...

This is an evaluation version. There are [17] days left in the evaluation period.
Created symlink from /etc/systemd/system/multi-user.target.wants/mssql-server.service to /usr/lib/systemd/system/mssql-server.service.
Setup has completed successfully. SQL Server is starting. 


Such a simple configuration installed in CentOS 7 after the installation of MSSQL, you need to be aware of the server need to open the default 1433 port MSSQL, followed by the installation of MSSQL will be prompted to install the configuration according to the configuration of the sa password, after configuration will start MSSQL, and MSSQL after installation will be in the/opt/mssql path, installed in the system will be added to a new MSSQL users, whose home directory in/var/opt/mssql, which holds the MSSQL related data files and logs



Redhat/centos 7 under the MSSQL installation


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.