How to Install Apache CouchDB on CentOS 7

Install Apache CouchDB on CentOS 7

In this article, we will have explained the necessary steps to install Apache CouchDB on CentOS 7. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Apache CouchDB is a free software resource which allows us to access data from where necessary by defining the Coach Replication Protocol, which was implemented by a variety of projects and products that cover all IT environments, from globally distributed server clusters, or mobile phones to web browsers.

Install Apache CouchDB on CentOS 7

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

Step 2. Install CouchDB on CentOS.

We must first add the Apache repository, use nano to open a file at the following path and add the contents below:

Now that the repository is enabled, you can install the CouchDB packages using the following command:

After the installation finishes, we will start the service and enable it to run at the start of the system:

Step 3. Enable Fauxton Web GUI Administration Panel.

Fauxton is a web-based interface built into CouchDB. It provides a basic interface with the ability to manage documents, views and various configuration settings:

Go to the ‘[chttpd]’ line and change the bind_address value with your server’s IP address:

Restart CouchDB so the changes will take effect:

Now you can open your browser and see your Domain or public IP address through it like below:

Congratulation, you have learned how to install Apache CouchDB on CentOS 7. If you have any question, please leave a comment below.