Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
OSX 10.11.4
*Location*: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1280 x 800
*repo*: docs
*source*: tutorial/install-mongodb-on-os-x
OSX 10.11.4 *Location*: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 *Referrer*: https://www.google.com/ *Screen Resolution*: 1280 x 800 *repo*: docs *source*: tutorial/install-mongodb-on-os-x
Description
It's not very clear at all how to run set the PATH for mongod.
Download OS X 10.7+ 64-bit
Uncompress mongodb-osx-x86_64-3.2.5.tgz
Rename mongodb-osx-x86_64-3.2.5 to mongodb
Moved /mongodb to [Desktop/development]
Add /data/db to Desktop/development/mongodb/bin
Changed permissions to /data/db using chmod 777 /data/db
Within Desktop/development/mongod/bin typing ./mongod everything is working as expected and I can access the the mongo shell. Now I would like to just be able to type mongod upon terminal startup and run both mongo and mongod
PATH for mongod
Open bash file vi ~/.bashrc
While in insert mode: export PATH=Desktop/development/mongodb/bin:$PATH I've also tried export PATH=$Home/Desktop/development/mongodb/bin:$PATH
The instructions don't do a well enough job to help imo setting up the PATHs. I'm not even sure if what I'm doing is correct, close, or even in the ballpark. I would just like to run "mongod" upon terminal start up, that's it.