:: CSF on WHM / cPanel

32 sec read

:: What is csf
csf is ConfigServer Security&Firewall made by configserver
 
:: How to install and integrated to WHM / cPanel
+ download and install

/etc/init.d/iptables stop
cd /usr/local/src
wget //www.configserver.com/free/csf.tgz
tar xzf csf.tgz
cd csf
sh install.sh

+ configure csf

vi /etc/csf/csf.conf
#### change to non testing mode if you are sure csf running correcly.
####
TESTING = “0″

## checking on standart for cPanel port
##############
# Allow incoming TCP ports
TCP_IN = “20,21,22,25,53,80,110,143,443,465,953,993,995,2077,2078,2082,2083,2087″
# Allow outgoing TCP ports
TCP_OUT = “20,21,22,25,37,43,53,80,110,113,443,587,873,953,2087,2089,2703″
# Allow incoming UDP ports
UDP_IN = “20,21,53,953″
# Allow outgoing UDP ports
# To allow outgoing traceroute add 33434:33523 to this list
UDP_OUT = “20,21,53,113,123,873,953,6277″

+ start / restarting csf

csf -s
csf -r

+ setup on runlevel

chkconfig iptables off
chkconfig csf on

+ restaring cPanel

/etc/init.d/cpanel restart

checking ConfigServer Security & Firewall on Home – Plugins – ConfigServer Security & Firewall

 
:: Links
+ Google
+ Serveridol

How to fix problem with the editor ‘vi’

:: git error with vi error: There was a problem with the editor 'vi'   :: how to fix the problem 0. check path...
Sysadmin.ID
10 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure --with-apxs=`which apxs2` make...
Sysadmin.ID
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup mod_flvx in http.conf...
Sysadmin.ID
15 sec read

Leave a Reply

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