Published on January 6, 2018 by ProgrammingKnowledge

Find all command in detail here – www.codebind.com/mongodb/install-mongodb-mac-os-x/
In this video we will see How to install MongoDB on Mac OS X. MongoDB is one of the most used, open-source document database, and NoSQL database. MongoDB is developed by 10gen.

$ cd ~/Download
$ tar xzf mongodb-osx-x86_64-2.2.3.tgz
$ sudo mv mongodb-osx-x86_64-2.2.3 /usr/local/mongodb

create MongoDB Data directory
$ sudo mkdir -p /data/db
$ whoami
codebind
$ sudo chown codebind /data/db

Set mongodb/bin to $PATH
$ cd
$ pwd
/Users/codebind
$ touch .bash_profile
$ open .bash_profile

export MONGO_PATH=/usr/local/mongodb
export PATH=$PATH:$MONGO_PATH/bin

————————-Follow——————-
My Website – www.codebind.com
My Blog – goo.gl/Nd2pFn
My Facebook Page – goo.gl/eLp2cQ
Google+ – goo.gl/lvC5FX
Twitter – twitter.com/ProgrammingKnow
Pinterest – goo.gl/kCInUp
Text Case Converter – goo.gl/pVpcwL
Epoch Timestamp Converter – goo.gl/Zedjo5
Decimal – Binary – Hexadecimal Converter – goo.gl/rkX3JE
8-bit Checksum Calculator – goo.gl/inxvIT
————————-Stuff I use to make videos ——————-
Stuff I use to make videos
Windows notebook – amzn.to/2zcXPyF
Apple MacBook Pro – amzn.to/2BTJBZ7
Desktop – amzn.to/2zct252
Microphone – amzn.to/2zcYbW1
notebook mouse – amzn.to/2BVs4Q3

Leave a Reply

4 Comments on "How to install MongoDB on Mac OS X"

Notify of
avatar

Lucky Nkolonzi
Guest
Lucky Nkolonzi
10 days 13 hours ago

Thank you good sir..

Tanushi
Guest
Tanushi
13 days 12 minutes ago

Hey pls hlp in how to select item in jcombobox from one form and print it in another form in text area in swing java

Piyush Ghildiyal
Guest
Piyush Ghildiyal
13 days 23 hours ago

Programmingknowledge Plz make some thing productive like Projects (Android or core Java or advance Java or etc ).Nobody gets knowledge from theory videos.Practical projects are also important 🙏🙏🙏🙏🙏🙏

ProgrammingKnowledge
Guest
ProgrammingKnowledge
14 days 4 hours ago

Find all command in detail here – www.codebind.com/mongodb/install-mongodb-mac-os-x/

wpDiscuz