How to install Apache CouchDB on Debian 10?

Windows Articles

Debian 10.6 available

Several volunteers have developed the free software distributed under the name of Debian. Debian does not sell its software directly, the developers...

How to check domain controller status in Windows Server 2019/2016.

Hello! The administration of Windows Server is very important. Indeed, the administrator manages many processes and roles that affect the optimal functioning...

How to install Vanilla Forum on Ubuntu 20.04?

Hello, folks. This post is about how to install Vanilla Forum on Ubuntu 20.04. Vanilla is an opensource discussion...

How to backup and restore Group Policy Objects in Windows Server 2016/2019.

Hi! Previously we have mentioned that Windows Server pursues a centralized administration of each role and service. In this way, a fluid...

How to use the ls command?

The ls commands list the content and optional information of the directories and files. When you execute the Ls command without options,...
angeloma
angeloma
Senior Writer and partner

Debian is very known to be a robust system. Not in vain is the basis of many other Linux distributions and many subsystems. So Debian is the ideal Linux distribution for the storage of scalable data. In this sense, we are presented with several database managers oriented to their scalability. For that reason, in this post, I will teach you how to install CouchDB in Debian 10 so that you have a professional database manager with community support.

CouchDB is a database manager for the web. It takes care of saving and storing NoSQL type data for server-side applications. It is widely used and its learning curve is very low.

On the other hand, CouchDB places a lot of emphasis on data replication as a persistent way to obtain data. That is, we will be able to connect multiple nodes and from there do the replication.

Of course, there are a lot of features and reasons why this project of the Apache Foundation is so important today.

So, let us start.

Install CouchDB on Debian 10

Apache CouchDB has installers for Linux. There is even a package repository that makes it very easy to install. In this sense, it is convenient to use it.

First, add the CouchDB repository for Debian 10.

:~$ echo "deb https://apache.bintray.com/couchdb-deb buster main" | sudo tee -a /etc/apt/sources.list
deb https://apache.bintray.com/couchdb-deb buster main

To secure the installation, it is necessary to add the GPG key to the repository. However, some necessary packages must be installed first:

:~$ sudo apt install curl gnupg

Once we have them installed, we can add the GPG key.

:~$ curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
OK

Now, we have to refresh the APT cache and then install CouchDB on Debian 10.

:~$ sudo apt update
:~$ sudo apt install couchdb
1.- Install CouchDB on Debian 10
1.- Install CouchDB on Debian 10

During the installation, we will be asked to make some small adjustments.

First, if couchdb will work on a node, or if we are configuring a cluster.

2.- Configuring Couchdb on Debian 10
2.- Configuring Couchdb on Debian 10

Then, we will be able to establish the IP address of the cluster or node. In this case, by choosing the address 0.0.0.0 we can make the equipment accessible to all the network interfaces.

3.- Configuring CouchDB
3.- Configuring CouchDB

Then, you need to define a strong password. After that, Apache CouchDB is ready to work.

Using the CouchDB web interface

Managing Apache CouchDB is really easy thanks to its powerful web interface. So let’s get to it.

Open your favorite web browser and go to http://your-server:5984/_utils. Remember that in “your-server” you have to put the IP address of the server or its DNS.

As you can see, the application uses port 5984. So, if you have a firewall working, you have to open that port.

Well, you will see this screen:

4.- CouchDB log in page
4.- CouchDB log in page

The username is admin and the password that you have defined before. Once you have done that, you will see this:

5.- CouchDB web interface on Debian10
5.- CouchDB web interface on Debian10

Then, it is a good idea to verify that the entire installation has been a success. For this, on the left side, there is a button that has a check mark. Click on it and then on the Verify installation button.

6.- CouchDB is properly installed
6.- CouchDB is properly installed

As you can see in the picture, the installation has been a success.

Finally, you can configure a cluster or a specific node. This is already to your needs.

7.- CouchDB on Debian 10
7.- CouchDB on Debian 10

So, that is it. You can start to work.

Conclusion

Apache CouchDB is a database manager clearly focused on the professional environment, but this does not prevent it from being used in learning and personal environments. So today you have learned how to install it on a server with Debian 10.

Please share this post and join our Telegram channel.

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

Debian 10.6 available

Several volunteers have developed the free software distributed under the name of Debian. Debian does not sell its software directly, the developers...

How to check domain controller status in Windows Server 2019/2016.

Hello! The administration of Windows Server is very important. Indeed, the administrator manages many processes and roles that affect the optimal functioning...

How to install Vanilla Forum on Ubuntu 20.04?

Hello, folks. This post is about how to install Vanilla Forum on Ubuntu 20.04. Vanilla is an opensource discussion...

How to backup and restore Group Policy Objects in Windows Server 2016/2019.

Hi! Previously we have mentioned that Windows Server pursues a centralized administration of each role and service. In this way, a fluid...

How to use the ls command?

The ls commands list the content and optional information of the directories and files. When you execute the Ls command without options,...
x