MongoDB Installation Steps (MongoDB version: 2.4.6)

Recently I installed MongoDB on my mac OS Lion 10.7.5. Here are the steps which I followed

1) Download the latest production release of MongoDB from its site 



2) Un-package the downloaded file to your favorite place – say – /Users/mongo

3) From the Terminal goto /Users/mongo/bin

4) Create the following directory structure


5) Start the mongo server –

./mongod –dbpath data/db

Everything should start properly and the screen should show waiting for mongo shell.

Now you start another terminal & enter following command




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s