# How To Install RethinkDB on CentOS 8

> URL: https://www.atlantic.net/dedicated-server-hosting/how-to-install-rethinkdb-on-centos-8/ | Published: 2021-01-17 | Updated: 2024-08-15 | Author: Hitesh Jethva

RethinkDB is a free and open-source No-SQL database manager that can be used in applications that require continuous access to data. It has very minimal response times and updates and supports the most popular languages, including PHP, Java, Ruby, and Python. RethinkDB is designed with automatic failover and robust fault tolerance. It uses a new database access model instead of polling for changes. RethinkDB also offers a built-in web interface to manage the database.

In this tutorial, we will show you how to install RethinkDB on CentOS 8.

## Step 1 – Install RethinkDB

By default, RethinkDB is not available in the CentOS 8 default repository, so you will need to install it from the RPM package. You can run the following command to download and install the RethinkDB RPM package in your system.

Once installed, you should get the following output:

![Terminal yum output confirming the RethinkDB RPM package installed successfully](https://www.atlantic.net/wp-content/uploads/2021/01/rethinkdb1.png)

## Step 2 – Configure RethinkDB

First, you will need to copy RethinkDB sample configuration file with the following command:

```
cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
```

Next, edit the configuration file using the following command:

```
nano /etc/rethinkdb/instances.d/instance1.conf
```

Change the following lines to enable the RethinkDB web console:

```
http-port=8080
server-name=server1

directory=/var/lib/rethinkdb/default
log-file=/var/log/rethinkdb
bind=0.0.0.0
```

 

![RethinkDB configuration file with the http-port and bind settings for the web console](https://www.atlantic.net/wp-content/uploads/2021/01/rethinkdb2.png)

Save and close the file when you are finished. Next, create the necessary files and provide proper permissions with the following command:

```
touch /var/log/rethinkdb
chown -R rethinkdb:rethinkdb  /var/log/rethinkdb /var/lib/rethinkdb
chmod -R 775 /var/log/rethinkdb /var/lib/rethinkdb
```

Now, start the RethinkDB service and enable it to start at system reboot with the following command:

```
systemctl enable --now rethinkdb
systemctl start rethinkdb
```

You can now verify the status of the RethinkDB service with the following command:

```
systemctl status rethinkdb
```

You should get the following output:

![Terminal systemctl status showing the rethinkdb service active (running)](https://www.atlantic.net/wp-content/uploads/2021/01/rethinkdb3.png)

## Step 3 – Access RethinkDB Web Interface

Now, open your web browser and access RethinkDB using the URL http://your-server-ip:8080. You should see the following page:

![RethinkDB web dashboard showing one connected server and cluster performance graphs](https://www.atlantic.net/wp-content/uploads/2021/01/rethinkdb4.png)

Now, click on the **Tables** button. You should see the following page:

![RethinkDB Tables page listing the default test database with no tables](https://www.atlantic.net/wp-content/uploads/2021/01/rethinkdb5.png)

Click on the **Add** **Database** button. You should see the following page:

![RethinkDB Add database dialog with a name field for the new database](https://www.atlantic.net/wp-content/uploads/2021/01/rethinkdb7.png)

Provide your database name and click on the **Add** button. You should see your database in the following page:

![RethinkDB Tables page showing the newly created mydb database in the cluster](https://www.atlantic.net/wp-content/uploads/2021/01/rethinkdb8.png)

## Conclusion

Congratulations! You have successfully installed RethinkDB on CentOS 8. You can now easily use RethinkDB to build your large-scale applications. For more information, visit the RethinkDB official [documentation](https://rethinkdb.com/docs). Install RethinkDB on your Atlantic.Net [dedicated server](https://www.atlantic.net/dedicated-server-hosting/) today.
