Removing Plesk from Linux Systems
Important: following this procedure you will completely remove Plesk and erase all user data.
It is recommended that you have a Plesk distribution package at hand, because you will need to know the titles of RPM packages that your installation of Plesk comprises.
To deinstall Plesk from a Linux system:
- Log in to your Plesk server as user root.
- To deinstall packages, run the command
rpm -e <titles of packages separated by white spaces>. Example:
#rpm -e psa psa-proftpd psa-proftpd-xinetd
The following is a list of packages included in Plesk 8 distribution:
- AdvancedPoll
- AutoIndex
- b2evolution
- bbclone
- Coppermine
- courier-imap
- cs-gs
- CSLH
- DocFAQ
- drweb
- drweb-qmail
- gallery
- gtchat
- libidn
- Mambo
- mod_webapp
- openbiblio
- osCommerce
- Owl
- perl-Apache-ASP
- perl-Compress-Zlib
- perl-Font-AFM
- perl-FreezeThaw
- perl-HTML-Format
- perl-HTML-Tree
- perl-IO-Ftp
- perl-IO-Zlib
- perl-MIME-Lite
- perl-MLDBM
- perl-MLDBM-Sync
- perl-Text-Iconv
- phpAds
- phpBB
- phpBook
- phpBugTracker
- phpDig
- phpMoney
- phpMyFamily
- phpsurveyor
- phpWiki
- pLog
- PostNuke
- PPWSE
- psa
- psa-agent
- psa-api-cli
- psa-api-common
- psa-api-rpc
- psa-api-rpc-doc
- psa-api-rpc-protocol
- psa-bu
- psa-courier-imap-add
- psa-fileserver
- psa-firewall
- psa-hotfix
- psa-key
- psa-locale-base-en-US
- psa-logrotate
- psa-manual-custom-skin-guide
- psa-migration-manager
- psa-pre-keyupdate
- psa-proftpd
- psa-proftpd-xinetd
- psa-qmail
- psa-qmail-rblsmtpd
- psa-spamassassin
- psa-sve
- psa-tomcat-configurator
- psa-vpn
- SSHTerm
- Tellme
- TUTOS
- typo
- UebiMiau
- WebCalendar
- WebShopmanager
- WordPress
- xrms
- Delete all databases and database tables used by Plesk:
#mysql -uadmin -p`cat /etc/psa/.psa.shadow`
drop database psa;
drop database horde;
- Find out in which directory virtual hosts reside. To do this, open
/etc/psa/psa.conf file and look up the value assigned to the 'HTTPD_VHOSTS_D' variable. Delete this directory by running the following command:
rm -rf /directory_name/*
- Erase all data related to mailboxes:
#rm -rf /var/qmail/mailnames/*
- Delete other directories used by Plesk:
#rm -rf /usr/local/psa/
#rm -rf /etc/psa
#rm -rf /var/mailman
#rm -rf /var/drweb
#rm -rf /var/lib/webalizer
#rm -rf /var/tomcat4 (if you had Tomcat 5 installed, run rm -rf /var/tomcat5)
- Delete all references to DNS zones from the file
/var/named/conf/named.conf, remove zone files from /var/named/run-root/var/, and modify the files in the directory /var/qmail/control appropriately.