debian安装sqlserver_在 DEBIAN 上安装 SQL SERVER

本文档详细记录了如何在Debian操作系统上安装SQL Server,包括增加Debian Stretch源,升级OpenSSL,导入微软的GPG密钥,注册SQL Server软件库,最后执行安装和配置步骤,成功在Debian环境中运行SQL Server。
摘要由CSDN通过智能技术生成

微软在开源 .NET Framework 之后,相继推出了跨平台的编辑器 Visual Studio Code,跨平台的 SQL Server 数据库 SQL Server vNext,Visual Studio for Mac,微软在跨平台的路上越走越远了。SQL Server vNext 发布后,我就想在 linux 环境下尝试一下,但是微软只发布了针对 Ubuntu 和 Red Hat 平台的。我平时习惯使用 Debian, Ubuntu 是基于 Debian 的,所以就按照在 Ubuntu 上安装的方法在 Debian 上安装,最终成功安装了。安装需求1、SQL Server 需要至少 3.5G 的内存。如果虚拟机的内存小的话,需要调整到大于 3.5G。2、SQL Server 依赖于 OpenSSL 1.0.2 以上版本。Debian jessie 的 OpenSSL 是 1.0.1,需要先升级 OpenSSL。Debian 稳定版的软件包里的 OpenSSL 还是 1.0.1 ,所以需要安装不稳定版的软件包。安装方法参考:http://serverfault.com/questions/775298/debian-jessie-nginx-with-openssl-1-0-2-to-use-alpn-rather-than-npn

Add the Debian stretch repository to your apt sources. Don’t use /etc/apt/sources.list for this, but instead use a dedicated file inside /etc/apt/sources.list.d/ to keep it clean, personally I’m using stretch.list.

Put these lines inside there:deb http://httpredir.debian.org/debian

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值