Installing packages

The installation of Mongo DB is pretty straight forward. You can install a metapackage which will automatically install all necessary packages.

Configure YUM repository

The YUM repository for the MongoDB which I have used is the following:

Installation

The installation of the metapackage is done as follows:

In order to start the Mongo DB, you have to issue the following command:

Startup

Connect

You can connect to mongo DB using the following command:

Where the configuration file is:

You can also query all tables/collections within one database as follows: