Uninstalling Couchbase Server

Uninstalling Couchbase Server

Uninstallation steps are provided for each of the supported platforms.

Uninstalling on RHEL or CentOS

Uninstall Couchbase Server on RHEL or CentOS using the rpm command-line tool with the downloaded RPM package.

Before uninstalling Couchbase Server:

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

Uninstall Couchbase Server:

  1. Log in as a root (superuser) to complete the installation.
  2. 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.

Uninstalling on Ubuntu or Debian

Uninstall Couchbase Server on Ubuntu or Debian using the dpkg command-line tool with the downloaded DEB package.

Before uninstalling Couchbase Server:

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

Uninstall Couchbase Server:

  1. Log in as a root (superuser) to complete the installation.
  2. Run the following command:
     > sudo dpkg -r couchbase-server

Refer to the Ubuntu documentation for more information about uninstalling packages using dpkg.

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.

Uninstalling on SUSE and Oracle

Uninstall Couchbase Server on SUSE or Oracle Enterprise Linux using the rpm command-line tool with the downloaded RPM package.

Before uninstalling Couchbase Server

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

Uninstall Couchbase Server

  1. Log in as a root (superuser) to complete the installation.
  2. 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.

Uninstalling on Windows

To uninstall Couchbase Server on a Windows system, you must have Administrator or Power User privileges.

Before uninstalling Couchbase Server

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

Uninstall Couchbase Server

  1. Navigate to Start > Settings > Control Panel
  2. Select Add or Remove Programs.
  3. Remove the Couchbase Server software.

Uninstalling on Mac OS X

To uninstall Couchbase Server follow these steps.

  1. Open the Applications folder and drag the Couchbase Server icon to the trash. Alternatively, delete the previous installation from the command line. If required, provide administrator credentials to complete the deletion.
  2. Delete the Couchbase and Membase folders from the ~/Library/Application Support folder for the user that was running Couchbase Server. This operation removes the application data.
    > rm -rf ~/Library/Application\ Support/Couchbase
    > rm -rf ~/Library/Application\ Support/Membase