当前位置:网站首页>linux能不能安装sqlserver
linux能不能安装sqlserver
2022-07-27 07:13:00 【亿速云】
linux能不能安装sqlserver
这篇“linux能不能安装sqlserver”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“linux能不能安装sqlserver”文章吧。
linux能安装sqlserver;sqlserver是由Microsoft开发和推广的关系数据库管理系统,可以在“Red Hat Enterprise Linux (RHEL)”、“SUSE Linux Enterprise Server (SLES) ”和Ubuntu上受支持,可以利用“yum install -y mssql-server”进行安装。
本教程操作环境:linux7.3系统、Dell G3电脑。
linux能安装sqlserver
SQL Server 在 Red Hat Enterprise Linux (RHEL)、SUSE Linux Enterprise Server (SLES) 和 Ubuntu 上受支持。 此外,它也可作为 Docker 映像提供,可在 Linux 上的 Docker 引擎或用于 Windows/Mac 的 Docker 上运行。
SQL Server 对 Linux 具有以下系统要求:

如果在生产中使用网络文件系统 (NFS) 远程共享,请注意以下支持要求:
使用 NFS 版本 4.2 或更高版本。 较早版本的 NFS 不支持现代文件系统常用的必需功能,例如 fallocate 和稀疏文件创建。
仅在 NFS 装载上查找 /var/opt/mssql 目录。 不支持其他文件,例如 SQL Server 系统二进制文件。
安装远程共享时,请确保 NFS 客户端使用“nolock”选项。
示例如下:
开始安装SQLserver(以2017示例)
1、下载 Microsoft SQL Server Red Hat 存储库配置文件:
curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo
2、运行以下命令,安装 SQL Server:
yum install -y mssql-server
运行此命令若报错就是环境的问题,不要装最小化
3、运行包安装完成后mssql-conf 安装并按照提示操作一步步走就是。
/opt/mssql/bin/mssql-conf setup
4、选择 SQL Server 的版本,大家按照自己需求选择
Evaluation (免费,无生产许可,180 天限制)
Developer (免费,无生产许可)
Express (免费)
Web (付费版)
Standard (付费版)
Enterprise (付费版)
Enterprise Core (付费版)
我通过零售渠道购买了许可证并具有要输入的产品密钥。
5、同意许可条款
6、选择语言
7、设置SA账户密码(最少 8 个字符,包括大写和小写字母、十进制数字和/或非字母数字符号)
在安装的最后,系统会提示如下:
正在配置 SQL Server...
Created symlink from /etc/systemd/system/multi-user.target.wants/mssql-server.service to /usr/lib/systemd/system/mssql-server.service.
安装程序已成功完成。SQL Server 正在启动。
验证服务是否正在运行:
systemctl status mssql-server
如果运行结果如上(正常是绿颜色的)就是服务正常运行了。
如果要允许远程连接,就要打开防火墙上的 SQL Server 端口
firewall-cmd --zone=public --add-port=1433/tcp --permanent
重启下
firewall-cmd --reload
以上就是关于“linux能不能安装sqlserver”这篇文章的内容,相信大家都有了一定的了解,希望小编分享的内容对大家有帮助,若想了解更多相关的知识内容,请关注亿速云行业资讯频道。
边栏推荐
- Debug:与泛型有关的“无法解析的外部符号”
- Docker install MySQL 8.0.28
- Panabit SNMP配置
- Turn off the auto start function of Oracle service in centos7
- 利用 Amazon DynamoDB 和 Amazon S3 结合 gzip 压缩,最大化存储玩家数据
- mysql备份策略
- Okaleido生态核心权益OKA,尽在聚变Mining模式
- js正则表达式实现每三位数字加一个逗号
- Help send a recruitment, base all over the country. If you are interested, you can come and have a look
- ClickHouse 笔记1 | 简介、特点 | 基于CentOS7系统的安装与使用 | 常用数据类型 | MergeTree 表引擎 | SQL操作
猜你喜欢
随机推荐
shell awk相关练习
正则表达式基础整理
shell 函数和数组练习
STM32_找到导致进入HardFault_Handler的函数
Turn off the auto start function of Oracle service in centos7
Jjwt generate token
什么是真正的 HTAP ?(二)挑战篇
Simple rotation chart
Prior Attention Enhanced Convolutional Neural Network Based Automatic Segmentation of Organs at Risk
shell循环练习
【已解决】单点登录成功SSO转发,转发URL中带参数导致报错There was an unexpected error (type=Internal Server Error, status=500)
[golang learning notes 2.0] arrays and slices in golang
安装tensorflow
Shell awk related exercises
Shell functions and arrays exercises
C winfrom common function integration-2
View the dmesg log before server restart
flink中维表Join几种常见方式总结
单元测试系统化讲解之Mockito
The token verification of applet message push configuration failed. Please check and confirm








