Añadir repositorios de Microsoft
sudo curl https://packages.microsoft.com/config... -o /etc/yum.repos.d/mssql-server-2019.repo
sudo curl https://packages.microsoft.com/config... -o /etc/yum.repos.d/msprod.repo
Instalar SQL SERVER
sudo dnf -y install mssql-server
Instalar herramientas de SQL SERVER
sudo yum -y install mssql-tools unixODBC-devel
Configurar SQL SERVER
sudo /opt/mssql/bin/mssql-conf setup
Comprobando servicio de SQL SERVER en ejecución
systemctl status mssql-server.service
Añadiendo path para utililzar SQL COMMAND
echo 'export PATH=$PATH:/opt/mssql/bin:/opt/mssql-tools/bin' | sudo tee /etc/profile.d/mssql.sh
source /etc/profile.d/mssql.sh
Conectandose a través de SQL COMMAND con el usuario sa
sqlcmd -S localhost -U sa
Abriendo puerto remoto 1433 en el firewall para acceder mediante SQL Server Managment Studio
sudo firewall-cmd --permanent --zone=public --add-port=1433/tcp
sudo firewall-cmd --reload
Si quieres apoyarme y darme para un chocolate puedes hacerlo por aquí: https://paypal.me/RodolfoBorjaLopez
---------------------------------------------------------------------------------------------------------
Sígueme en twitter ⇒ / rborjanet
Mi sitio web ⇒ https://rborja.net
#sqlserver #centos #linux
Watch video Cómo instalar SQL SERVER en Centos 8 online without registration, duration hours minute second in high quality. This video was added by user Rodolfo Borja 30 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,76 once and liked it 2 people.