CentOS 7 安装 SqlServer2017 SqlServer2019 图形化操作界面

article/2025/9/25 17:43:22

1.安装 Microsoft SQL Server 2019

# 下载 Microsoft SQL Server Red Hat 存储库配置文件
[root@192 ~]# sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2019.repo% Total    % Received % Xferd  Average Speed   Time    Time     Time  CurrentDload  Upload   Total   Spent    Left  Speed
100   231  100   231    0     0    662      0 --:--:-- --:--:-- --:--:--   663# 通过yum 安装 SQL Server
[root@192 lnmp1.6]# yum install -y mssql-server# 配置 Microsoft SQL Server
[root@192 ~]# sudo /opt/mssql/bin/mssql-conf setup
usermod: no changes
Choose an edition of SQL Server:1) Evaluation (free, no production use rights, 180-day limit)2) Developer (free, no production use rights)3) Express (free)4) Web (PAID)5) Standard (PAID)6) Enterprise (PAID) - CPU Core utilization restricted to 20 physical/40 hyperthreaded7) Enterprise Core (PAID) - CPU Core utilization up to Operating System Maximum8) I bought a license through a retail sales channel and have a product key to enter.Details about editions can be found at
https://go.microsoft.com/fwlink/?LinkId=852748&clcid=0x409Use of PAID editions of this software requires separate licensing through a
Microsoft Volume Licensing program.
By choosing a PAID edition, you are verifying that you have the appropriate
number of licenses in place to install and run this software.Enter your edition(1-8):2Details about editions can be found at
https://go.microsoft.com/fwlink/?LinkId=852748&clcid=0x409Use of PAID editions of this software requires separate licensing through a
Microsoft Volume Licensing program.
By choosing a PAID edition, you are verifying that you have the appropriate
number of licenses in place to install and run this software.Enter your edition(1-8): 2
The license terms for this product can be found in
/usr/share/doc/mssql-server or downloaded from:
https://go.microsoft.com/fwlink/?LinkId=855862&clcid=0x409The privacy statement can be viewed at:
https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409Do you accept the license terms? [Yes/No]:YesEnter the SQL Server system administrator password: 
Confirm the SQL Server system administrator password: 
Configuring SQL Server...# 查看是否安装成功
[root@192 ~]# systemctl status mssql-server
● mssql-server.service - Microsoft SQL Server Database EngineLoaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; vendor preset: disabled)Active: active (running) since Sun 2019-11-10 17:22:34 CST; 27s agoDocs: https://docs.microsoft.com/en-us/sql/linuxMain PID: 3476 (sqlservr)CGroup: /system.slice/mssql-server.service├─3476 /opt/mssql/bin/sqlservr└─3508 /opt/mssql/bin/sqlservrNov 10 17:22:39 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:39.49 spid23s     SQL Server is now ready for client connections. This is an informational message; no user a...is required.
Nov 10 17:22:39 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:39.57 spid12s     Clearing tempdb database.
Nov 10 17:22:39 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:39.58 spid10s     0 transactions rolled back in database 'msdb' (4:0). This is an informational message only....is required.
Nov 10 17:22:40 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:40.29 spid12s     [2]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.
Nov 10 17:22:40 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:40.29 spid12s     Starting up database 'tempdb'.
Nov 10 17:22:41 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:41.19 spid12s     The tempdb database has 4 data file(s).
Nov 10 17:22:41 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:41.23 spid25s     The Service Broker endpoint is in disabled or stopped state.
Nov 10 17:22:41 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:41.24 spid25s     The Database Mirroring endpoint is in disabled or stopped state.
Nov 10 17:22:41 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:41.28 spid25s     Service Broker manager has started.
Nov 10 17:22:41 192.168.0.105 sqlservr[3476]: 2019-11-10 17:22:41.29 spid10s     Recovery is complete. This is an informational message only. No user action is required.
Hint: Some lines were ellipsized, use -l to show in full.

2. 安装图形化数据库操作软件 Azure Data Studio

[root@192 ~]# cd /usr/local/src
[root@192 src]# wget https://azuredatastudiobuilds.blob.core.windows.net/releases/1.13.0/azuredatastudio-linux-1.13.0.tar.gz[root@192 src]# tar -xvf ./azuredatastudio-linux-1.13.0.tar.gz -C /usr/local
[root@192 src]# cd ../
[root@192 local]# echo 'export PATH="$PATH:/usr/local/azuredatastudio-linux-x64"' >> ~/.bashrc
[root@192 local]# source ~/.bashrc# 启动图形化数据库操作界面
[root@192 local]# azuredatastudio# 配置非root用户使用
[root@192 local]# exit
[gjp@192 local]# echo 'export PATH="$PATH:/usr/local/azuredatastudio-linux-x64"' >> ~/.bashrc
[gjp@192 local]# source ~/.bashrc# 此处需要安装 libXScrnSaver 依赖 否则会报找不到 libgtk-3.so.0
[root@192 local]# yum install libXScrnSaver# 注意 此处使用的是图形化安装的CentOS7
[gjp@192 local]# azuredatastudio# windows访问时记得关闭防火墙
[root@192 ~]# systemctl stop firewalld
[root@192 ~]# systemctl disable firewalld

3. CentOS7 使用Azure Data Studio连接  Microsoft SQL Server 2019 

4.2 Windows连接MSSQL 之 使用 原生 SSMS 连接(推荐使用)

因为之前有用Navicat进行过一次数据库远程备份,然后导致生产环境存储过程出现异常,然后后期果断换了官方的SSMS操作[捂脸笑][捂脸笑][捂脸笑]

4.2 Windows连接MSSQL 之 使用 Navicat连接

 

 


http://chatgpt.dhexx.cn/article/waO2edTV.shtml

相关文章

Unity大密度建筑场景加载解决方案

现在虚拟城市仿真,以及军事仿真项目越来越多,开发此类项目,首先面对的一个比较棘手的问题是内存管理,城市中的建筑物特别多,这些建筑物的面数和贴图都要被加到内存中的,内存有自己的峰值,超过了…

监测防护SambaCry CVE-2017-7494漏洞

我们最近看到了几个严重的漏洞。首先是WannaCry(永恒之蓝),然后是WannaCry 2.0(EternalRocks),现在我们有WannaCry3.0吗?还好这还不是真的。但一个新的存在七年之久的远程代码执行漏洞&#xff…

linux lvm使用情况,Linux LVM系列(一)lvm使用

简介 逻辑卷管理LVM是一个多才多艺的硬盘系统工具。无论在Linux或者其他类似的系统,都是非常的好用。传统分区使用固定大小分区,重新调整大小十分麻烦。但是,LVM可以创建和管理“逻辑”卷,而不是直接使用物理硬盘。可以让管理员弹…

使用Tenable Nessus和PVS检测Intel AMT漏洞 (INTEL-SA-00075)

英特尔最近宣布针对英特尔主动管理技术(AMT),英特尔标准可管理系统(ISM)和英特尔小型企业技术固件,从版本6至11.6中的漏洞进行固件升级。该漏洞多年来一直存在于英特尔芯片组中,特别是管理引擎&…

pvs-stdio ue4_了解适用于Java的PVS-Studio静态分析器

pvs-stdio ue4 总览 (Overview) The PVS-Studio Java static code analyzer consists of 2 main parts: the kernel, which performs the analysis, and plugins for integration in build systems (Gradle, Maven) and IDE (IntelliJ IDEA). PVS-Studio Java静态代码分析器包括…

pvs-stdio ue4_在Windows OS上检查虚幻引擎项目时的PVS-Studio使用情况

pvs-stdio ue4 This article focuses on the specifics of checking Unreal Engine projects with the PVS-Studio static analyser on the Windows operating system: how to install the analyser, check a project, where and how to view an error report. 本文重点介绍在W…

周志华与「深度森林」

关注网易智能,聚焦AI大事件,读懂下一个大时代! 近日于深圳举办的2018中国人工智能大会上,AI领域的顶级大牛、南京大学人工智能学院院长、ACM/AAAI/IEEE Fellow周志华发表了演讲,并在会后接受了网易智能等媒体的采访&am…

深度森林:探索深度神经网络以外的方法

挑战深度学习 《深度森林:探索深度神经网络以外的方法》 阅读量: 1306 收藏本文 深度神经网络的巨大成功掀起了一股深度学习热潮。 或许,这股热潮有些“太热”了。 就在这周,南京大学机器学习与数据挖掘研究所(LAMDA&a…

【深度森林算法实践】分类与回归

1 Review💖 不可否认,深度森林的提出很大程度是受深度学习算法启发。现如今,深度学习算法在诸多领域都展示出了傲人的实力,周志华教授作为国内集成学习领域的先驱,则在借鉴了深度学习算法结构的基础上,提出…

深度——强化学习、深度森林

Sutton’sTD(0)算法:考虑当前回报和下一状态的估计值,它的更新公式 : • Q-learing算法:它和Sutton’sTD(0)算法类似,只是将动作集A也考虑进来。 定义动作价值函数Q(s,a)…

周志华团队和蚂蚁金服合作:用分布式深度森林算法检测套现欺诈

翻译 | 林椿眄 出品 | AI科技大本营(公众号ID:rgznai100) 【AI科技大本营导读】 互联网公司每天都面临着处理大规模机器学习应用程序的问题,因此我们需要一个可以处理这种超大规模的日常任务的分布式系统。最近,以…

在Python 3中使用深度森林(Deep Forest)进行分类

深度森林(Deep Forest)是周志华教授和冯霁博士在2017年2月28日发表的论文《Deep Forest: Towards An Alternative to Deep Neural Networks》中提出来的一种新的可以与深度神经网络相媲美的基于树的模型,其结构如图所示。 gcForest.png 文中提出的多粒度级联森林(Mu…

9大数据集6大度量指标完胜,周志华等提出深度森林处理多标签学习

2019-11-25 11:01:57 选自arXiv 机器之心编译参与:路雪、一鸣 近日,南大周志华等人首次提出使用深度森林方法解决多标签学习任务。该方法在 9 个基准数据集、6 个多标签度量指标上实现了最优性能。 在多标签学习中,每个实例都有多个标签&am…

深度森林DF21、deep forest、gcForest

文章目录 DF21的优势DF21的可以用来干什么对标算法[^1] DF21的优势 DF21是周志华团队于2021年2月1日推出的深度森林开源库,其优势在于超参少、训练效率高1。 DF21的可以用来干什么 DF21可以用来进行分类和回归2。 对标算法2 搜狐自媒体网文:周志华团…

如何评价周志华深度森林模型

这篇文章背后的思路实际上是这样的: DNN(或者说 MLP)其实就是堆起来的广义线性模型(比如 logistic,但也有其他激活函数)。它能够自动发现特征与标签之间的非线性关系,当决策边界非线性&#xf…

gcForest分布式深度森林及其在套现欺诈自动检测中的应用

分布式深度森林及其在套现欺诈自动检测中的应用 摘要 互联网企业每天面对处理大规模机器学习应用的请求,需要一个能够处理超大数据任务的分布式系统.深度森林是最近提出的一个利用树作为组件深度学习框架,在各种领域取得不错的结果.然而并没有在超大规模数据任务上测试.在这项…

【论文解读】关于深度森林的一点理解

2017年年初,南京大学周志华老师上传了一篇名为:Deep Forest:Towards An Alternative to Deep Neural Networks的论文,一石激起千层浪,各大媒体纷纷讨论着,这似乎意味着机器学习的天色要变,实则不…

随机森林算法的扩展-深度森林(deep forest)

深度学习最大的贡献,个人认为就是表征学习(representation learning),通过端到端的训练,发现更好的features,而后面用于分类(或其他任务)的输出function,往往也只是普通的…

多标签学习与深度森林学习笔记

周志华老师团队Multi-Label Learning with Deep Forest (MLDF)报道很多,各大机器学习平台也都就这篇文章的亮点给出了分析。近日在准备组会报告时较为详细地拜读了一下,也由此简单了解了一下多标签学习的相关内容。 正如论文作者所述,MLDF的…

论文阅读:Deep forest/深度森林/gcForest

最近组会汇报了这篇文章,简单把思想梳理下来了,对了搜索深度森林的时候可能会看到Deep Forest: Towards an Alternative to Deep Neural Networks,这两篇文章的内容基本上是一致的,只在叙述方面有一些很小的不同。 下面是我做的p…