1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-02-01 21:31:52 +00:00

Update sqlserver2022-install.sh

This commit is contained in:
CanbiZ 2025-01-22 10:43:34 +01:00 committed by GitHub
parent 81c5f51a96
commit c8fe3c363b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,11 +35,12 @@ msg_info "Installing SQL Server Tools"
curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc
curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list | tee /etc/apt/sources.list.d/mssql-release.list curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list | tee /etc/apt/sources.list.d/mssql-release.list
$STD apt-get update $STD apt-get update
echo "mssql-tools18 mssql-tools18/license_terms select yes" | sudo debconf-set-selections
$STD apt-get install -y \ $STD apt-get install -y \
mssql-tools18 \ mssql-tools18 \
unixodbc-dev unixodbc-dev
echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bashrc echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bash_profile
source ~/.bashrc source ~/.bash_profile
msg_ok "Installed SQL Server Tools" msg_ok "Installed SQL Server Tools"
read -r -p "Do you want to run the SQL server setup now? (Later is also possible) <y/N>" prompt read -r -p "Do you want to run the SQL server setup now? (Later is also possible) <y/N>" prompt