Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

How to Install CouchDB on Debian 10 - DesignLinux

Jan 28 2021
designlinux 0 Comments

CouchDB is a high-performance opensource NoSQL solution where data is stored in JSON-based document format as key/value pairs, lists, or maps. It provides a RESTFUL API that enables users to easily manage database documents by performing tasks such as reading, editing, and deleting objects.

CouchDB offers great benefits such as fast indexing and easy replication of databases across various instances in a network. In this guide, we cover how you can install CouchDB on Debian 10.

Step 1: Add CouchDB Repository on Debian

We will begin by logging in to our Debian server and updating the package lists using the apt package manager as shown:

$ sudo apt update

Next, we need to add the CouchDB repository for Debian as follows:

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

Afterward, import the GPG key using the curl command as shown.

$ curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
Add CouchDB Repository in Debian
Add CouchDB Repository in Debian

Step 2: Install CouchDB on Debian

With the CouchDB repository in place, update the system package list to sync the newly added repo.

$ sudo apt update

Then install CouchDB using the apt package manager as shown:

$ sudo apt install couchdb
Install CouchDB on Debian
Install CouchDB on Debian

Halfway through, you will be prompted to provide some key details. First, you will be required to specify the type of configuration you’d want to set up for your instance. Since we are only installing on a single server, select the ‘standalone’ option.

Configure CouchDB in Debian
Configure CouchDB in Debian

Next, provide the network bind interface. This is initially set to the localhost address – 127.0.0.1. However, you can set it to 0.0.0.0 so that it can listen to all network interfaces.

Configure CouchDB Network Interface
Configure CouchDB Network Interface

Thereafter, provide the admin password. This is the password that will be used when accessing CouchDB via the WebUI.

Set CouchDB Admin Password
Set CouchDB Admin Password

And confirm it.

Confirm CouchDB Admin Password
Confirm CouchDB Admin Password

Step 3: Verify that CouchDB is Running

CouchDB listens to port 5984 by default. You can verify this by invoking the netstat utility as follows:

$ sudo netstat -pnltu | grep 5984
Confirm CouchDB Port
Confirm CouchDB Port

Alternatively, you can use system service to verify is the CouchDB daemon is running:

$ sudo systemctl status couchdb
Check CouchDB Status
Check CouchDB Status

Great, our CouchDB instance is running as expected.

Step 4: Accessing CouchDB via WebUI

The management of CouchDB is easy, thanks to the simple and intuitive web interface that it provides. To access CouchDB, browse the URL:

http://localhost:5984 

You will be required to log in using the username and the password that you set during the installation.

CouchDB Admin Login
CouchDB Admin Login

Upon logging in, you will get the following interface.

CouchDB Dashboard
CouchDB Dashboard

And that wraps it up. We have walked you through the installation of CouchDB on Debian 10.

Related

Tags: Apache CouchDB Tips, Debian Tips

How to Install Webmin on Fedora Linux

Prev Post

How to Install PostgreSQL with pgAdmin4 on Linux Mint 20

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 0
  • 611
  • 1,055,383

DesignLinux.com © All rights reserved

Go to mobile version