From fb3dd94b87793332ada3049f3675d4958540188e Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Thu, 31 May 2018 18:30:58 +0530 Subject: [PATCH] [wiki] MongoDB available on Stretch --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 8b76a6f..d384b05 100644 --- a/README.md +++ b/README.md @@ -66,22 +66,16 @@ sudo apt-get install firmware-iwlwifi ### MongoDB -MongoDB doesn't have official packages for Debian Stretch at this moment, so we'd have to install from the Jessie repository which will throw an error saying the dependency `libssl1.0.0` will not be satisfied. +~~MongoDB doesn't have official packages for Debian Stretch at this moment, so we'd have to install from the Jessie repository which will throw an error saying the dependency `libssl1.0.0` will not be satisfied.~~ -#### Installing MongoDB on Debian Stretch +MongoDB has Debian Stretch packages now! ```shell # Get signing keys sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 -# Add the Debian 8 repo -echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.6 main" | sudo tee - -# Download libssl1.0.0 deb file and install -TEMP_DEB="$(mktemp)" && -wget -O "$TEMP_DEB" 'security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb7u3_amd64.deb' && -sudo dpkg -i "$TEMP_DEB" -rm -f "$TEMP_DEB" +# Add the Debian Stretch repo +echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list # Install mongodb sudo apt-get update