SQL SERVER ON LINUX INSTALLATION – PART2 – INSTALL SQL SERVER ON RHEL

In the previous blog, we discussed how to install RHEL Server on the virtual machine. In this quick tutorial, we will install SQL Server 2017 on Red Hat Enterprise Linux (RHEL).

  • Connect to the RHEL virtual machine and log on to the server by keying username and password

  • Switch to root user (superuser)

  • Check you can access the internet on your Linux virtual machine by pinging www.google.com

  • Download the Microsoft SQL Server Red Hat repository into the RHEL Server

 

  • Now, it’s time to install SQL Server on RHEL by using the below command

  • Once SQL Server installation gets completed successfully, kindly run the configuration script. During the configuration setup, It will ask you to;
    • Select the SQL Server Edition which you want to install
    • Accept the SQL Server License terms
    • Key “sa” password

  • Now verify, whether the SQL Server instance is running on RHEL Server or not.

  • To allow remote connections, open the SQL Server port on the firewall on RHEL. The default SQL Server port is TCP 1433. If you are using FirewallD for your firewall, you can use the following command;

  • Let’s apply the firewall configuration right now on the runtime.

 Hope, you enjoyed installing SQL Server 2017 on RHEL system.

Leave a comment

Your email address will not be published. Required fields are marked *