Monday, May 07, 2018

Couchbase NoSQL DB Installation

Couchbase  Installation Steps
>on ubuntu server 16.04
>Couchbase Server 5.1.0 Enterprise for Ubuntu 16.04 (size 100mb)
>Choose download package from:
https://www.couchbase.com/downloads

INSTALL
$ sudo apt-get update
$ sudo apt-get autoclean
$ sudo apt-get -f install
$ sudo apt-get -f install python-httplib2

$ curl -O https://packages.couchbase.com/releases/5.1.0/couchbase-server-enterprise_5.1.0-ubuntu16.04_amd64.deb

$ sudo dpkg -i couchbase-server-enterprise_5.0.0-ubuntu14.04_amd64.deb
Done.
You have successfully installed Couchbase Server.
Please browse to http://localhost:8091/ to configure your server.

INITIALISE CLUSTER - via couchbase Web Console
Open browser to http://localhost:8091/
choose [Setup New Cluster]

Cluster Name : MyCouchDB
Admin user: Administrator
Pwd: xxx

CONFIGURE
Hostname/IP : 127.0.0.1
Data Disk Path : /opt/couchbase/var/lib/couchbase/data
Index Disk Path: /opt/couchbase/var/lib/couchbase/data
Memory Quota : xx MB

START/STOP SERVICE
>startup script auto installed in Ubuntu/Redhat/CentOS
> /etc/init.d/couchbase-server stop|start
>manual (redhat/centos):
$ sudo systemctl start couchbase-server

0 Comments:

Post a Comment

<< Home