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.
★ How To Install Laravel On Ubuntu 16.04 With Phpmyadmin and Mysql
★ How To Install WordPress (CMS) on Ubuntu 16.04
Step #01: Must be server update and upgrade needed for installation MSSQL Server 2017 on Ubuntu 16.04.
root@MSSQL-Linux:~# apt-get update && apt-get upgrade
Software properties needed or not
root@MSSQL-Linux:~# apt install software-properties-common
Step #02: Add Microsoft public via below command.
root@MSSQL-Linux:~# wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
Step #03: Now add source list Microsoft source list.
root@MSSQL-Linux:~# add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)"
Then run below command
root@MSSQL-Linux:~# apt-get update
Step #04: Finally run command for install MSSQL server 2017 on Ubuntu 18.04.
root@MSSQL-Linux:~# 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.
root@MSSQL-Linux:~# 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
root@MSSQL-Linux:~# 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 Zabbix Server 6.4 On AlmaLinux 8 Server - August 9, 2024
- How To Clear RAM Memory Cache Buffer Linux Server - February 29, 2024
- How To Install Apache Cloud Stack Management Server 4.17 On Ubuntu 22.04 - February 1, 2024
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!
Enter the SQL Server system administrator password:
Confirm the SQL Server system administrator password:
Configuring SQL Server…
sqlservr: This program requires a machine with at least 2000 megabytes of memory.
/opt/mssql/bin/sqlservr: This program requires a machine with at least 2000 megabytes of memory.
Initial setup of Microsoft SQL Server failed. Please consult the ERRORLOG
in /var/opt/mssql/log for more information.
Your server RAM is less 2GB, so you can try installation after increase RAM 2GB+ or 2GB.
Thanks.