You don’t want to use anymore Vesta? You can just uninstall it or you can reinstall the operating system.
To uninstall VestaCP on CentOS do:
1. Connect to your server via SSH as root
2. Stop the Vesta service with service vesta stop
service vesta stop
3. Delete Vesta packages/software repository
[root@webcp ~]# yum remove vesta*
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package vesta.x86_64 0:0.9.8-17 will be erased
---> Package vesta-nginx.x86_64 0:0.9.8-17 will be erased
---> Package vesta-php.x86_64 0:0.9.8-17 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Removing:
vesta x86_64 0.9.8-17 @vesta 11 M
vesta-nginx x86_64 0.9.8-17 @vesta 1.3 M
vesta-php x86_64 0.9.8-17 @vesta 36 M
Transaction Summary
========================================================================================================================================================================
Remove 3 Packages
Installed size: 49 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : vesta-0.9.8-17.x86_64 1/3
Erasing : vesta-php-0.9.8-17.x86_64 2/3
Erasing : vesta-nginx-0.9.8-17.x86_64 3/3
Verifying : vesta-nginx-0.9.8-17.x86_64 1/3
Verifying : vesta-php-0.9.8-17.x86_64 2/3
Verifying : vesta-0.9.8-17.x86_64 3/3
Removed:
vesta.x86_64 0:0.9.8-17 vesta-nginx.x86_64 0:0.9.8-17 vesta-php.x86_64 0:0.9.8-17
Complete!
and
[root@webcp ~]# rm -f /etc/yum.repos.d/vesta.repo
[root@webcp ~]#
4. You may also want to remove /usr/local/vesta folder
[root@webcp local]# rm -rf vesta
[root@webcp local]#
5. Now we have to remove the cron jobs for the user admin.
Let’s list first the cron jobs:
[root@webcp ~]# crontab -u admin -l
MAILTO=admin@plothost.com
CONTENT_TYPE="text/plain; charset=utf-8"
15 02 * * * sudo /usr/local/vesta/bin/v-update-sys-queue disk
10 00 * * * sudo /usr/local/vesta/bin/v-update-sys-queue traffic
30 03 * * * sudo /usr/local/vesta/bin/v-update-sys-queue webstats
*/5 * * * * sudo /usr/local/vesta/bin/v-update-sys-queue backup
10 05 * * * sudo /usr/local/vesta/bin/v-backup-users
20 00 * * * sudo /usr/local/vesta/bin/v-update-user-stats
*/5 * * * * sudo /usr/local/vesta/bin/v-update-sys-rrd
40 2 * * * sudo /usr/local/vesta/bin/v-update-sys-vesta-all
03 3 * * * sudo /usr/local/vesta/bin/v-update-letsencrypt-ssl
[root@webcp ~]#
Remove the cron jobs via crontab -u admin -e. Save and exit.
[root@webcp ~]# crontab -u admin -e
can you please put process for ubuntu as well. hope to hear soon, thanks,haseeb
thank youuu
thank youuu