How To Install MSSQL Linux 2017 On UBuntu 18.04
In this tutorial for hot to install MSSQL Linux 2017 On UBuntu 18.04. So please wait at least five or six minutes for installation completed. Now I am ssh my server via MobaXtreem then run all command using root user.
Step #01: Must be server update and upgrade needed for installation MSSQL Server 2017 on Ubuntu 16.04.
[email protected]:~# apt-get update && apt-get upgrade
Software properties needed or not
[email protected]:~# apt install software-properties-common
Step #02: Add Microsoft public via below command
[email protected]:~# wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
Step #03: Now add source list Microsoft source list
[email protected]:~# add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)"
Then run below command
[email protected]:~# apt-get update
Step #04: Finally run command for install MSSQL server 2017 on Ubuntu 18.04
[email protected]:~# apt-get install -y mssql-server
Wait at least five or six minutes for all package download and install.
Step #05: Setup below command for which version install on your server.
[email protected]:~# sudo /opt/mssql/bin/mssql-conf setup
Then press 2 for install Developer Edition its free. Another you can install paid version easily.
Choose an edition of SQL Server: 1) Evaluation (free, no production use rights, 180-day limit) 2) Developer (free, no production use rights) 3) Express (free) 4) Web (PAID) 5) Standard (PAID) 6) Enterprise (PAID) 7) Enterprise Core (PAID) 8) I bought a license through a retail sales channel and have a product key to enter.
type 2 then press Enter
Accept terms and condition : yes
Do you accept the license terms? [Yes/No]:yes
Type sa password for two times then. Now see service status using below command
[email protected]:~# systemctl status mssql-server
If any problem then don’t forget any comment so I try to provide another guide. For more details please see my YouTube channel.
Thanks to all.
Latest posts by Admin (see all)
- How To Install Joomla 4 On Ubuntu 18.04 - October 21, 2019
- How To Configure Static IP Address On Ubuntu 14.04 - October 16, 2019
- How To Upgrade Zabbix Server 4.0 To 4.4 On CentOS 8 - October 13, 2019