Skip to content

Instantly share code, notes, and snippets.

@brianherman
Last active June 15, 2018 19:00
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save brianherman/99c363de4fd64a31f047da0f281879d6 to your computer and use it in GitHub Desktop.
Save brianherman/99c363de4fd64a31f047da0f281879d6 to your computer and use it in GitHub Desktop.
Debian Jessie and mssql-server

Download mssql from the microsoft website.

wget https://packages.microsoft.com/ubuntu/16.04/mssql-server/pool/main/m/mssql-server/mssql-server_14.0.1.246-6_amd64.deb

dpkg -i mssql-server_14.0.1.246-6_amd64.deb 

The next command will install dependancies.

sudo apt-get -f install 

You will find that you need to upgrade openssl to a version that is not in jessie.

Use jessie backports to upgrade openssl.

nano /etc/apt/sources.list
deb http://debian.uchicago.edu/debian/ jessie-backports main contrib non-free
deb-src http://debian.uchicago.edu/debian/ jessie-backports main contrib non-free

Replace debian.uchicago.edu with your nearest debian repository.

sudo apt-get -t jessie-backports upgrade openssl
sudo apt-get -f install

Then

sudo /opt/mssql/bin/sqlservr-setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment