
Originally Posted by
webminx
- ConfigServer Security&Firewall
- Fantastico De Luxe WHM Admin
Okay, here is a little script to help install CSF firewall and related applications:
Code:
#!/bin/bash
IFS="$"
#####################
## Install Fantastico Deluxe ##
#####################
cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -nc -T20 http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
tar -zxpvf ./fantastico_whm_admin.tgz
rm -rf -- ./fantastico_whm_admin.tgz
##################
## Install Softaculous ##
##################
cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N -T20 http://www.softaculous.com/ins/addon_softaculous.php
chmod 755 -- addon_softaculous.php
######################
## Install ConfigServer Apps ##
######################
cd /usr/local/src
for PLUGIN in csf cse cmm cmq; do
wget -nc -T20 http://www.configserver.net/free/${PLUGIN}.tgz
if [ -f ./${PLUGIN}.tgz ]; then
tar zxvf ./${PLUGIN}.tgz
rm -f -- ./${PLUGIN}.tgz
cd ./${PLUGIN}
./install.sh
cd /usr/local/src
rm -Rf -- ./${PLUGIN}
fi
done
echo "You need to edit '/etc/csf/csf.conf' to configure your firewall ..."
## END OF SCRIPT
This one can be installed using "EasyApache" (/scripts/easyapache)