Created
January 22, 2016 15:47
-
-
Save dawn360/6122990b7324de08ec38 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
Ubuntu 14.04 | |
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list | |
##Remove existing mongo | |
sudo service mongod stop | |
sudo apt-get purge mongodb-org* | |
#Reload Packages | |
sudo apt-get update | |
##install mongo | |
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