In this article, we will have explained the necessary steps to install and setup Apache CouchDB on Debian 10. 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 Debian
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
Step 2. Install Apache CouchDB on Debian 10.
The CouchDB package is not included in the Debian repositories by default hence we are going to enable them from their official repositories. Issue the following commands to enable the CouchDB repository and import its GPG key:
echo"deb https://apache.bintray.com/couchdb-deb bionic main"|sudotee-a/etc/apt/sources.list
curl-Lhttps://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
Now, we have to refresh the APT cache and then install CouchDB on Debian 10:
During the installation, we will be asked to make some small adjustments, install CouchDB in a standalone or clustered mode:
Next is an option to set the IP address of the network interface on which the CouchDB will bind:
On the next prompt set the admin password, which is highly recommended:
After installation, enable and start the CouchDB service bu issuing the commands below:
To verify whether the installation has completed successfully run the following curl command which will print the CouchDB database information in JSON format:
"name":"The Apache Software Foundation"
If you prefer GUI, you can access the CouchDB web-based interface, Fauxton at: