Skip to content

Instantly share code, notes, and snippets.

@geokal
Forked from brianherman/jessie-mssql.md
Created October 4, 2017 10:48
Show Gist options
  • Save geokal/b31b1bd969e59d9ce5aa6595e38b00d6 to your computer and use it in GitHub Desktop.
Save geokal/b31b1bd969e59d9ce5aa6595e38b00d6 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