How to Install Couchbase Server on Debian 10

Couchbase Server is an open source, distributed, JSON document database. It exposes a scale-out, key-value store with managed cache for sub-millisecond data operations, purpose-built indexers for efficient queries and a powerful query engine for executing SQL-like queries. For mobile and Internet of Things environments Couchbase also runs natively on-device and manages synchronization to the server.

Install Couchbase Server on Debian using APT

Install the required Packages by using apt command,

apt install gnupg gnupg2 gpg gpgv2 

dpkg -i ./couchbase-release-1.0-amd64.deb

Next, run system update;

apt update

Install Couchbase Server

Install the latest release by running following command,

apt install couchbase-server-community

After that's finished, check the status,

systemctl status couchbase-server


● couchbase-server.service - Couchbase Server
   Loaded: loaded (/lib/systemd/system/couchbase-server.service; enabled; vendor
   Active: active (running) since Mon 2022-04-18 16:47:46 UTC; 3min 11s ago
 Main PID: 10939 (beam.smp)
    Tasks: 155 (limit: 1149)
   Memory: 285.0M
   CGroup: /system.slice/couchbase-server.service
           ├─10939 /opt/couchbase/lib/erlang/erts- -A 16 -s
           ├─10958 /opt/couchbase/lib/erlang/erts- -daemon
           ├─11022 erl_child_setup 200000
           ├─11041 /opt/couchbase/lib/erlang/erts- -A 16 -s
           ├─11063 erl_child_setup 200000
           ├─11078 sh -s disksup
           ├─11079 /opt/couchbase/lib/erlang/lib/os_mon-
           ├─11081 /opt/couchbase/lib/erlang/lib/os_mon-
           ├─11082 /opt/couchbase/lib/erlang/erts- -P 32768
           ├─11089 erl_child_setup 200000
           ├─11108 sh -s disksup
           ├─11110 /opt/couchbase/lib/erlang/lib/os_mon-
           ├─11111 /opt/couchbase/lib/erlang/lib/os_mon-
           ├─11114 inet_gethost 4
           ├─11115 inet_gethost 4

Now you can access your Couchbase server's web console http://server-IP-or-domain-name:8091.