Reserve the NVIDIA GH200 Grace Hopper™ Superchip at Vultr today.
Author: MichaelLast Updated: Fri, Feb 18, 2022
Are you looking for a database that is easy to use and scales well? If so, then youâre in the right place. RethinkDB is an open-source distributed document store that provides real-time push functionality.
This article explains how to install RethinkDB on Ubuntu 20.04 LTS.
The default RethinkDB package is not included in the Ubuntu 20.04 repositories, so you need to add it before installing RethinkDB.
RethinkDB team has its own repository for Ubuntu Linux. Add the repository to your
$ source /etc/lsb-release && echo "deb https://download.rethinkdb.com/repository/ubuntu-$DISTRIB_CODENAME $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
The package is signed with the GPG key from the RethinkDB team, so the GPG key should be added to avoid any warnings. Add the GPG key by running the following command.
$ wget -qO- https://download.rethinkdb.com/repository/raw/pubkey.gpg | sudo apt-key add - OK
After adding the repository and key, update the
APT by running the following command.
sudo apt update -y
After adding the repository and key, run the following command to install RethinkDB on Ubuntu 20.04.
sudo apt install rethinkdb -y
The installation process should take some time to finish. Once installed, start RethinkDB and make it auto start on boot time using the following command.
sudo systemctl start rethinkdb sudo systemctl enable rethinkdb
At this point, RethinkDB should be running on your Ubuntu 20.04 server. RethinkDB also provides a web interface to manage your clusters, which you can access using your browser. Now point your browser to localhost with:8080 added to the end of the URL.
Your RethinkDB web interface should be displayed.
Now you have a working instance of RethinkDB on your Ubuntu 20.04 server, which can be used for your applications.
To learn more about using RethinkDB, please refer to its official documentation.