Linux

Install Uninstall ConfigServer Security and Firewall csf

CSF Installation:

To Install the CSF Login to your server vis SSH root Access and run the following :

cd /usr/src

rm -fv csf.tgz

wget https://download.configserver.com/csf.tgz

tar -xzf csf.tgz

cd csf

sh install.sh

Next, test whether you have the required iptables modules:

perl /usr/local/csf/bin/csftest.pl

Don’t worry if you cannot run all the features, so long as the script doesn’t

You should not run any other iptables firewall configuration script. For example, if you previously used APF+BFD you can remove the combination (which you will need to do if you have them installed otherwise they will conflict):

sh /usr/local/csf/bin/remove_apf_bfd.sh

After the successful installation of CSF you need to disable the TESTING mode to work the CSF properly on your server.
You can change it from the configuration file itself.

vi /etc/csf/csf.conf

Then change the value of ‘TESTING’ from 1 to 0

 

CSF Uninstallation:

To Uninstall the CSF Login to your server vis SSH root Access and run the following :

to Remove csf and lfd :

cd /etc/csf

sh uninstall.sh

XsoftHost Support

Share

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

4 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago