Two years ago the use of MongoDB, has not had the opportunity to use again, the most recent company made a cloud print small ticket service platform, data storage and is stored through MongoDB, through this opportunity to record their own re-learning process and simple installation; currently in the production environment The version of 3.0 is used on Liunx.
This record under the installation of your own Mac under MongoDB
Step1. Download the unpacking package via MongoDB's website and download it from the command line, but the individual prefers a more conventional approach.
https://www.mongodb.org/downloads?_ga=1.207388625.331138433.1436002259
Step2. Unzip the downloaded compression table can be installed to complete, start
Go to the Bin directory and execute:./mongod
Execution can see the following error, need to create a data storage directory for MongoDB
Create a data/db directory at the root/under which to place the MongoDB data and set permissions for the directory sudo mkdir-p/data/db sudo chown-r lishijia/data created again The./mongod is started successfully; In addition, a client link tool is provided: Robomongo
Mongodb for MAC Installation