Installing MongoDB on Ubuntu Jaunty 9.04
Oct 30
I have a Ubuntu Jaunty VM on Slicehost where I wanted to install MongoDB. Unfortunately Jaunty reached EOL on October, 2010. Since I didn’t want to upgrade my Jaunty installation I found a way to install Mongo DB from source as described in this article:
http://www.mongodb.org/display/DOCS/Building+for+Linux#BuildingforLinux-Ubuntu9.04and9.10
To make this work you need to install several dependencies as described in the article above. You need to update your /etc/apt/source.list from:
deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted universe
deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted universe
to:
deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted universe
deb http://old-releases.ubuntu.com/ubuntu/ jaunty-updates main restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu/ jaunty-updates main restricted universe
deb http://old-releases.ubuntu.com/ubuntu jaunty-security main restricted universe
deb-src http://old-releases.ubuntu.com/ubuntu jaunty-security main restricted universe
Note the old-releases which tells Ubuntu to pull packages from the old repos. After making this update you need to run:
sudo apt-get update
and then you should be able to follow the MongoDB installation process above.
Read More
