How to Install MongoDB for Debian Buster 10 Easy Guide

December 13, 2017 | By thelinuxevangelist | Filed in: Tutorial.

MongoDB Debian Buster - Installing

  1. 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!

  2. Installing the MongoDB Database for Debian Linux

    sudo apt install -y mongodb-org

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

    MongoDB Installation Troubleshootings

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