Howto install CSF

Sep-8th-2010

Hi,

CSF allows admin to easily make changes to their allow/deny lists without touching SSH. If you are using cPanel and DirectAdmin control panels, better to use csf. It works brilliantly with these control panel.

The latest version of csf can be downloaded here :-

http://www.configserver.com/free/csf.tgz

Installation :-

[root@map007]# wget http://www.configserver.com/free/csf.tgz

[root@map007]# tar zxvf  csf.tgz

[root@map007]# cd csf

[root@ csf ]#  sh install.sh

Now next you will have to run following command to test whether you have the required iptables module :-

[root@ csf ]#  perl   /etc/csf/csftest.pl

You should not run any other iptables firewall configuration script.

if you are using APF+BFD , you can remove the combination through following command :-

[root@map007]# sh /etc/csf/remove_apf_bfd.sh

That’s it. You can then configure csf and lfd by edit the files

directly in /etc/csf/*

Uninstallation

======================================================================

Removing csf and lfd is even more simple:

On cPanel servers:

[root@map007]# cd /etc/csf

[root@map007]# sh uninstall.sh

On DirectAdmin servers:

[root@map007]# cd /etc/csf

[root@map007]# sh uninstall.directadmin.sh

On generic linux servers:

[root@map007]# cd /etc/csf

[root@map007]# sh uninstall.generic.sh

======================================================================

Enjoy Linux !!!

Mega World News Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google Yahoo Buzz StumbleUpon Weekend Joy

Add A Comment

*