1. 公钥
$ curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
2. 注册 Microsoft SQL Server Ubuntu 存储库
$ curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server.list > /etc/apt/sources.list.d/mssql-server.list
3. 安装 SQL Server on Linux
$ sudo apt update
$ sudo apt install -y mssql-server
4. 设置
$ sudo /opt/mssql/bin/sqlservr-setup
5. 查看
$ systemctl status mssql-server
没有评论:
发表评论