Removing Plesk from FreeBSD Systems

To remove Plesk from your server, follow these steps:

  1. Log in to Plesk server as root.
  2. Run the command /usr/local/etc/rc.d/psa.sh stop
  3. Run the command pkg_delete `pkg_info | grep psa | awk '{print $1}' | xargs -n100`
  4. Run the command rm -rf /usr/local/psa
  5. Delete all references to DNS zones from the file /var/named/etc/namedb/named.conf, remove zone files from /var/named/etc/namedb/master/, and modify the file /etc/rc.conf appropriately.
  6. Run the command rm -rf /etc/psa