How to Install MongoDB on Linux Mint 19.1 Tessa LTS Easy Guide

December 5, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Installing

  1. 3. Making Directory

    Then to Make Needed Directory
    Run:

    sudo mkdir -p /data/db

    If Got “User is Not in Sudoers file” then Look: Solution
    Then Set the Right Permissions:

    sudo chmod g+w /data/db

    The User Running the MongoDB Server need Write Permission on /data/db!

  2. 4. Installing

    Installing the MongoDB Database for Mint Linux

    sudo apt install mongodb-org

    If During Installation Got “unknown initscript, /etc/init.d/mongodb not found” Look

    MongoDB Installation Troubleshootings

Tags: , , , , , , , , , , , , , , , , , , , , , , , , ,