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

[SERVER] Comment on: "manual/tutorial/install-mongodb-on-ubuntu.txt"

    XMLWordPrintableJSON

Details

    Description

      Hi!

      on the delete instructions may be you should warn the directories shown are the defaults, the user may have changed them using /etc/mongod.conf file.

      Why not to let the user check with something like this?

      grep dbPath /etc/mongod.conf # database directory
      grep path /etc/mongod.conf # log directory

      then config these lines with appropriate directories:

      sudo rm -r /var/lib/mongodb # Remove Data Directory
      sudo rm -r /var/log/mongodb # Remove MongoDB log files.

      Note these checks should be done before the apt-get remove/purge command.

      Attachments

        Activity

          People

            Unassigned Unassigned
            loksly@gmail.com Mario Loksly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              45 weeks, 5 days ago