Just another site

Monthly Archives: March 2012

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!

Java and WMI

Linux internals

Ubuntu – My tryst

Some tips & tricks while working behind corporate firewall/proxy on Ubuntu(11)

1. Setting up proxy server on Ubuntu

export http_proxy=’http://{DOMAIN}\{USERNAME}:{PASSWORD}@{PROXY HOST NAME}:{PORT}/’

2. Setting up proxy for apt-get

Acquire::http::Proxy ‘http://{DOMAIN}\{USERNAME}:{PASSWORD}@{PROXY HOST NAME}:{PORT}/’;

Acquire::https::Proxy ‘https://{DOMAIN}\{USERNAME}:{PASSWORD}@{PROXY HOST NAME}:{PORT}/’;

if you have “@” symbol in your password use %40

3. Turn off firewall

ufw disable

4. Install Vmware tools

mount /dev/cdrom /media/cdrom

cp /media/cdrom/VMwareTools-8.3.7-341836.tar.gz /tmp

tar zxvf /tmp/VMwareTools-8.3.7-341836.tar.gz

cd /tmp/vmware-tools-distrib


5. Install git

apt-get git-core gitosis

6. Howto configure network

7. If you are looking for one stop shop for Ubuntu release apart from the LTS version here is the link