How-to Install MongoDB for Debian 8 Jessie 32-64bit Step-by-Step Easy Guide

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

Install MongoDB Debian 8 Jessie Linux

The Guide Shows You Step-by-Step How-to Install and Getting-Started on the Latest MongoDB NoSQL Database Community Edition Release for Debian Linux 8 Jessie i386/amd64 Desktop/Server.

Finally the post’s Content is Expressly Reduced to Give Focus to the Essentials Instructions and Commands.

MongoDB Quick-Start for Debian Linux - Featured
  1. Open a Terminal Window
    (Press “Enter” to Execute Commands)

    Debian Linux Install MongoDB - Open Terminal
  2. SetUp Apt Repo for Latest MongoDB Installation:

    MongoDB Apt Repo Setup
  3. 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!

  4. Installing the MongoDB Database for Debian Linux

    sudo apt-get install -y mongodb-org

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

    MongoDB Installation Troubleshootings
  5. Start MongoDB Server

    Make the Needed Data Directory:


    If Got “User is Not in Sudoers file” then Look: Solution

    mkdir -p /data/db

    Starting the MongoDB Server:

  6. MongoDB Quick Start:

    MongoDB First Steps

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