|

|
How do I uninstall Plesk from my Free BSD dedicated server?
|
Answer by: Taylor Giddens, Aplus.Net Technical Support
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.8