User Tools

Site Tools


sysadmin_misc:mssql_centos7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sysadmin_misc:mssql_centos7 [2019/07/09 11:48] (current)
adyxax created
Line 1: Line 1:
 +====== mssql centos7 ======
  
 +<​code>​
 +vi /​etc/​sysconfig/​network-scripts/​ifcfg-eth0
 +vi /​etc/​resolv.conf
 +curl -o /​etc/​yum.repos.d/​mssql-server.repo https://​packages.microsoft.com/​config/​rhel/​7/​mssql-server-2017.repo
 +curl -o /​etc/​yum.repos.d/​mssql-prod.repo https://​packages.microsoft.com/​config/​rhel/​7/​prod.repo
 +yum update
 +yum install -y mssql-server mssql-tools
 +yum install -y sudo
 +localectl set-locale LANG=en_US.utf8
 +echo "​export LANG=en_US.UTF-8"​ >> /​etc/​profile.d/​locale.sh
 +echo "​export LANGUAGE=en_US.UTF-8"​ >> /​etc/​profile.d/​locale.sh
 +yum install -y openssh-server
 +systemctl enable sshd
 +systemctl start sshd
 +passwd
 +/​opt/​mssql/​bin/​mssql-conf setup
 +rm -f /​etc/​localtime
 +ln -s /​usr/​share/​zoneinfo/​Europe/​Paris /​etc/​localtime
 +/​opt/​mssql-tools/​bin/​sqlcmd -S localhost -U SA -p
 +</​code>​
sysadmin_misc/mssql_centos7.txt ยท Last modified: 2019/07/09 11:48 by adyxax