How To Install SQL Server 2019 on Ubuntu 18.04

We will install SQL Server 2019 on Ubuntu 18.04 in this article.

Our Server Resource Information:

  • CPU : 4
  • RAM : 16
  • Disk : 80 gb

Installation Steps:

Step 1: Store GPG keys

Step 2: Add Microsoft SQL Server 2019 Ubuntu repos

Step 3: Update packages

Step 4: Run SQL Server Mssql configuration Script

Confirmation Screens will appear.

  • We approve the license (yes)
  • We specify the SA password
  • We enable SQL Server service to start (y)
  • We enable automatic startup on reboot (y)

We choose which version to install. We chose 2 for the Developer Edition.

We specify the ‘sa’ password.

Step 5: Check SQL Server service status

Let’s Connect with SQL Azure Studio;