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.
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:
- Download couchbase Database from here.
- 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
Note:- Replace the version in the command with the downloaded version.
- After the successful installation, run the couchbase service using the following command.
sudo service couchbase-server start
- Now visit http://localhost:8091/ and if it gives the following result, then your installation is successful.
To create your own cluster:
- Click on setup new cluster button in order to create your own cluster.
- Enter your cluster details there.
- Read properly the terms and conditions of couchbase and accept them if found suitable.
- Enter the configuration you want for your cluster.
- If everything goes well you will have a dashboard like the one shown below.
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.
- Difference between PouchDB and Couchbase
- Difference between Cassandra and Couchbase
- Difference between Couchbase and MariaDB
- Difference between Couchbase and MS SQL Server
- Difference between Couchbase and CouchDB
- Difference between Couchbase and MySQL
- Difference between Couchbase and PostgreSQL
- Difference between SQLite and Couchbase
- Difference between Couchbase and IBM Db2
- Introduction to Couchbase
- Difference between RDBMS and Couchbase
- Difference between Oracle and Couchbase
- Difference between Couchbase and Redis
- Difference between Adabas and Couchbase
- Difference between Neo4j and Couchbase
- Neo4j Installation
- Virtual machine installation for Cassandra CQL query
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.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.