If you need a database management system with native multi-model and capabilities that makes building Realtime apps easy, you may want to look at RethinkDB. RethinkDB uses JSON to query documents using Python, Ruby, Node.js, and many other languages right out of the box. Building your apps using the database system should make your job using its intuitive web UI. This brief tutorial shows students and new users how to install RethinkDB on Ubuntu 16.04 | 18.04 LTS servers. For more about RethinkDB, please visit its homepage. If you want to test it in your lab environment before going out and using it in production, the steps below should be a great place to start. Follow the steps below to get RethinkDB installed on Ubuntu

Install Required Packages

To get the latest version of RethinkDB, you can either use it.DEB file from its website or add its official repository to Ubuntu. However, some required packages may be needed for the installation to work. First, run the commands below to install apt-transport-https. After installing the package above, continue below to install RethinkDB.

Install RethinkDB

Now that some required packages are installed, follow the steps below to get RethinkDB installed and configured. If you don’t want to manually install the RethinkDB from its.DEB file, then add RethinkDB’s official package repository to make installing and updating it easier. To add the RethinkDB repository and key, run the commands below. The first line imports the repository’s GPG key. the second adds the RethinkDB repository into a new file called rethinkdb. list. After the steps above, run the commands below to install them. After installing the commands below can be used to stop, start and enable the RethinkDB service. To verify that RethinkDB is installed and running, run the commands below check its status. You should see similar lines as shown below: That should do it!

Install RethinkDB from Source

If RethinkDB’s repository doesn’t have packages for your system just yet, you may want to manually install it from the source. At this time of this writing, Ubuntu 18.04 wasn’t supported. So, to install RethinkDB from the source, run the commands below to install the required packages for building the app. Next, run the commands below to download its archived that includes version 2.3.6. After extracting the downloaded archive, change it into the directory and install it. That should install RethinkDB on your system. After installing, run the commands below to quickly configure it. Then enable the default HTTP port number when the file opens, Save the file and exit. After that, use the commands below to start, stop and restart.

Access RethinkDB Web Interface

RethinkDB also comes with a web interface for easy management in your web browser. To log in, go to the server’s IP address followed by port # 8080 Enjoy! Congratulations! You have successfully installed RethinkDB on Ubuntu 16.04 and 18.05 You may also like the post below: