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. #centlinux #linux #nosql
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.
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
Update 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
Your Linux operating system is now up-to-date.
Install Robo 3T on CentOS 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
Run 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.
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.
Provide your contact information on this screen. Click on Finish.
You are now reached at the MongoDB setup connections. It is empty because there isn’t any connection added yet.
Click on Create to add a MongoDB 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.
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.
It shows that your MongoDB connection is successful.
Click on Close.
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.
The Robo 3T is now connected to your MongoDB database and fetched the meta data.
In this guide, you have learned how to install Robo 3T on CentOS 8. MongoDB: The Definitive Guide: Powerful and Scalable Data Storage (PAID LINK) by O’Reilly Media is a very good book on the MongoDB administration and we highly recommend this for the NoSQL database administrators.