1. Study From
https://docs.microsoft.com/zh-cn/sql/linux/sql-server-linux-setup-tools?view=sql-server-2017
2. 安装命令:
curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/msprod.repo yum install mssql-tools unixODBC-devel vim /etc/profile.d/mssqltools.sh 输入内容: export PATH=$PATH:/opt/mssql-tools/bin/ 然后 source一下 source /etc/profile.d/mssqltools.sh
3. 尝试使用