Installing MS SQL Server 2019 on Devuan Beowulf (~Debian 10)

By dose | December 22, 2020
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- https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
wget -qO- https://packages.microsoft.com/config/ubuntu/18.04/mssql-server-2019.list | tee /etc/apt/sources.list.d/mssql-server.list
wget -qO- https://packages.microsoft.com/config/debian/10/prod.list | tee /etc/apt/sources.list.d/mssql-client.list
apt-get update
apt-get install mssql-server
/opt/mssql/bin/mssql-conf setup
# Ignore error about failed systemctl start after setup
vi /etc/init.d/mssql-server

# Insert script from http://hardwarefetish.com/781-ms-sql-server-2017-upstart-script

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

Pretty straightforward. No more messing around with openssl lib like on Jessie.

Leave a Comment

Name:

E-Mail :

Subscribe :
Website :

Comments :