- Nikhil Bhaskar
- July 26, 2021
How to Install CouchDB on Ubuntu 20.04
Apache CouchDB is a free and open-source document-oriented database program. It belongs to NoSQL database. We can store data in JSON format and it supports many protocols to store & transfer the data. We can create multiple fields including text, numbers, lists & booleans.
Install CouchDB on Ubuntu
Update the System.
apt-get update
Add Repository & Key.
curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
&
echo "deb https://apache.bintray.com/couchdb-deb focal main" | sudo
tee -a /etc/apt/sources.list
Update the packages.
apt-get update
Install CouchDB .
apt-get install couchdb
Configure CouchDB.
- Select standalone mode.
- Click Ok.
apt-get update
- Provide CouchDB interface Bind address.
- Click Ok.
- Provide the password for CouchDB admin user.
- Click ok.
- Confirm the password.
Open the following port number on ufw firewall.
ufw allow 5984/tcp
Access CouchDB web-interface
http://127.0.0.1:5984/_utils/
or
http://server-ip:5984/_utils/
Here is the output.
- Provide the user-name & Password.By default,user-name is admin.
- Now CouchDB is Ready.