How to Install Couchbase Server on Debian 11
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
wget https://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-amd64.deb
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
Output:
● 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
Docs: https://docs.couchbase.com
Main PID: 10939 (beam.smp)
Tasks: 155 (limit: 1149)
Memory: 285.0M
CGroup: /system.slice/couchbase-server.service
├─10939 /opt/couchbase/lib/erlang/erts-10.7.2.7/bin/beam.smp -A 16 -s
├─10958 /opt/couchbase/lib/erlang/erts-10.7.2.7/bin/epmd -daemon
├─11022 erl_child_setup 200000
├─11041 /opt/couchbase/lib/erlang/erts-10.7.2.7/bin/beam.smp -A 16 -s
├─11063 erl_child_setup 200000
├─11078 sh -s disksup
├─11079 /opt/couchbase/lib/erlang/lib/os_mon-2.5.1.1/priv/bin/memsup
├─11081 /opt/couchbase/lib/erlang/lib/os_mon-2.5.1.1/priv/bin/cpu_sup
├─11082 /opt/couchbase/lib/erlang/erts-10.7.2.7/bin/beam.smp -P 32768
├─11089 erl_child_setup 200000
├─11108 sh -s disksup
├─11110 /opt/couchbase/lib/erlang/lib/os_mon-2.5.1.1/priv/bin/memsup
├─11111 /opt/couchbase/lib/erlang/lib/os_mon-2.5.1.1/priv/bin/cpu_sup
├─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
.
CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME
for 10% off!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Available Locations: LAX | MIA | ATL | FRA | AMS