Plesk - Deinstalling From Linux Systems

It is recommended that you have a Plesk distribution package on a local machine, because you will need to know the titles of RPM packages that your installation of Plesk comprises.

To deinstall Plesk from a Linux system:

  1. Log in to your Plesk server as user root.
  2. To deinstall packages, run the command rpm -e --nodeps <titles of packages separated by white spaces>.

    Example:

    #rpm -e --nodeps 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
    • frontpage
    • 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
  3. Delete all databases and database tables used by Plesk:

    #mysql -uadmin -p`cat /etc/psa/.psa.shadow`

    drop database psa;

    drop database horde;

  4. 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/*

  5. Erase all data related to mailboxes:


    #rm -rf /var/qmail/mailnames/*

  6. 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 /usr/local/frontpage

    #rm -rf /var/tomcat4 (if you had Tomcat 5 installed, run rm -rf /var/tomcat5)

  7. 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.