How to Install MongoDB on Fedora 28 Gnu/Linux Easy Guide

May 18, 2018 | By the+gnu+linux+evangelist.

Installation

  1. 2. Installing

    Then to Install MongoDB Database for Fedora
    Simply Run:

    sudo dnf install mongodb mongodb-server
  2. 3. Making Directory

    Then to Make Needed Directory
    Run:

    sudo mkdir -p /data/db

    If Got “User is Not in Sudoers file” then see: How to Enable sudo
    Then Set the Right Permissions:

    sudo chmod g+w /data/db

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

Contents


QuickChic Theme • Powered by WordPress