Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install SQL Server in Ubuntu

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Today, I will talk to you about how to install SQL Server in Ubuntu. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.

Install SQL Server on Ubuntu

The SQL Server on Linux version released by Microsoft is SQL Server vNext CTP1, which already supports Red Hat Enterprise Linux 7.2b and Ubuntu 16.04systems (SUSE Linux Enterprise Server v12 SP2 will be coming soon). Let's use Ubuntu 16.04 as an example to show how to install and deploy.

The copy code is as follows: # Import public repository GPG key curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add-# register Microsoft SQL Server Ubuntu repository curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server.list > / etc/apt/sources.list.d/mssql-server.list

# install SQL Server on Linuxsudo apt updatesudo apt install-y mssql-server

After the package installation is complete, run the configuration script and follow the prompts:

Sudo / opt/mssql/bin/sqlservr-setup

Enter the password for your sa account, as shown in the figure:

After the configuration is complete, verify that the service is running:

Systemctl status mssql-server

After reading the above, do you have any further understanding of how to install SQL Server in Ubuntu? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report