apt install sql server code example

Example 1: apt install sql server

sudo apt-get update
sudo apt-get install -y mssql-server

Example 2: apt install sql server

sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/18.04/mssql-server-2019.list)"

Example 3: apt install sql server

sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2019.list)"

Example 4: apt install sql server

wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -

Example 5: apt install sql server

systemctl status mssql-server --no-pager

Example 6: apt install sql server

sudo /opt/mssql/bin/mssql-conf setup

Example 7: apt install sql server

sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list)"

Tags:

Sql Example