Last active
January 22, 2018 13:21
-
-
Save ovntatar/dd2953e25bf6a1f1a086c3950bf2d1d2 to your computer and use it in GitHub Desktop.
install mongo 3.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "precedence ::ffff:0:0/96 100" >> /etc/gai.conf | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 | |
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list | |
apt-get update -y | |
sudo apt-get install -y mongodb-org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment