由于学习的需要,笔者需要在自己的虚拟机上搭建一个sql server数据库,最终在windows电脑进行连接,方便进行学习和练习,以下内容详细的介绍了安装过程,跟着一步步的做下去,保证可以安装成功,下边将笔者安装的步骤进行详细的介绍!(安装资源包笔者上传至资源中,可以根据需要自行下载)
(一)安装环境:
- VMware15
- CentOS系统
- SQL Server的rpm安装包
- 安装包下载地址:https://packages.microsoft.com/
(二)安装步骤:
2. 安装mssql-server
2.1 下载rpm包
2.1 yum安装
[root@localhost ms_sql]# yum localinstall mssql-server-14.0.900.75-1.x86_64.rpm
Loaded plugins: fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Examining mssql-server-14.0.900.75-1.x86_64.rpm: mssql-server-14.0.900.75-1.x86_64
Marking mssql-server-14.0.900.75-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mssql-server.x86_64 0:14.0.900.75-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===========================================================================================================================================================================
Package Arch Version Repository Size
===========================================================================================================================================================================
Installing:
mssql-server x86_64 14.0.900.75-1 /mssql-server-14.0.900.75-1.x86_64 870 M
Transaction Summary
=============================&#