Some Common Third Party Tools and Installation steps

Hello Friends,
We all know that there are some third party tools we ought to use in our cPanel server to meet various client needs. Even though cPanel tries to cover most of the customer requirements, we are still not satisfied with what they provide. I believe we need to know some good third party tools which are safe and efficient to use which helps us to give what our clients expects from us.
~~~
1) CSF
2) RKHunter
3) NginxCP
4) MySQL tuner
5) PHPMyAdmin
6) Comodo Web Application Firewall (CWAF)
7) S-RBL checker
8) Google Apps Wizard
~~~

1) Config Server Firewall (CSF):  As you know one of good and commonly used server firewall in Linux webhosting servers.
~]#cd /usr/local/src
~]# wget http://www.configserver.com/free/csf.tgz
~]# tar zxvf csf.tgz
~]# cd csf
~]# ./install.cpanel.sh
After installing you need to open the CSF configuration /etc/csf/csf.conf and have turn “TESTING” mode off and restart CSF using the command “csf -r”.

2) RootKit(RK) Hunter: Helps you by scanning the entire server for root kits and security backdoors in the server.
~]# cd /usr/local/src
~]# wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz
~]# tar -xvf rkhunter-1.4.0.tar.gz
~]# cd rkhunter-1.4.0
~]# ./installer.sh –layout default –install
~]# /usr/local/bin/rkhunter –update
~]# /usr/local/bin/rkhunter –propupd
Use rkhunter -c to check the server.

3) NginxCP: Allows you to manage the Nginx webserver from WHM.
~]# cd /usr/local/src
~]# wget http://nginxcp.com/latest/nginxadmin.tar
~]# tar xf nginxadmin.tar
~]# cd publicnginx
~]# ./nginxinstaller install

4) MySQLtuner: A single perl script which helps you to tune Mysql for optimal performance.
~]# cd /usr/local/src
~]# wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl
~]#perl mysqltuner.pl

5) PHPMyAdmin: Allows you to manage MySQL databases in your server.
~]# rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
~]# yum -y update
~]# yum -y install phpmyadmin

6) Comodo Web Application Firewall: Works best with Modsecurity by defining some extra rules to block website based attacks. Best suited to evade URL injection, WordPress vulnerabilities etc.
a) Register FREE Comodo Web Application Firewall Plugin.
https://waf.comodo.com/user
b) Once the registration completed, Run it installation script with a root privileges:
~]# cd /usr/local/src
~]# wget https://waf.comodo.com/cpanel/cwaf_client_install.sh
~]# chmod 755 cwaf_client_install.sh
~]# ./cwaf_client_install.sh
c) Choose type of installation:
1) Cpanel installation
2) Standalone scripts
Choose [1|2]: 1
d) Enter the login credentials for CWAF
Enter CWAF user: admin
Enter CWAF password: passwd@34@!$#
e) Modify Apache Web Server configuration to enable ‘mod_security‘ module and include CWAF Rules, by adding the key ‘Include /var/cpanel/cwaf/etc/cwaf.conf‘ to /usr/local/apache/conf/modsec2.conf. Add this string to Apache HTTPD Mod_security config in your system:
Include “/var/cpanel/cwaf/etc/cwaf.conf”
and reload Apache

7) S-RBL Checker: It will take away the headache of monitoring blacklist for server IP addresses. You also can manage the list against which your IP address should check, email address, email intervals, IP addresses to scan, etc at your own preferences.
~]# cd /usr/local/src
~]# wget http://downloads.theshosting.com/srbl_manage.sh
~]# chmod 755 /usr/local/src/srbl_manage.sh
~]# /usr/local/src/srbl_manage.sh install

8) Google Apps cPanel plugin: Allows you to integrate google apps with your websites. Before proceed please make sure Turn On security token
Security Tokens = on
“WHM >> Main >> Server Configuration >> Tweak Settings >> Security”
Then login to the server via SSH and do the following.
~]# wget http://www.cpanelkb.net/download/gaw-3.0.tar.gz
~]#  tar -zxvf gaw-3.0.tar.gz
~]#  cd gaw-3.0
~]#  sh gaw-installer.sh -install
~]# cd ..
~]# rm -Rfv gaw-3.0/ gaw-3.0.tar.gz
To Upgrade:
~]# wget http://www.cpanelkb.net/download/gaw-3.0.tar.gz
~]# tar -zxvf gaw-3.0.tar.gz
~]# cd gaw-3.0
~]# sh gaw-installer.sh -update
~]# rm -Rfv gaw-3.0/ gaw-3.0.tar

I hope this Post will be useful for you. Thank you for visiting. Have a Great Day!!!

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s