searchforsolutions

Just another WordPress.com site

Category Archives: MongoDB

Installing MongoDB 2.0.3 on Ubuntu 10.04


I tried following the following wiki:http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages

Didn’t workout so i decided to have my own triage 🙂 . I’m going to assume user is comfortable with Ubuntu.This should work with Ubuntu 11.x too.

  • Create Apt source

Create /etc/apt/sources.list.d/mongodb.list
Add the following line to the above created file : deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen

  • Add the GPG Key and Update Index

sudo mkdir /etc/apt/trusted.gpg.d/

sudo apt-key adv –keyserver keys.gnupg.net –recv 7F0CEB10

sudo gpg –export richard@10gen.com | sudo tee /etc/apt/trusted.gpg.d/mongodb.org-keyring.gpg > /dev/null

sudo apt-get update

sudo apt-get upgrade

  • Install MongoDB

sudo apt-get install mongodb-10gen

Have fun!

Advertisements