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

December 13th, 2014 by thelinuxevangelist

MongoDB Quick-Start for Debian 8 Jessie Linux



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

The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make the Tutorial Easier to Read and Digest ;)

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 mongodb-10gen

    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:

    su 

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

    mkdir -p /data/db

    Starting the MongoDB Server:

    mongod
  6. MongoDB Quick Getting-Started:

    MongoDB First Steps
Share on Tumblr

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


Comments are disabled