Skip to content

Instantly share code, notes, and snippets.

@aaronmoodie
Created October 5, 2011 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronmoodie/1263455 to your computer and use it in GitHub Desktop.
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.
# 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