We will install couchbase Server on ubuntu 16.04 in this article. Please visit the link below for minimum system requirements.
Link : https://docs.couchbase.com/server/current/install/plan-for-production.html
WARNING: Make sure to install Java before installing the Couchbase.
1 2 3 4 5 6 7 8 |
sudo apt-get update sudo apt-get install default-jre sudo apt-get install default-jdk #Oracle jdk sudo add-apt-repository ppa:webupd8team/java sudo apt-get update #Oracle JDK 8 sudo apt-get install oracle-java8-installer |
Install Couchbase Server
Now we can now install Couchbase Server. In our example, we will install the Enterprise version.
You can also install the Community Edition version in the same way. (Please contact whenever you have trouble installing Community Edition.)
Download Packages
First, we download and install the .deb meta package.
1 |
curl -O https://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-6-amd64.deb |
1 |
sudo dpkg -i ./couchbase-release-1.0-6-amd64.deb |
Then we run the update command.
1 |
sudo apt-get update |
Install Couchbase Server
Now we are installing the latest version of Couchbase Server.
1 |
sudo apt-get install couchbase-server |
If we want to install a certain version of Couchbase Server, we can list the available versions with the command below.
1 |
apt list -a couchbase-server |
Then we install the specific package we want as follows.
1 |
sudo apt-get install couchbase-server=<version-string> |
Sample Command:
1 |
sudo apt-get install couchbase-server=6.0.2-2413-1 |
Check Couchbase Service Status
Let’s check the status of the service.
1 |
systemctl status couchbase-server |
Thank you.
Good luck with.