Sql 2017 installed under linux

Reference links 

HTTPS: // docs.microsoft.com / zh - CN / SQL / Linux / QuickStart - install - Connect - Red - Hat? View = SQL - Server - 2017 

 

my Linux environment is CentOS. 

1 , download Microsoft SQL Server Red Hat repository configuration file: 

sudo curl - O / etc / yum.repos.d / MSSQL - server.repo HTTPS: // packages.microsoft.com / config/ RHEL / 7 / MSSQL - Server - 2017 .repo
 2 , run the following command to install Server SQL: 

sudo yum install - the y-MSSQL - Server
 3 , the packages are installed, run the installation command mssql conf and set the SA password Follow the prompts and select your version. 

sudo / opt / MSSQL / bin / MSSQL - conf Setup
 4 , the configuration is complete, verify that the service is running: 

systemctl Status MSSQL - Server
 5 , to allow remote connections, open SQL Server ports on the firewall on RHEL. The default SQL Server port TCP 1433 . If you are using FirewallD for firewall, you can use the following command:

Firewall sudo - cmd - Zone = public --add-Port = 1433 / tcp --permanent 
sudo Firewall - cmd - reload 
How to enable SQL Server Agent 

sudo / opt / MSSQL / bin / MSSQL - conf the SET sqlagent.enabled to true 
sudo MSSQL restart systemctl - Server 
how to install the SSIS 

1 , download Microsoft SQL Server Red Hat repository configuration file. 

curl the sudo - O / etc / yum.repos.d / MSSQL - server.repo HTTPS: //packages.microsoft.com / config / RHEL / 7 / MSSQL - Server - 2017 .repo
 2 , run the following command to install SQL Server Integration Services. 

yum the install the sudo - Y MSSQL - Server - IS 
. 3 , after the installation is complete, run SSIS - the conf. 

the sudo / opt / SSIS / bin / SSIS - the conf Setup
 . 4 , after the completion of the configuration and the path. 

the PATH Export = / opt / the SSIS / bin: $ the PATH
  

 

Guess you like

Origin www.cnblogs.com/K1nn/p/11976495.html