Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_19728906076afc570c4717944d037cc2, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
Install Uninstall ConfigServer Security and Firewall csf - XsoftHost

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

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts