Couchbase Installation

Couchbase Server is NoSQL database software package that is used for interactive applications. It is an opensource NoSQL database that provides us with a mechanism for storage and recovery of data which is modelled in means other than the tabular relations used in relational databases. It has multiple data access paths to query and manage our JSON documents. It provides Eventual Consistency and Immediate Consistency methods to ensure consistency in a distributed system.

Installation :
To install couchbase we first need to download the couchbase server setup file and after that, we will have to install that through a package manager, and then we will finally have to start the couchbase server in order to run it over localhost.

The installation procedure is as follows:

  1. Download couchbase Database from here.
  2. Move to the location where the file is downloaded and use the following command to install the downloaded file.
    sudo apt install ./couchbase-server-community_6.5.1-ubuntu18.04_amd64.deb

    couchbase-install
    Note:- Replace the version in the command with the downloaded version.

  3. After the successful installation, run the couchbase service using the following command.
    sudo service couchbase-server start

    couchbase-service-start

  4. Now visit http://localhost:8091/ and if it gives the following result, then your installation is successful.
    couchbase-successful-installation

To create your own cluster:

  1. Click on setup new cluster button in order to create your own cluster.
    couchbase-successful-installation1
  2. Enter your cluster details there.
    enter-cluster-details
  3. Read properly the terms and conditions of couchbase and accept them if found suitable.
    accept-terms-conditions
  4. Enter the configuration you want for your cluster.
    configure-cluster-couchbase
  5. If everything goes well you will have a dashboard like the one shown below.
    couchbase-dashboard

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.