MongoDB installation packages are available for both 32 bit and 64 bit Linux. You can download it, and install.
Here is the link to download the installation packages of MongoDB : http://www.mongodb.org/downloads
After downloading the zip file, unzip it to the folder where you want to install.
MongoDB stores data in db folder within data folder. But, since this data folder is not created automatically, you have to create it manually. Remember that data directory should be created in the root (/).
To run MongoDB server from command prompt, you have to execute mongod.exe file from bin folder of mongodb folder.
db command will show you the list of documents(databases).
We will insert a simple record and retrieve the data now.
The first command inserts 8 to the z field, to the w3r collection(table).
At a port number 1000 more than the port on which the MongoDB server is running, you can access a web interface of MongoDB.
If MongoDB is running at the default port 27017, the you can access the web interface at 28017.