Archive for the ‘Third Party Software’ category

WatchMySQL Plugin for WHM

November 21st, 2010

http://www.ndchost.com/cpanel-whm/scripts/watchmysql/

Installation

cd /sbin
rm -f watchmysql
wget http://www.ndchost.com/cpanel-whm/scripts/watchmysql/download.php
chown root.root watchmysql
chmod 0750 watchmysql

Configuration

Before you run the script you must first configure it. Use edit to open the watchmysql script and set the options.

#Sets the maximum concurrent connections per MySQL user.
my $max_concurrent_connections = '15';

#Who to tell about this user... (email)
my $warning_email = 'your@email.address';

#Kill Abuser's MySQL Connections (0 = no, 1 = yes)
my $kill_user = '0';

#MySQL polling in seconds (600 = 10 minutes)
my $check_interval = '600';

Running

To start this script simply run the following command
/sbin/watchmysql &
If you want the script to start when the system boots you need to add the above line to /etc/rc.local

Share

How to Install CSF

July 29th, 2010

How to install CSF (ConfigServer Security & Firewall)

# cd /usr/src/
# wget http://www.configserver.com/free/csf.tgz
# tar -xzf csf.tgz
# cd csf
# ./install.sh

(On cPanel servers, run ./install.cpanel.sh instead — it will auto-configure the ports opened).

The initial installation is complete, and you can now view the plugin at WHM >> Plugins >> “Config Server Security and Firewall”.

To configure CSF via SSH, edit /etc/csf/csf.conf and make your changes.

When your configuration is complete, you need to set the following in /etc/csf/csf.conf to disable “TESTING” mode and enable your firewall:

TESTING = “1″
to
TESTING = “0″

Lastly, restart CSF to enable all settings:

# csf -r

Share

Link to Software Package Page in Fantastico

June 14th, 2010

Linking to a specific software package in Fantastico is easy, and great for use with custom icons, or for linking customers to the installation/configuration page.

For example, a link to PHPBB2 looks like this:

https://yourhostname.tld:2083/frontend/x3/fantastico/autoinstallhome.php?app=phpBB2

This one’s a no-brainer really, as the links are the same in the Fantastico interface, but some might find this useful when creating custom icon groups in cPanel.

Share

How to Install Fantastico

April 22nd, 2010

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz

Now login to WHM, and navigate to Fantastico De Luxe WHM Admin to continue your install.

If the install hangs, try again, but first increase the wget timeout. I see this happen quite a bit, unfortunately.

Share

WHMCS: Chunky Parser Error

April 22nd, 2010

This is caused by Display Errors in cPanel being set in Tweak Settings (or from /var/cpanel/cpanel.config, errortostdout=1). Uncheck that, which should resolve your issue.

Share

cPanel Web Site Hosting by IntraHost