How To Install MSSQL Linux 2017 On UBuntu 18.043 min read
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.
- How To Install Apache Cloud Stack Management Server On Ubuntu 20.04 - April 1, 2021
- How To Install Apache Cloud Stack Management Server On Ubuntu 18.04 - March 28, 2021
- How To Install Zabbix 5.0 On Ubuntu 20.04 Server - February 24, 2021
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!