install mongo db osx code example
Example 1: start mongodb server mac
mongod --config /usr/local/etc/mongod.conf --fork
Example 2: install mongodb on mac
//be sure you have GNU's GCC:
brew install gcc
mongod --config /usr/local/etc/mongod.conf --fork
//be sure you have GNU's GCC:
brew install gcc