Easy way to uninstall CSF from server

There is script in the csf directory for doing the same simply. You can uninstall the CSF firewall utility by running the ‘uninstall.sh’ script from command line.

Step I : Login to your server via SSH as root user.
Step II : Change the directory to ‘/etc/csf’

# cd /etc/csf

You can find out this file under the directory /etc/csf.

uninstall.sh -> /usr/local/csf/bin/uninstall.sh

Step III : Execute the following command.

# sh uninstall.sh 
Or
# /usr/local/csf/bin/uninstall.sh

That’s it.

Related posts;
Install and configure csf on CentOS
CSF commands for Unix/Linux servers

Arunlal Ashok

Linux Cloud Infrastructure / DevOps Engineer. I'm dealing Linux servers since 2012. I started this blog to share and discuss my ideas.

Always happy for an open discussion! Write to arun (@) crybit (dot) com. Check about me for more details. About this blog and our strong members, check The team CryBit.com

Leave a Reply

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