MongoDB Installation in Linux Mint 20 – Step-by-step

August 23, 2020 | By the+gnu+linux+evangelist.

Installing

  1. 2. Setting Up MongoDB Repo

    SetUp Apt Repo for Latest MongoDB Installation

    MongoDB Apt Repo Setup
  2. 3. Making Directories

    First, Making Needed /data/db Directory.

    sudo mkdir -p /data/db
    sudo chmod g+w /data/db

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

  3. 4. Installing MongoDB

    Then to Install MongoDB Database for Linux Mint
    Simply play:

    sudo apt install mongodb-org

Contents


QuickChic Theme • Powered by WordPress