Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7671

Comment on: "manual/tutorial/install-mongodb-on-os-x.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago