Home  >  Article  >  Operation and Maintenance  >  How to install SQLServer2019 under Linux

How to install SQLServer2019 under Linux

WBOY
WBOYforward
2023-05-21 10:55:051848browse

Install SQL Server

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

How to install SQLServer2019 under Linux

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/

How to install SQLServer2019 under Linux

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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete