Created
October 5, 2011 02:10
-
-
Save aaronmoodie/1263455 to your computer and use it in GitHub Desktop.
This is a step by stem walk through for updating to the latest MongoDB distro. It was posted on a site no loger active, so have placed it here for reference.
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
# 1. Add GPG Key | |
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
# 2. Open source.list | |
# Add 10gen as source to end of file: deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen | |
# update Aptitude sources | |
$ vim /etc/apt/source.list | |
$ sudo apt-get update | |
# 3. Install Mongodb | |
$ sudo apt-get install mongodb-10gen | |
# 4. Test MongoDB version | |
$ mongo --version | |
MongoDB shell version: 2.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment