sql server2017 on ubuntu17
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
- sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)"
- sudo apt-get update
- sudo apt-get install -y mssql-server
- sudo /opt/mssql/bin/mssql-conf setup
接下来坐等5分钟,具体时间,取决于当前网络
最后 确认是否安装OK
systemctl status mssql-server
确认安装成功
可以用客户端连接了
用vscode的扩展插件mssql来链接
统统搞定!