This chapter describes how to install MongoDB on a Mac OS X. MongoDB support OS X versions 10.6 (Snow Leopard) on Intel x86-64 and later.
Download the latest version of MongoDB from the MongoDB Downloads Page.
Open a terminal window and go to the directory where you downloaded the archive. Extract the contects of the archive using
tar xvf mongodb-osx-x86_64-2.6.0.tgz
The contents are extracted to a newly created directory, in the above example it will be mongodb-osx-x86_64-2.6.0
Create directory /data/db which will hold all the data and set the permissions.
mkdir -p /data/db chmod 777 /data/db
Change directory to location where you extracted the MongoDB files. Change to bin directory and run
This will start up MongoDB and it will be listening to client connections on port 27017 by default.
Nothing yet..be the first to share wisdom.