[DOCS-7671] Comment on: "manual/tutorial/install-mongodb-on-os-x.txt" Created: 17/Apr/16  Updated: 03/Nov/17  Resolved: 27/Jul/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Participants:
Days since reply: 7 years, 29 weeks ago

 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.



 Comments   
Comment by Kay Kim (Inactive) [ 27/Jul/16 ]

JIRA Housekeeping (believe exisiting JIRA install tickets cover these or these have been resolved through other tickets). If you require additional support, please open a new ticket for prioritization.

Regards,
Kay Kim

Generated at Thu Feb 08 07:54:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.