MongoDB How-to Getting-Started for Linux CentOS 7.x i686/x86_64 Step-by-Step Easy Guide

December 13th, 2014 by thelinuxevangelist

Quick-Start with MongoDB on CentOS 7 Linux



The Linux Tutorial Shows You Step-by-Step How-to Install and Quick Getting-Started on the MongoDB NoSQL Database for Linux CentOS 7 KDE/Gnome 32/64bit 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 ;)

Installing MongoDB for CentOS 7 - Featured
  1. Open a Command Line Session
    (Press “Enter” to Execute Commands)

    Fedora Linux 14-18 Kde4 Open Terminal
  2. SetUp Yum Repo for Latest MongoDB Installation:

    MongoDB Yum 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 CentOS
    yum install mongo-10gen mongo-10gen-server
  5. Starting the MongoDB Server
    service mongod start

    To Enable Start at Boot:

    chkconfig mongod on

    To Stop MongoDB Server:

    service mongod stop

    To Restart MongoDB Server:

    service mongod restart
  6. MongoDB Quick Getting-Started:

    MongoDB First Steps
Share on Tumblr

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


Comments are disabled