soporte semana 8

 Guía de instalación SQL Server

Preparar el entorno e importar la llave GPG 

apt update && apt install -y gnupg2 curl ca-certificates lsb-release 



 curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor >  /usr/share/keyrings/microsoft-archive-keyring.gpg

Registrar el repositorio de SQL Server 2022 

echo "deb [arch=amd64,arm64,armhf signed by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/debian/12/prod bookworm main" > /etc/apt/sources.list.d/mssql-server.list



echo "deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/debian/12/prod bookworm main" >/etc/apt/sources.list.d/mssql-server.list 

. Instalar SQL Server
apt update 
 apt install -y mssql-server 

apt install -y mssql-server 
apt upgrade 

wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb11u5_amd64.deb

dpkg -i libssl1.1_1.1.1n-0+deb11u5_amd64.deb



apt install -y mssql-server





Configuración del sistema

/opt/mssql/bin/mssql-conf setup 

opcion 2

Contraseña in6ge2003*
Contraseña in6ge2003*




apt update

apt update

apt install -y wget libldap-common libsasl2-2

 

cd /tmp

wget http://deb.debian.org/debian/pool/main/o/openldap/libldap-2.5-0_2.5.13+dfsg-5_amd64.deb

apt install -y ./libldap-2.5-0_2.5.13+dfsg-5_amd64.deb

 



systemctl daemon-reload

systemctl restart mssql-server

systemctl status mssql-server --no-pager