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:
-
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.
Uninstall Couchbase Server:
-
Log in as a root (superuser) to complete the installation.
-
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:
-
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.
Uninstall Couchbase Server:
-
Log in as a root (superuser) to complete the installation.
-
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
-
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.
Uninstall Couchbase Server
-
Log in as a root (superuser) to complete the installation.
-
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
-
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.
Uninstall Couchbase Server
-
Navigate to
-
Select Add or Remove Programs.
-
Remove the Couchbase Server software.
Uninstalling on Mac OS X
To uninstall Couchbase Server follow these steps.
-
Open the
Applications
folder and drag theCouchbase Server
icon to the trash. Alternatively, delete the previous installation from the command line. If required, provide administrator credentials to complete the deletion. -
Delete the
Couchbase
andMembase
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