Browse Source

[wiki] MongoDB available on Stretch

pull/1/head
Muthu Kumar 6 years ago
committed by GitHub
parent
commit
fb3dd94b87
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      README.md

14
README.md

@ -66,22 +66,16 @@ sudo apt-get install firmware-iwlwifi
### MongoDB ### 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 ```shell
# Get signing keys # Get signing keys
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
# Add the Debian 8 repo # Add the Debian Stretch repo
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.6 main" | sudo tee 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
# 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"
# Install mongodb # Install mongodb
sudo apt-get update sudo apt-get update

Loading…
Cancel
Save