Procedure to install CSF on a cPanel server :
[email protected] [~]#wget http://www.configserver.com/free/csf.tgz
[email protected] [~]#tar -xzf csf.tgz
[email protected] [~]#cd csf
[email protected] [~]#sh install.sh
If you are going to use CSF then disable APF+BFD to avoid any conflict.
[email protected] [~]#sh disable_apf_bfd.sh
Now, you can configure csf and lfd via WHM or directly edit the files in /etc/csf/*
You can uninstall CSF using the following commands:-
(This will remove both CSF and LFD)
[email protected] [~]#cd /etc/csf
[email protected] [~]#sh uninstall.sh