Created
July 26, 2018 15:39
-
-
Save lrdgz/e5326d208d37235b88c18cccc1671989 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
## Install SQL Server on Ubuntu | |
## https://docs.microsoft.com/pt-br/sql/linux/quickstart-install-connect-ubuntu | |
## Run as root (sudo su) | |
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - | |
add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server.list)" | |
add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list)" | |
sudo apt-get update | |
sudo apt-get install -y mssql-server mssql-tools unixodbc-dev | |
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> /etc/profile | |
source /etc/profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment