Installing MS SQL Server 2019 on Devuan Daedalus (~Debian 12/bookworm)

By dose | September 4, 2023
Under: Uncategorized

As this systemd plague has also caught Debian, I’m mostly using Devuan for new servers now to have the normal SYSV-Init system I’m used to.
I already wrote an article on how to install MS SQL Server 2017 on Debian Jessie. Now here is a little Tutorial on how to install it on lates Devuan Beowulf:

I assume you are root and fixed the annoying Debian 10 su bug with:

echo "ALWAYS_SET_PATH yes" >/etc/default/su
apt-get install gnupg
wget -qO- | apt-key add -
dpkg -i packages-microsoft-prod.deb
wget -qO- | tee /etc/apt/sources.list.d/mssql-server.list
wget -qO- | tee /etc/apt/sources.list.d/mssql-client.list
apt update
dpkg -i libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb
dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb
apt-get install mssql-server
# Ignore error about failed systemctl start after setup
ln -s /usr/lib/x86_64-linux-gnu/ /opt/mssql/lib/
vi /etc/init.d/mssql-server

# Insert script from

chmod +x /etc/init.d/mssql-server
update-rc.d mssql-server defaults
/opt/mssql/bin/mssql-conf  setup
/etc/init.d/mssql-server start
apt-get install mssql-tools unixodbc

As can be seen, older libldap and libssl-versions are needed so that it runs.

One comment | Add One

Leave a Comment


E-Mail :

Subscribe :
Website :

Comments :