Thursday, January 15, 2015

MongoDB Administration: RoboMongo on Ubuntu

Environment

  1. Ubuntu 14.04
  2. MongoDB 2.6.7
  3. RoboMongo 0.8.4


Installation and Configuration


Steps:
  1. Installation:
    1. Download the File
    2. Install the File
    3. Launch the File
  2. Configuration:
    1. Manage Connections
    2. Viewing Data


1. Downloading the File

Download the .deb file from the homepage:


I downloaded the file to my
/home/craig/Downloads
directory.

2. Installing the .deb file

Double-click the .deb file and select install:

You will be required to authenticate as root to install the package. The installation time will vary based on the speed of network connection.

A successful installation will look like this:


3. Running RoboMongo

Use the search application in Ubuntu to find "RoboMongo":

Congratulations!  You have successfully installed RoboMongo.

4. Creating a Connection

When RoboMongo is launched for the first time, you will need to create a connection to your database.

Click the "create" link on the dialog box as shown below:

Enter a name for the connection (any name is fine):

and then select the "Advanced" tab and enter a name for your database:

You can click "Save" once complete.

You can now connect to your database:


5. Viewing Data


Prior to loading any data into MongoDB, the default view looks like this:

Once I load data in, using this script, the default view looks like this:


Note that several different views of the data are possible.

I can view the data in table mode:

You can likewise view the data as formatted JSON text:

5 comments: