A guide to show you how to install MongoDB on Mac OS X.
- MongoDB 2.2.3
- Mac OS X 10.8.2
CURL is your answer. Here are the steps you need to install MongoDB on a Mac via Terminal. 1.Download the binary files for the desired release of MongoDB. Free download MongoDB MongoDB for Mac OS X. MongoDB is an open-source document database, and the leading NoSQL database.
1. Download MongoDB
Get MongoDB from official website, extracts it :
2. MongoDB Data
By default, MongoDB write/store data into the
/data/db
folder, you need to create this folder manually and assign proper permission.Note
Permissin is required to avoid following locking error :
Permissin is required to avoid following locking error :
Mongodb Compass Download Mac
3. Add mongodb/bin to $PATH
Katie gillies pa-c dmg urology. Create a
~/.bash_profile
file and assign /usr/local/mongodb/bin
to $PATH environment variable, so that you can access Mongo’s commands easily.4. Start MongoDB
Start MongoDB with
mongod
and make a simple mongo connection with mongo
.Mongodb Client Mac Download
Terminal 2
Note
If you don’t like the default
If you don’t like the default
/data/db
folder, just specify an alternate path with --dbpath
5. Auto Start MongoDB
To auto start mongoDB, create a launchd job on Mac.
Puts following content :
Load above job.
Try restart your Mac, MongoDB will be started automatically. Microsoft office 2011 mac dmg download torrent.