• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Apache CouchDB on CentOS7

  • 0:32 yum install epel-release.noarch -y
  • 0:59 vim /etc/yum.repos.d/apache-couchdb.repo
  • 1:19 yum install couchdb -y
  • 1:58 systemctl start couchdb.service
  • 2:24 vim /opt/couchdb/etc/local.ini
  • 3:07 systemctl restart couchdb.service
{{postValue.id}}

Apache CouchDB Installation on CentOS7

CouchDB is an open source project and NoSQL, document oriented database server. It stored data with JSON documents. It also provides web interface to access documents online.

Installation

First of all, use below command to install EPEL yum repository on your system.

[root@linuxhlep ~]# yum install epel-release.noarch -y
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
 * base: centos.mirror.net.in
 * extras: centos.mirror.net.in
 * updates: centos.mirror.net.in
base                                                                     | 3.6 kB  00:00:00     
extras                                                                   | 3.4 kB  00:00:00     
updates                                                                  | 3.4 kB  00:00:00     
updates/7/x86_64/primary_db                                              | 1.3 MB  00:00:03     
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
.
.
.
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-11.noarch                                                     1/1 
  Verifying  : epel-release-7-11.noarch                                                     1/1 

Installed:
  epel-release.noarch 0:7-11                                                                    

Complete!

Now create yum repository for Apache Couchdb. Create a file /etc/yum.repos.d/apache-couchdb.repo file using the below content.

[root@linuxhlep ~]# vim /etc/yum.repos.d/apache-couchdb.repo
[bintray--apache-couchdb-rpm]
name=Apache-couchdb
baseurl=http://apache.bintray.com/couchdb-rpm/el$releasever/$basearch/
gpgcheck=0
repo_gpgcheck=0
enabled=1

Install CouchDB package using yum command line tool. It will also install many more dependencies on your system.

[root@linuxhlep ~]# yum install couchdb -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                     | 8.5 kB  00:00:00     
 * base: centos.mirror.net.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirror.net.in
 * updates: centos.mirror.net.in
bintray--apache-couchdb-rpm                                              | 1.3 kB  00:00:00     
epel                                                                     | 4.7 kB  00:00:00     
(1/4): epel/x86_64/group_gz                                              |  88 kB  00:00:00     
(2/4): bintray--apache-couchdb-rpm/7/x86_64/primary                      |  40 kB  00:00:01     
(3/4): epel/x86_64/updateinfo                                            | 952 kB  00:00:06     
(4/4): epel/x86_64/primary_db     
.
.
.
  Verifying  : couchdb-2.3.0-1.el7.x86_64                                                   1/5 
  Verifying  : python-urllib3-1.10.2-5.el7.noarch                                           2/5 
  Verifying  : python-requests-2.6.0-1.el7_1.noarch                                         3/5 
  Verifying  : 1:couch-js-1.8.5-21.el7.x86_64                                               4/5 
  Verifying  : python-progressbar-2.3-4.el7.noarch                                          5/5 

Installed:
  couchdb.x86_64 0:2.3.0-1.el7                                                                  

Dependency Installed:
  couch-js.x86_64 1:1.8.5-21.el7                  python-progressbar.noarch 0:2.3-4.el7         
  python-requests.noarch 0:2.6.0-1.el7_1          python-urllib3.noarch 0:1.10.2-5.el7          

Complete!

Start and enable CouchDB service using following commands.

[root@linuxhlep ~]# systemctl start couchdb.service 
[root@linuxhlep ~]# systemctl enable couchdb
Created symlink from /etc/systemd/system/multi-user.target.wants/couchdb.service to /usr/lib/systemd/system/couchdb.service.

By default, CouchDB runs on port 5984 and will be accessible to localhost only. To make it available on network system edit CouchDB config file /opt/couchdb/etc/local.ini and update following values.

[root@linuxhlep ~]# vim /opt/couchdb/etc/local.ini 
[chttpd]
port = 5984
bind_address = 192.168.7.223

Restart the couchdb service

[root@linuxhlep ~]# systemctl restart couchdb.service

Now open the following URL using your http://192.168.7.223:5984/_utils/ in your web browser: 1 With this, the method to Install Apache CouchDB on CentOS7 comes to an end

Tags:
jacob
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is meant by Replication Based Backup on couchDB?

A

CouchDB is well known for its push and pull replication functionality. Any CouchDB database can replicate to any other if it has HTTP access and the proper credentials.

Q

What is CouchDB used for?

A

It has a document-oriented NoSQL database architecture and is implemented in the concurrency-oriented language Erlang; it uses JSON to store data, JavaScript as its query language using MapReduce, and HTTP for an API.

Q

What is replication in CouchDB?

A

Replication synchronizes two copies of the same database, allowing users to have low latency access to data no matter where they are replication is a one-off operation: you send an HTTP request to CouchDB that includes a source and a target database, and CouchDB will send the changes from the source to the target.

Q

What is the difference between CouchDB and couchbase?

A

Couchbase is a merge between CouchDB and Membase to create an easily scalable and high performance database. Couchbase differences: - has a memcached-based caching technology; Considering the key differences, CouchBase is more suited for realtime database access.

Q

What are all the advantages of couchDb?

A

The advantages of CouchDB are

A Different Way to Model Your Data
A Better Fit for Common Applications
Syntax and Semantics
Building Blocks for Larger Systems
CouchDB Replication

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.