Web Hosting, cPanel, Plesk, cPanel Help, Plesk Help, Tutorials, Articles

Web Hosting Articles, Web hosting FAQ’s, Control Panel Help & Updates.

How to uninstall apf on a linux machine

November21

You can use the following steps to uninstall apf on a linux machine:

First stop the apf service.

# /etc/rc.d/init.d/apf stop

Remove the apf files from the server.

# rm -Rf /etc/apf
# rm -Rf /etc/rc.d/init.d/apf
# rm -Rf /var/log/apf_log
# rm -Rf /var/log/apfados_log
# rm -Rf /usr/local/sbin/apf

Disable apf in the run levels.

# /sbin/chkconfig –level 345 apf off

Open up and remove this line:

# vi /etc/cron.daily/fw
/etc/rc.d/init.d/apf restart >> /dev/null 2>&1

posted under Others

Email will not be published

Website example

Your Comment: