作家
登录

Ubuntu下部署SQL Server 2017

作者: 来源: 2017-10-17 12:42:48 阅读 我要评论

  • number of licenses in place to install and run this software. 
  •  
  • Enter your edition(1-8): 1 
  • The license terms for this product can be found in 
  • /usr/share/doc/mssql-server or downloaded from
  • https://go.microsoft.com/fwlink/?LinkId=855864&clcid=0x409 
  •  
  • The privacy statement can be viewed at
  • https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409 
  •  
  • Do you accept the license terms? [Yes/No]:yes 
  •  
  • Enter the SQL Server system administrator password
  • Confirm the SQL Server system administrator password
  • Configuring SQL Server... 
  •  
  • The licensing PID was successfully processed. The new edition is [Enterprise Evaluation Edition]. 
  • Created symlink from /etc/systemd/system/multi-user.target.wants/mssql-server.service to /lib/systemd/system/mssql-server.service. 
  • Setup has completed successfully. SQL Server is now starting.  
  • 一共供给了 8 个版本供选择,个中自由授予许可版本有:评估、开辟人员和快速。

    SA 帐户必须为强暗码(起码 8 个字符,包含大年夜写和小写字母、十进制数字和/或非字母数字符号)。

    • 验证办事是否正在运行
    1. $ systemctl status mssql-server 
    2.  
    3. ● mssql-server.service - Microsoft SQL Server Database Engine 
    4. Loaded: loaded (/lib/systemd/system/mssql-server.service; enabled; vendor preset: enabled) 
    5. Active: active (running) since Thu 2017-10-12 11:50:29 CST; 1min 22s ago 
    6. Docs: https://docs.microsoft.com/en-us/sql/linux 
    7. Main PID: 20776 (sqlservr) 
    8. CGroup: /system.slice/mssql-server.service 
    9. ├─20776 /opt/mssql/bin/sqlservr 
    10. └─20796 /opt/mssql/bin/sqlservr  

    安装 SQL Server 2017 敕令行对象

    如不雅要创建数据库,须要应用客户端对象 sqlcmd 和 bcp。

    • 导入公共存储库 GPG 密钥
    1. $ curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - 
    • 增长 Microsoft Ubuntu 仓库
    1. add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list)" 
    • 安装 SQL Server 敕令行对象 和 unixODBC 开辟人员对象包
    1. $ apt-get update 
    2. $ apt-get install -y mssql-tools unixodbc-dev 

        推荐阅读

        迅雷无法下载怎办?老司机教你轻松解决

      沙龙晃荡 | 去哪儿、陌陌、ThoughtWorks在主动化运维中的实践!10.28不见不散! 近日,小编习惯性的打开迅雷进行下载义务,可是迅雷极速版却给了小编一个大年夜大年夜的“惊喜”>>>详细阅读


      本文标题:Ubuntu下部署SQL Server 2017

      地址:http://www.17bianji.com/lsqh/37996.html

    关键词: 探索发现

    乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

    网友点评
    自媒体专栏

    评论

    热度

    精彩导读
    栏目ID=71的表不存在(操作类型=0)