Procedure to install CSF on a cPanel server :
root@server1 [~]#wget http://www.configserver.com/free/csf.tgz
root@server1 [~]#tar -xzf csf.tgz
root@server1 [~]#cd csf
root@server1 [~]#sh install.sh
If you are going to use CSF then disable APF+BFD to avoid any conflict.
root@server1 [~]#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)
root@server1 [~]#cd /etc/csf
root@server1 [~]#sh uninstall.sh