Apache CouchDB is open-source database software that focuses on ease of use and having a scalable architecture. Apache CouchDB lets you access your data where you need it.

You can also read our guide on installing CouchDB on CentOS 7

Deploying your cloud server
If you have not already registered with Cloudwafer, you should begin by getting signed up. Take a moment to create an account after which you can quickly deploy your cloud servers.

Once you have signed up, log into your Cloudwafer Client Area and deploy your Cloudwafer cloud server.

Updating System Packages
It is recommended that you update the system to the latest packages before beginning any major installations. Issue the command below:

sudo apt-get update && sudo apt-get upgrade

Step 1: Enable the CouchDB repository
We are going to issue the following commands to enable the CouchDB repository and import GPG from key the official CouchDB repositories.

echo "deb https://apache.bintray.com/couchdb-deb stretch main" | sudo tee -a /etc/apt/sources.list
curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -

Step 2: Install CouchDB
After enabling the CouchDB repository, issue the following commands to update the packages list and install the CouchDB packages:

sudo apt update
sudo apt install couchdb

The installer will ask if you want to install CouchDB in a standalone or clustered mode. Since we are installing on a single server, select the standalone mode.

The next prompt provides the option to set the IP address of the network interface on which the CouchDB will bind to.
For standalone mode, go ahead and select the default 127.0.0.0. However, for cluster mode, enter the interface IP address or type 0.0.0.0 which will make CouchDB to binds to all network interfaces.

On the next prompt, you'll be required to set the admin password. Note that it is highly recommended to configure the password which will move CouchDB out of the insecure “admin party” mode. Leaving this field blank would make the admin user to not be created.

Confirm the password to continue.

Step 3: Confirming CouchDB Installation
To check if the installation was done successfully, issue the following curl command that will display the CouchDB database information in JSON format:

curl http://127.0.0.1:5984/

You can visit the Apache CouchDB Documentation for more information.