HOW TO INSTALL CSF FOR DIRECTADMIN ON CENTOS 6

10

Step 1 – Installation of CFS dependencies

CSF is based on Perl, so you need to install Perl on our server first. You need wget to download the CSF installer and vim (or an editor of your choice) for editing the CSF configuration file. Install the packages with the yum command

#yum install wget vim perl-libwww-perl.noarch perl-Time-HiRes

Step 2 : Please go to the “/usr/src/” directory and download CSF with wget command.

#cd /usr/src/

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

Extract the tar.gz file and go to the csf directory, then install it:

#tar -xzf csf.tgz

#cd csf

Step 3 : install csf for directadmin

#sh install.directadmin.sh

Step 4: Kiểm tra hoạt động trên VPS

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

Step 5: Remove apf-bfd

sh /etc/csf/remove_apf_bfd.sh

Step  6: Login vào Directadmin