CentOS 7 Install SQL Server feature components

Source: Internet
Author: User
Tags mssql

In the previous article, I gave you a detailed demonstration of the whole process of CentOS 7 from the installation of the system to the installation of SQL, where I will continue to introduce some of the functional components of SQL Server installation:

sqlcmd and bcp the SQL Server command-line tools

SQL Server Agent

SQL Server Full-text Search

We can start installing sqlcmd and bcp the SQL Server command-line tools

Download configuration file

sudo su
Curl Https://packages.microsoft.com/config/rhel/7/prod.repo >/etc/yum.repos.d/msprod.repo

650) this.width=650; "title=" clip_image001 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image001" src= "http://s3.51cto.com/wyfs02/M00/99/0A/wKioL1lDUAqwYGVKAABFDmpUPvs997.png" height= "/>"

Download the relevant installation file to start the installation

sudo yum update

650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image002" src= "http://s3.51cto.com/wyfs02/M02/99/0B/wKiom1lDUAyi9DurAAFJi8Kw2sc624.png" height= "337"/>

650) this.width=650; "title=" clip_image003 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image003" src= "Http://s3.51cto.com/wyfs02/M01/99/0B/wKiom1lDUA7w5f9qAAGFUNcSWiQ968.png" height= "341"/>

sudo yum install mssql-tools unixodbc-devel

Ok download, enter Y

650) this.width=650; "title=" clip_image004 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image004" src= "Http://s3.51cto.com/wyfs02/M00/99/0A/wKioL1lDUA-jTosKAAFDkHwL0bw228.png" height= "338"/>

Accept the license and enter Yes

650) this.width=650; "title=" clip_image005 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image005" src= "Http://s3.51cto.com/wyfs02/M01/99/0A/wKioL1lDUBDiF4nGAADhdQ1wzzQ229.png" height= "338"/>

650) this.width=650; "title=" clip_image006 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image006" src= "Http://s3.51cto.com/wyfs02/M02/99/0B/wKiom1lDUBGisueNAACms0jfIVw209.png" height= "238"/>

Add/opt/mssql-tools/bin/to the PATH environment variable in the bash shell

echo ' Export path= ' $PATH:/opt/mssql-tools/bin "' >> ~/.bash_profile

echo ' Export path= ' $PATH:/opt/mssql-tools/bin "' >> ~/.BASHRC

SOURCE ~/.BASHRC

650) this.width=650; "title=" clip_image007 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image007" src= "http://s3.51cto.com/wyfs02/M02/99/0B/wKiom1lDUBLQos3OAAA3Yh2oSBs555.png" height= "/>"

Then you can start installing SQL Agent.

sudo yum install mssql-server-agent

650) this.width=650; "title=" clip_image008 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image008" src= "Http://s3.51cto.com/wyfs02/M00/99/0A/wKioL1lDUBPCJ1DqAACkWcfhdr8908.png" height= "272"/>

Restart the SQL service after installation is complete

sudo systemctl restart Mssql-server

Next install the full-text search service

sudo yum install-y mssql-server-fts

650) this.width=650; "title=" clip_image009 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image009" src= "http://s3.51cto.com/wyfs02/M02/99/0A/wKioL1lDUBThnT3YAACevkNclBs978.png" height= "245"/>

650) this.width=650; "title=" clip_image010 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image010" src= "http://s3.51cto.com/wyfs02/M00/99/0A/wKioL1lDUBXSoATQAAB7ZfR_Q4s159.png" height= "/>"

This is where our installation is all done.

This article is from the "Zjunsen Cloud computing" blog, so be sure to keep this source http://rdsrv.blog.51cto.com/2996778/1937392

CentOS 7 Install SQL Server feature components

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.