Install Robo 3T (MongoDB GUI) on CentOS / RHEL 8 - CentLinux

Latest

Sunday, 6 September 2020

Install Robo 3T (MongoDB GUI) on CentOS / RHEL 8

Install Robo 3T (MongoDB GUI) on CentOS 8

Robo 3T (formerly RoboMongo) is a GUI tool for easy administration of MongoDB database servers. In this article, you will learn how to install Robo 3T on CentOS 8.

 

Table of Contents:

 

What is Robo 3T? :

Robo 3T (formerly RoboMongo) is a simple, lightweight, free and open-source GUI software for administration of MongoDB database servers. Robo 3T embeds the same engine and environment, that is part of mongo shell. Currently, it embeds the latest MongoDB 3.2 shell.

Robo 3T not only analyzes the semantic of the code, but also executes it in an internal JavaScript VM, allowing it to give users a runtime auto-completion that is impossible to obtain statically.

 

Environment Specification:

We are using a minimal CentOS 8 virtual machine with following specifications.

  • CPU - 3.4 Ghz (2 cores)
  • Memory - 2 GB
  • Storage - 20 GB
  • Operating System - CentOS 8.2
  • Hostname – robomongo-01.centlinux.com
  • IP Address - 192.168.116.229 /24

 

Updating Linux Software Packages:

Connect with robomongo-01.centlinux.com as root user by using a ssh client.

Update already installed software packages in your Linux operating system.

# dnf update -y

Yur Linux operating system is now up-to-date.

 

Installing Robo 3T on CentOS / RHEL 8:

You can download Robo 3T from their official website. Since, we are working from command-line, therefore, we are downloading the latest version of Robo 3T by using wget command. However, you can also use a web browser such as Google Chrome to download the same.

# cd /tmp
# wget https://download.studio3t.com/robomongo/linux/robo3t-1.4.0-linux-x86_64-12e54cc.tar.gz
...
HTTP request sent, awaiting response... 200 OK
Length: 41651709 (40M) [application/x-gzip]
Saving to: ârobo3t-1.4.0-linux-x86_64-12e54cc.tar.gzâ

robo3t-1.4.0-linux- 100%[===================>]  39.72M  1.14MB/s    in 35s

2020-09-05 20:02:43 (1.14 MB/s) - ârobo3t-1.4.0-linux-x86_64-12e54cc.tar.gzâ saved [41651709/41651709]

Create a directory for Robo 3T software.

# mkdir /opt/robo3t

Extract Robo 3T tarball in the /opt/robo3t directory by using tar command.

# tar xf robo3t-1.4.0-linux-x86_64-12e54cc.tar.gz -C /opt/robo3t --strip-component=1

Create symbolic links for robo3t executable, so it can be run from anywhere.

# ln -s /opt/robo3t/bin/robo3t /usr/local/bin/robo3t

 

Running Robo 3T for the First Time:

Execute the robo3t command to start Robo 3T application. If you are running Robo 3T on a headless server then you have to configure x11 forwarding with PuTTY and XMing to get the GUI output on your client machine.

# robo3t

01-install-robo3t-mongodb-gui-centos-8-license

Since, you are running Robo 3T for the first time, therefore it will show the license agreement. Select 'I agree' and then click on Next.

02-install-robo3t-mongodb-gui-centos-8-user-info

Provide your contact information on this screen. Click on Finish.

03-install-robo3t-mongodb-gui-centos-8-connections

You are now reached at the MongoDB connections screen. It is empty because there isn't any connection added yet.

Click on Create to add a MongoDB connection.

04-install-robo3t-mongodb-gui-centos-8-create-connection

Provide a MongoDB server address and port. If you do not have a MongoDB server than you can follow our previous post to install MongoDB on CentOS 8 server.

Click on Authentication tab.

05-install-robo3t-mongodb-gui-centos-8-authentication

If you have enabled Access Control on your MongoDB server than you have to configure settings here.

We have enabled the Access Control on our MongoDB server, therefore, we are setting the parameters on this screen accordingly.

Click on Test to check connectivity and authentication of the MongoDB connection.

06-install-robo3t-mongodb-gui-centos-8-test

It shows that your MongoDB connection is successful.

Click on Close.

07-install-robo3t-mongodb-gui-centos-8-connections

You are again at the MongoDB connections screen. But this time, there is a new MongoDB connection, that you have created above.

Select the connection and click on Connect.

08-install-robo3t-mongodb-gui-centos-8-main-screen

The Robo 3T is now connected to your MongoDB database and fetched the meta data.

 

Conclusion:

We have successfully installed Robo 3T (MongoDB GUI) on CentOS / RHEL 8. MongoDB: The Definitive Guide: Powerful and Scalable Data Storage by O'Reilly Media is a very good book on the MongoDB administration and we highly recommend this for the NoSQL database administrators.

No comments:

Post a Comment