简体   繁体   中英

Installing Two version of MSSQL SQL Server 2017 and SQL Server 2019 on same CENTOS 7 machine

Can we install Microsoft SQL Server version 2017 and 2019 on same OS for Linux especially CENTOS as we can do for Windows?

CentOS is not a supported version of Linux to install SQL Server (for Linux) on, so it's recommended that you use one that is supported.

Regardless, however, of what operating system you install it on (supported or not), on Linux you can only run one instance at a time on a single host. The documation on Work with multiple versions and instances of SQL Server explicitly states it is a Windows Only Feature.

If you do need to run multiple instances of SQL Server on the same physical host, then the recommendation is to use containers. Then you can run a single SQL Server (on Linux) instance inside each container.

This question is also answered in the SQL Server on Linux Frequently Asked Questions (FAQ) in the Administration section:

2. Does SQL Server on Linux support multiple instances on the same host?

We recommend running multiple containers on a host to have multiple distinct instances. This is easily achieved using docker, but each container needs to listen on a different port. For more information, see Run multiple SQL Server containers .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM