Just another site

Category Archives: MongoDB

Installing MongoDB 2.0.3 on Ubuntu 10.04

I tried following the following wiki:

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 dist 10gen

  • Add the GPG Key and Update Index

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

sudo apt-key adv –keyserver –recv 7F0CEB10

sudo gpg –export | sudo tee /etc/apt/trusted.gpg.d/ > /dev/null

sudo apt-get update

sudo apt-get upgrade

  • Install MongoDB

sudo apt-get install mongodb-10gen

Have fun!