PLESK 6.0 ADMINISTRATOR MANUAL

Chapter 5. Uninstalling Plesk from Your System

Table of Contents

RedHat Linux
FreeBSD 4.7

The process of uninstalling Plesk 6.0 for systems that run under Red Hat® Linux slightly differs from that of the systems that run under FreeBSD®. One of the following sections will guide you through the process of uninstalling Plesk depending on the type of Operating System you are running.

IMPORTANT

It is recommended to back up all data before uninstalling Plesk from your system.

RedHat Linux

  1. First, log in through telnet and change to super-user with the su - command. If you have local access, log in as root.

  2. Run the following command:

    rpm -e --nodeps psa-locale psa-qmail courier-imap psa-logrotate psa-proftpd-xinetd psa-courier-imap-add psa-proftpd psa-6.0.0

This concludes removing Plesk 6.0 modules from the system.

FreeBSD 4.7

IMPORTANT

Exercise extreme caution when uninstalling the standard Plesk installation from FreeBSD®. The whole Plesk directory will be deleted without confirmation. This action is not reversible. Make sure you have anything you want to save placed safely somewhere else before you run the uninstall function, as it will return your server to the state that it was in before Plesk was installed. HTML documents, log files, outstanding email, and mySQL databases will all be deleted.

  1. First, log in through telnet and change to super-user with the su - command. If you have local access, log in as root.

  2. Run /usr/local/psa/admin/bin/deinstall.sh deinstall. This will remove Plesk 6.0 from the system.

  3. Delete /etc/psa directory.

  4. Delete Plesk users and groups from

    • /etc/ftpchroot
    • /etc/ftpusers
    • /etc/passwd
    • /etc/master.passwd
    • /etc/group

    Plesk system users

    • bind
    • mysql
    • apache
    • psaadm
    • psaftp
    • qmaild
    • qmaill
    • qmailp
    • qmailq
    • qmailr
    • qmails
    • popuser
    • tomcat
    • +all users with group=psacln (ftpusers and webusers)

    Plesk system groups:

    • psaftp
    • qmail
    • popuser
    • psaadm
    • psacln

  5. Delete Plesk startup scripts located in /usr/local/etc/rc.d/.

  6. Delete Plesk services ftp, and smtp from /etc/inetd.conf, restart inetd.

  7. Delete /etc/sysconfig/named

  8. Restore link to your sendmail /usr/lib/sendmail and /usr/sbin/sendmail

  9. Delete link /etc/named.conf

  10. Delete /tmp/.state directory.


to top