SQL Server vNext on Linux安裝
今天微軟正式發佈上SQL Server 2016 SP1,根據以往的SP1定律,可以在生產環境上使用了。打了SP1的標準版將具有企業版幾乎所有的的功能。只有RAM 超過128GB或者超過24核心或者超過4路的環境才必須要安裝企業版。
還有一個重要的發佈:SQL Server vNext on Linux。也是本文介紹安裝的版本。長話短說,開始安裝。
這個版本的SQL Server,官方支持的平臺是Red Hat Enterpise 7.2 或者Ubuntu 16.04。但是我手上暫時沒有Red Hat,就用CentOS 7.2試試。我是以root身份安裝的。
1. 安裝
#下載庫配置文件curl > /etc/s.d/#安裝sudo yum install -y mssql-server
2. 運行配置文件
#運行SQL Server的配置文件進行配置。#這個過程會要你同意License條款,設置SA密碼,設置SQL Server服務開機啓動/opt/mssql/bin/sqlservr-setup
3. 檢查服務狀態
#檢查SQL Server的服務狀態systemctl status mssql-server
4. 修改防火牆
#修改防火牆,允許1433端口systemctl start firewalldfirewall-cmd --zone=public --add-port=1433/tcp --permanentfirewall-cmd --reload
5. 安裝SQL工具,包括sqlcmd和bcp
#下載源的'庫配置文件curl > /etc/s.d/#安裝toolsyum install mssql-tools
6. 連接測試
# 使用sqlcmd的本地連接。直接在-P參數後填密碼或者回車後輸入密碼。sqlcmd -S . -U SA -p
發現sqlcmd的使用方式和windows下是一樣的。返回內容最後有一個根據當前查詢的耗時預估的每秒事務處量。
然後建個庫,建個表試試。
遠程連接。從windows使用sqlcmd,用外網IP連接
使用SSMS連接,我使用是SQL 2014安裝時自帶SSMS,可能會有一些不支持問題。可以看到Agent沒啓動的,實際上是這個版本沒有Agent。
有意思的是,使用SSMS可以創建庫,卻不能創建表。從錯誤信息來看,似乎是不支持圖形界面創建表。
總結:
嚐鮮性地測試一下,有機會還會測試更多功能。目前不支持Agent,複製和大部分BI功能組件。
很多人對SQL Server On Linux是有所期待。如果它在Linux上的表現與之在以往Windows上的表現一樣優秀的話,我相信會有更多人會使用它的。
SQL Server On Linux的更多文檔內容:SQL Server on Linux Documentation
以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持。
相關文章
-
MS SQL Server Management Studio Express安裝圖文具體步驟
Microsoft sql server Management Studio Express (SSMSE) 是一種免費、易用的圖形管理工具,用於管理 SQL Server 2005 Express Edition 和具有高級服務的 SQL Server 2005 Express Edition。SSMSE 還可以管理任何版本 -
Linux Mint Cinnamon下使用vino-server配置桌面共享的方法
Linux mint是基於Debian和Ubuntu的Linux發行版,目前已經出到了Linux mint17版本。近來有網友反映在Linux Mint 17 Cinnamon上時桌面共享菜單丟失了,下面小編就給大家介紹下如何在Linux Mint 17 Cinnamon桌面上使用vino- -
託福英語寫作範文:Examinations exert a pernicious influence on educat
We might marvel at the progress made in every field of study, but the methods of testing a person’s knowledge and ability remain as primitive as ever they were. It really is extraordinary that after -
英語閱讀:African Union Leaders Talk Mali, Chinese Investmen
African leaders met in Ethiopia during the weekend to celebrate the 50th anniversary of their continental alliance and discuss issues such as Chinese investment on the continent as well as the fight a -
A Letter to the University President爲題目的作文
Direction: For this part, you are allowed thirty minutes to write a composition on the topic: A letter to the university president about the canteen service on campus, you should write at least 100 words, -
公共英語二級寫作Preserving Natural Resources
Through the changes in the ways of making a living in a family over several generations, the cartoon aims at sounding a waing against mans wasteful use of natural resources and emphasizing the urgent -
以《The Surprise on Valentines Day》爲題的英語作文
Valentines Day is coming soon, it is on February14. The day is a big day for the couple, they need to spend the special day with romance, the boys are always buying gifts to their girls, the most comm -
以Travels for the environment 爲例的教學設計
無論是身處學校還是步入社會,大家都嘗試過寫作文吧,根據寫作命題的特點,作文可以分爲命題作文和非命題作文。相信很多朋友都對寫作文感到非常苦惱吧,下面是小編整理的悔恨的作文,僅供參考,歡迎大家閱讀。悔恨的作文1在我腦 -
Unit six Opening and Closing Ceremonies口譯材料
互聯網是由一些使用公用語言互相通信的計算機連接而成的網絡,即廣域網、局域網及單機按照一定的通訊協議組成的國際計算機網絡。下面是本站小編爲大家整理的關於互聯網社會實踐報告範文,歡迎閱讀。關於互聯網社會實踐報 -
英語閱讀:Covergirl unveils empowering brand update
It may have been founded 60 years ago old, but US cosmetics giant Covergirl is proving that you're never too old to reinvent yourself.The Coty-owned makeup brand, which has been attracting attenti