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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      I've installed mongodb for linux from Tarbal and truing to configure it.
      I try to configure the db path/ when i start mongod with mongod --dbpath /my/path/to/directory , everithing starts well but how to configure it once so that I do not need to write flag everytime I start mongod.

      I created file mongobd.conf (it contains this line dbpath=/home/st.cremer/Сайты/Aquariver_node/DBs_mongo/db ) in /etc/ and then copied it to folder were mongo is installed and to bin folder. dbpath is still standard dbpath=/data/db.

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            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, 43 weeks, 2 days ago