Skip to content

Instantly share code, notes, and snippets.

@iyusa
Last active March 22, 2020 09:48
Show Gist options
  • Save iyusa/9a6ce1fbeabbba5707c58a5d61d31824 to your computer and use it in GitHub Desktop.
Save iyusa/9a6ce1fbeabbba5707c58a5d61d31824 to your computer and use it in GitHub Desktop.
[CouchDB] #couch #couchdb #nosql

Installation

sudo nano /etc/yum.repos.d/bintray-apache-couchdb-rpm.repo isi dengan

[bintray--apache-couchdb-rpm]
name=bintray--apache-couchdb-rpm
baseurl=http://apache.bintray.com/couchdb-rpm/el$releasever/$basearch/
gpgcheck=0
repo_gpgcheck=0
enabled=1

Install dengan yum

sudo yum -y install epel-release && sudo yum -y install couchdb

First Run

sudo systemctl start couchdb
sudo systemctl enable couchdb
sudo systemctl status couchdb

Configuring couch db

vi /opt/couchdb/etc/local.ini

update:

[admins]
admin = mypassword

dan

[chttpd]
port = 5984
bind_address = 0.0.0.0

lalu

sudo systemctl restart couchdb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment