[英]Create an mssql server on Ubuntu
Is there a way to create an mssql server on Linux? 有没有办法在Linux上创建mssql服务器? Maybe using the ODBC drivers ?
也许使用ODBC驱动程序 ?
It was recently announced by Microsoft that there is now a version of SQL Server that can be installed on Linux. 微软最近宣布,现在可以在Linux上安装SQL Server的版本。 The announcement is below;
该公告如下;
https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/ https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
Just about a week ago (like one day after I asked this question) a public preview of sql server on linux became available. 大约一周前(就像我问这个问题后的一天) ,Linux上的sql server的公共预览版已经可用。 Wow X'D
哇X'D
Installation instructions are described Here . 安装说明在此处介绍。
...so in my case for Ubuntu: ...因此对于我来说,对于Ubuntu:
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
then 然后
curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server.list | sudo tee /etc/apt/sources.list.d/mssql-server.list
and 和
sudo apt-get update
sudo apt-get install -y mssql-server
then run this to configure it 然后运行它来配置它
sudo /opt/mssql/bin/sqlservr-setup
and this is an extra command to check that everything's working okay 这是一个额外的命令,用于检查一切是否正常
systemctl status mssql-server
...also it's almost unavoidable to install mssql-tools
to work on the server (described here ): ......还它几乎不可避免安装
mssql-tools
服务器(描述上工作在这里 ):
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
then 然后
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
and 和
sudo apt-get update
sudo apt-get install mssql-tools
I wish I could work on a gui though. 我希望我可以在gui上工作。 There's DbVis but I can't get it to work .
有DbVis,但我无法使用它 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.