Created
December 22, 2011 00:12
-
-
Save 40/1508317 to your computer and use it in GitHub Desktop.
Install mongoDB on Ubuntu Linux Distribution
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
#add line to sources.list inside /etc/apt/sources.list | |
sudo vim /etc/apt/sources.list | |
i | |
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen | |
ESC | |
:wq | |
# update "/etc/apt/sources.list" | |
sudo apt-get update | |
# import gpg key | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB1 | |
# install mongodb package | |
sudo apt-get install mongodb-10gen | |
# test install | |
mongo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment