How to Uninstall CloudPanel on Ubuntu

If you no longer need CloudPanel on your server, follow these streamlined steps to remove it completely from your system.

1. Backup Your Data​

Before making any major changes:
  • Back up your web directories and configuration files
  • Export your databases to a safe location

2. Stop the CloudPanel Service​

Code:
sudo systemctl stop cloudpanel

3. Remove CloudPanel Packages​

Code:
sudo apt-get purge cloudpanel

4. Delete Remaining Directories​

Code:
sudo rm -rf /etc/cloudpanel
sudo rm -rf /var/www/cloudpanel

5. (Optional) Remove the CloudPanel Database​

Log into MySQL:
Code:
mysql -u root -p
Then run:

Code:
DROP DATABASE cloudpanel;
DROP USER 'cloudpanel'@'localhost';
exit

6. Check for System Configuration Changes​

CloudPanel may have modified firewall rules, PHP versions, or other settings. Manually review and revert any adjustments made during installation.




Note: Always ensure you have reliable backups before uninstalling system software.
 
Back
Top