Created
January 22, 2014 06:51
-
-
Save niksmac/8554457 to your computer and use it in GitHub Desktop.
Install Latest version of MongoDB in ubuntu.
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
# Copy the following into a new file named `mongo_install.bash` in your home directory: | |
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | tee -a /etc/apt/sources.list.d/10gen.list | |
apt-get -y update | |
apt-get -y install mongodb-10gen | |
# Execute the following from your home directory: | |
$ sudo bash ./mongo_install.bash | |
# If everything is successful, you should see the output contain a PID of the newly started MongoDB process: | |
mongodb start/running, process 2368 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment