How to uninstall apf on a linux machine

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

 

Both comments and pings are currently closed.

Comments are closed.