{{tag>csf lfd guide install}} {{howhard>2}}
====== csf ======
==== Steps ====
=== Library Prerequisites ===
yum install perl-libwww-perl.noarch perl-Time-HiRes
=== Fetch csf ===
wget https://download.configserver.com/csf.tgz
tar zxfv csf.tgz
=== Install csf ===
cd csf
sh install.sh
=== Test csf ===
cd /usr/local/csf/bin/
perl csftest.pl
You should get the following:
RESULT: csf should function on this server
=== Disable firewalld ===
systemctl stop firewalld
systemctl disable firewalld
=== Enable csf ===
cd /etc/csf/
vim csf.conf
Change TESTING = "1" to TESTING = "0"
=== Start & Enable csf ===
systemctl start csf
systemctl start lfd
systemctl enable csf
systemctl enable lfd
== Statistics ==
If you enable statistics you will need the following libraries for the option to appear and function.
yum install perl-GDGraph3d
== Common Issues ==
* Unable to connect to https://download.configserver.com, retry in 247 seconds. An Upgrade button will appear here if new version is detected
yum install perl-Crypt-SSLeay perl-LWP-Protocol-https
* Cant connect to Web UI
Make sure to restart lfd after enabling the UI, csf will not reload the lfd service.