HugeServer Knowledgebase

How to install Apache CouchDB on Ubuntu 16.04


Apache CouchDB is an Open-Source NoSQL database which is focused on scalability architecture. Apache CouchDB is a document-oriented NoSQL database. Each database is a collection of independent documents and does not store data and relationships in tables. CouchDB was released in 2005 for the first time and became an Apache Software Foundation project in 2008.
In this tutorial, we are going to install the latest version of CouchDB with Apache and do some initial configuration.

Install Apache

If you don’t have Apache installed you can install it easily with the following command:

apt-get install apache2

After that you can start Apache and make it run at the startup:

systemctl start apache2

systemctl enable apache2

Install CouchDB

Apache CouchDB is not provided by the official repository, but we can add the official repository of CouchDB itself for easy installation through the package manager with the following command:

echo "deb xenial main" \ | sudo tee -a /etc/apt/sources.list

Execute the following command to sign the added repository:

curl -L \ | sudo apt-key add -

Now you can easily install CouchDB with the command below:

apt-get install couchdb

The installation will prompt you for some initial configuration:

You can choose either “standalone” server configuration or “clustered”, you also can choose “none” if you want to configure it from scratch yourself.

In this section, you can choose an interface for CouchDB to bind if you want your CouchDB panel to be accessible over the internet enter “”.

After the installation process is finished. start CouchDB and make it run at startup:

systemctl start couchdb

systemctl enable couchdb

You can check the status of your service with the two below commands:

systemctl status couchdb

netstat -ln | grep 5984

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


And you should see the Fauxton UI page like below:

You can check out Apache CouchDB official website for more information and news!

Was this tutorial helpful?

Thank you for your vote.Thank you for your vote.

Similar Posts

2 thoughts on “How to install Apache CouchDB on Ubuntu 16.04”

  1. i’m trying to create databases or a document in the user account but i’m getting a popup ” Error running query. Reason: (unauthorized) You are not a server admin. ” help me out some way asap

Leave a Reply

Your email address will not be published. Required fields are marked *