Uninstalling VestaCP from your Ubuntu or Centos VPS server is quite easy. Recently VestaCP does not provide extensive supports to its users. That’s why some of the users want to uninstall the Vesta control panel.
If you want to install a new server management admin panel such as ISPconfig 3.1 or other than I would recommend to not just uninstall VestaCP but install a fresh Operating system.
To uninstall VestaCP you have to use the following commands.
Step 1: Log into your server via PuTTy SSH client.
Step 2: Stop vesta service by
sudo service vesta stop
Step 3: For RHEL/CentOS remove software and packages by-
yum remove vesta*
rm -f /etc/yum.repos.d/vesta.repo
For Debian/Ubuntu you should use the following commands to remove vesta software and packages.
sudo apt-get remove vesta*
sudo rm -f /etc/apt/sources.list.d/vesta.list
Step 4: Now you should remove delete data directory and cron jobs using the following command
rm -rf /usr/local/vesta
Step 5: Now delete admin user from your operating system.
deluser admin
All done. Good Luck.