Howto: install CSF on cpanel server.


1) cd /usr/local/src/
2) download csf: wget http://www.configserver.com/free/csf.tgz
3) tar -xzf csf.tgz
4) goto the csf directory : cd csf
5) ./install.sh
  Once it is installed, you can either edit the configuration file from WHM >> Plugins >> “Config Server Security and Firewall” option.
If you don’t have WHM/cPanel on your server, the configuration and all the CSF related files are stored under /etc/csf directory. You need to edit the csf configuration file /etc/csf/csf.conf and make the changes as per your wish.
Once you make the required changes to your CSF configuration file and are sure, you are not going to block yourself out, change the following from
TESTING = “1”
to
TESTING = “0”
 and restart the csf firewall using csf -r command.

Howto: install CSF on cpanel server.
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *

Fork me on GitHub