Created
February 20, 2014 11:13
-
-
Save rajesh-gonuguntla/9111386 to your computer and use it in GitHub Desktop.
Install mongodb on ubuntu
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 7F0CEB10 | |
sudo touch -c /etc/apt/sources.list.d/mongodb.list | |
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list | |
sudo apt-get update | |
sudo apt-get install mongodb-10gen | |
sudo service mongodb start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment