Thursday, 9 August 2012

Steps to install CSF firewall on your Centos Linux Server

Steps to install CSF firewall on your Centos Linux Server

Step 1:
Make sure perl modules are installed.
yum install -y perl-libwww-perl

Step 2:
Download, unpack the tar file.
Download from the link :  http://www.configserver.com/cp/csf.html


Commands to be used:
cd /usr/local/src
wget http://www.configserver.com/free/csf.tgz
tar -zxvf csf.tgz
cd csf
./install.sh

Step 3:
Edit the configuration with your favorite editor, in this case I used vi:
vi /etc/csf/csf.conf 
Edit the value from: 
TESTING = "1"
to => TESTING = "0"
 
Step 4: Restart the service:
/etc/init.d/csf restart
 
Kool csf installed 

No comments:

Post a comment

Note: only a member of this blog may post a comment.