How-to Install MongoDB for Linux Kali GNU/Linux Easy Guide

February 14th, 2017 by thelinuxevangelist

MongoDB QuickStart for Kali Linux




Hello Kali User! This Guide Shows You Step-by-Step How-to Install and Getting-Started on the Latest MongoDB NoSQL Database Release for Kali Linux i386/amd64 Desktop.

MongoDB (from “humongous”) is an Open-Source Document Database written in C++, and the leading NoSQL database.

MongoDB Database Features:

  • Document-Oriented Storage >> JSON-style documents with dynamic schemas offer simplicity and power.
  • Full Index Support >> Index on any attribute, just like you’re used to.
  • Replication & High Availability >> Mirror across LANs and WANs for scale and peace of mind.
  • Auto-Sharding >> Scale horizontally without compromising functionality.
  • Querying >> Rich, document-based queries.
  • Fast In-Place Updates >> Atomic modifiers for contention-free performance.
  • Map/Reduce >> Flexible aggregation and data processing.
  • GridFS >> Store files of any size without complicating your stack.
  • Professional Support by MongoDB >> Enterprise class support, training, and consulting available.
MongoDB Quick-Start for Kali Linux - Featured
  1. Open a Terminal Shell emulator window
    (Press “Enter” to Execute Commands)

    Kali Linux Install MongoDB - Kali 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 Kali 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
(Visited 295 times, 6 visits today)
Share on Tumblr

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


Comments are disabled