Last active
January 27, 2023 12:11
-
-
Save antoniocampos/5f8f9e8388b572e022997c6c291aeff3 to your computer and use it in GitHub Desktop.
Debian 10 install and configure Microsoft SQL Server 2019 and tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install curl apt-transport-https gnupg | |
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
curl https://packages.microsoft.com/config/debian/10/prod.list | tee /etc/apt/sources.list.d/msprod.list | |
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | tee /etc/apt/sources.list.d/msprod.list | |
apt-get update | |
apt-get install -y mssql-server mssql-tools unixodbc-dev | |
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile | |
source ~/.bashrc | |
/opt/mssql/bin/mssql-conf setup | |
# follow the steps! | |
# restart | |
systemctl restart mssql-server | |
# stop | |
systemctl stop mssql-server | |
#start | |
systemctl start mssql-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment