Using the Yum utility, you can uninstall a Carbon Black EDR server in one of two ways.
You can remove or erase the packages that constitute the Carbon Black EDR server, or remove Carbon Black EDR packages plus all other third-party packages upon which it depends. Instructions for both methods are provided here.
To uninstall a server (Carbon Black EDR RPMs only):
- Stop the Carbon Black EDR services by using one of the following commands:
sudo /usr/share/cb/cbcluster stop
orsudo service cb-enterprise stop
- Use the following Yum utility command to remove Carbon Black EDR packages listed above.
sudo yum remove <package1> <package2> <packageN>
- Manually remove the following cb directories:
- /var/www/cb/
- /var/run/cb/
- /var/log/cb/
- /var/lib/cb/
- /var/cb/
- /usr/share/cb/
- /etc/cb/
Caution: This procedure might remove packages that are also required by other software applications. Use caution when performing this procedure.
To uninstall a server (Carbon Black EDR and related RPMs):
- Stop the Carbon Black EDR services by using one of the following commands:
sudo /usr/share/cb/cbcluster stop
orsudo service cb-enterprise stop
- Access the yum.conf file with the following command:
vi /etc/yum.conf
- Add this line to yum.conf:
clean_requirements_on_remove=1
- Enter the following:
yum erase cb-enterprise
- Enter the following:
yum remove carbon-black-release
- Manually remove the following cb directories:
- /var/www/cb/
- /var/run/cb/
- /var/log/cb/
- /var/lib/cb/
- /var/cb/
- /usr/share/cb/
- /etc/cb/