How to Install MongoDB on Xubuntu 16.04 Xenial Linux Easy Guide

May 18, 2018 | By the+gnu+linux+evangelist.

Install MongoDB Xubuntu 16.04 LTS

Hi! The Tutorial shows you Step-by-Step How to Install MongoDB NoSQL Database Community Edition Release on Xubuntu 16.04 Xenial LTS GNU+Linux Desktop/Server.

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

Moreover, the 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.

Finally, the Contents and Details of MongoDB Installation Xubuntu Linux are Expressly Essentials to Give Focus Only to the Essentials Instructions and Commands and Make the Tutorial Easier to Read and Digest ;)

How to Install MongoDB Server on Ubuntu 24.04 – Step-by-step
  1. Open a Terminal Shell emulator window
    Ctrl+Alt+t on desktop
    (Press “Enter” to Execute Commands)

    How to Install MongoDB on Xubuntu 16.04 Xenial Linux - Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. 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. SetUp Apt Repo for Latest MongoDB Installation:

    MongoDB Apt Repo Setup
  • Installing the MongoDB Database for Xubuntu

    sudo apt install -y mongodb-org

    With this you get Installed the MongoDB Community Edition Packages.

  • Starting MongoDB Server

    sudo mongod
  • MongoDB Database Quick Start Guide:

    MongoDB First, Steps

  • QuickChic Theme • Powered by WordPress