Uninstalling on RHEL

Refer to the Red Hat RPM documentation for more information about uninstalling packages using RPM.

Before removing Couchbase Server:
  • Shut down Couchbase Server.
  • If your machine is a part of an active cluster, rebalance the cluster to take the node out of the configuration.
  • Update any clients to point to an available node within the Couchbase Server cluster.

Run the following command:

 > sudo rpm -e couchbase-server

You might need to delete the data files associated with your installation. The default installation location is /opt. If an alternative location for your data files was specified, each data directory must be individually deleted from your system.