Install Apache CouchDB on CentOS 7

Table of Contents

Install Apache CouchDB on CentOS 7





Open source CouchDB is a NoSQL document database, built in Erlang. Several formats and protocols are used by CouchDB for storing, transferring, and processing data. JSON is used for data storage, JavaScript for querying using MapReduce, and HTTP is used for an API. In a database, every document is an independent document and data and relationships are not stored in tables. The first version of CouchDB was released in 2005 and turned into an Apache Software Foundation project in 2008.







Through this tutorial, we will demonstrate how to install and configure CouchDB with Apache.







Step 1: Configure VPSie cloud server





  1. Sign in to your system or register a newly created one by logging in to your VPSie account
  2. Connect by SSH using the credentials we emailed you.
  3. Once you have logged into your CentOS instance, run these commands to update your system.
sudo yum update







Step 2: Install Apache






It is easy to install Apache if you don’t have it already, simply follow the instructions,



yum install httpd





When that is done, start Apache so that it runs at startup,




# systemctl start httpd

# systemctl enable httpd








Step 3: Install CouchDB








The official RHEL repository does not include CouchDB, but we can add it using the package manager. To get started, create a “.repo” file by following these steps,




nano /etc/yum.repos.d/couchdb.repo




Save and exit the file after pasting the following line,








Here’s how to install CouchDB,



yum install couchdb



Upon completing the installation process. Enable CouchDB to run at startup,




# systemctl start couchdb

# systemctl enable couchdb




Here are two commands you can use to check your service’s status,




# systemctl status couchdb

# netstat -ln | grep 5984








Step 4: Activate the Apache CouchDB Fauxton Panel







With the following command, open CouchDB’s main configuration file, Save and Exit.



# nano /opt/couchdb/etc/default.ini

# bind_address =





In order for the changes to take effect, you must restart CouchDB,



systemctl restart couchdb




Your public IP address or domain address can be viewed through your browser,



http://{Your IP}:5984/_utils/









Please refer to the official documentation for more information.





That’s it, Thanks for reading! I hope it was informative for you! 







Try VPSie for free today!

Share on