MS Sql server on ubuntu
--> Adding Repo
echo Adding Microsoft repositories... sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - repoargs="$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)" sudo add-apt-repository "${repoargs}" repoargs="$(curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list)" sudo add-apt-repository "${repoargs}" echo Running apt-get update -y... sudo apt-get update -y
--> Installing MSSQL Prereq
http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
wget http://ftp.osuosl.org/pub/ubuntu/pool/universe/j/jemalloc/libjemalloc1_3.6.0-11_amd64.deb
sudo dpkg -i libjemalloc1_3.6.0-11_amd64.deb
--> Install MSSQl
sudo apt install mssql-server
echo Running mssql-conf setup...
sudo MSSQL_SA_PASSWORD="Mlinfotech@321" \
MSSQL_PID="evaluation" \
/opt/mssql/bin/mssql-conf -n setup accept-eula
--> Other Packages
sudo ACCEPT_EULA=Y apt-get install -y mssql-tools unixodbc-dev
Comments
Post a Comment