Install RethinkDB on Ubuntu

Install RethinkDB on Ubuntu

We’ll show you, how to install Install RethinkDB on Ubuntu. RethinkDB is an open-source non-SQL database for realtime web applications. It pushes JSON to the web application in realtime and makes the JSON querying much simplified. Therefore, the web application becomes much more stable and responds much faster. It is very easy to install and run RethinkDB on a Linux VPS. Today we will show you how to do that on Ubuntu 14.04.

First thing you need to do is to login to your Ubuntu VPS and update all your system software to the latest version. If you do not know how to connect to your Linux VPS via SSH, you can check our guide. Upgrading your system software will make your system much secure, so go ahead and run the following commands:

sudo apt-get update
sudo apt-get upgrade

The upgrade should take few moments and once it is completed, you are ready to go with the next step. To install RethinkDB you need to add new repository to your system. This is because RethinkDB is not included in the default Ubuntu repositories. Therefore, run the following commands to do that:

source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -

After that, you can immediately update your package index by running the following command:

sudo apt-get update

Once the package index is up to date you are ready to install RethinkDB on your system. This can be achieved by running the last command:

sudo apt-get install rethinkdb

Congratulations, you have successfully installed RethinkDB on an Ubuntu VPS.

What’s next?

Need a fast and easy fix?
✔ Unlimited Managed Support
✔ Supports Your Software
✔ 2 CPU Cores
✔ 2 GB RAM
✔ 50 GB PCIe4 NVMe Disk
✔ 1854 GeekBench Score
✔ Unmetered Data Transfer
NVME 2 VPS

Now just $43 .99
/mo

GET YOUR VPS

To start using RethinkDB you need to start the service. For that purpose you can use the following command:

rethinkdb --bind all &

RethinkDB will be started in the background so you can access the database web interface by entering your server IP address followed by port number 8080 in your favorite web browser. For example, if your server IP address is 12.34.56.78 you can open your favorite web browser and access the database web interface at:

http://12.34.56.78:8080

Although the RethinkDB is installed on your server, you need to install a client driver. RethinkDB allows querying JSON documents in your web application by using languages like Python, Ruby, JavaScript and many others, so make sure that the proper client driver is installed on your Ubuntu system.

See the full list of official client drivers and community-supported drivers as well as the client driver installation instructions.

Additionally, to learn about how to get started with RethinkDB and develop your first web application you should check the official RethinkDB documentation.

Of course you don’t have to install RethinkDB on Ubuntu, if you use one of our Managed Ubuntu VPS hosting services, in which case you can simply ask our expert Linux admins to install RethinkDB for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post, on how to install RethinkDB on Ubuntu, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

Leave a Comment