Home > Article > Operation and Maintenance > How to install SQLServer2019 under Linux
Download the SQL Server 2019 (15.x) Red Hat repository configuration file:
sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2019.repo
Run the following command to install SQL Server:
sudo yum install -y mssql-server
See the following prompt to prove that the installation is successful
Note: If the server cannot be connected to the Internet and use yum normally, you can download the rpm package for offline installation
Download address: https ://packages.microsoft.com/rhel/7/mssql-server-2019/
Upload the rpm package to the server and install it
sudo rpm -ivh mssql-server-15.0.4249.2-1.x86_64.rpm
The above is the detailed content of How to install SQLServer2019 under Linux. For more information, please follow other related articles on the PHP Chinese website!