Archive

Archive for the ‘WHM Plugins’ Category

How to Uninstall MySQL Governor

November 29th, 2012 No comments

How to Uninstall MySQL Governor

 

Run the below commands to uninstall MySQL Governor

 

/usr/share/lve/dbgovernor/install-mysql.py –delete
yum erase db-governor db-governor-mysql

 

Upgrading MySQL Governor on CPanel, Plesk and DirectAdmin server

November 29th, 2012 No comments

Upgrading MySQL Governor on CPanel, Plesk and DirectAdmin server

 

Run the below command to update MySQL Governor

yum update db-governor db-governor-mysql –enablerepo=cloudlinux-updates-testing

Run the below command to restart the service

service db_governor restart

 

How to install MySQL Governor on CPanel, Plesk and DirectAdmin

November 29th, 2012 No comments

How to install MySQL Governor on CPanel, Plesk and DirectAdmin

MySQL governor is set of utilities to monitor and restrict MySQL usage in shared hosting environment. The monitoring is done via USER_STATISTICS table that is available in CloudLinux version of MySQL as well as via tracking of slow queries.

To install MySQL governor on cPanel server

yum install db-governor –enablerepo=cloudlinux-updates-testing
/usr/share/lve/dbgovernor/install-mysql.py –install

Note :

MySQL on cPanel servers will be updated from CloudLinux RPMs.

MySQL Governor is compatible only with MySQL 5.x

 

Google Apps plugin for cpanel

September 24th, 2012 No comments

How to install google apps plugin for cpanel.

Go to the below path where you want to download the tar file.

cd /usr/local/src/

Download the tar file.

[email protected] [/usr/local/src]# wget http://google-apps-wizard-cpanel-plugin.googlecode.com/files/gaw-2.0.tar

–2012-09-24 15:59:34– http://google-apps-wizard-cpanel-plugin.googlecode.com/files/gaw-2.0.tar
Resolving google-apps-wizard-cpanel-plugin.googlecode.com… 74.125.31.82, 2404:6800:4008:c00::52
Connecting to google-apps-wizard-cpanel-plugin.googlecode.com|74.125.31.82|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 184320 (180K) [application/octet-stream]
Saving to: `gaw-2.0.tar’

100%[==============================================================================================================================>] 184,320 144K/s in 1.3s

2012-09-24 15:59:41 (144 KB/s) – `gaw-2.0.tar’ saved [184320/184320]

Untar the file using the below command

[email protected][/usr/local/src]# tar -xvf gaw-2.0.tar
gaw-2.0/
gaw-2.0/gawinstall.sh
gaw-2.0/GoogleAppsWizard/
gaw-2.0/GoogleAppsWizard/remove.php
gaw-2.0/GoogleAppsWizard/step2.php
gaw-2.0/GoogleAppsWizard/step3.php
gaw-2.0/GoogleAppsWizard/lang/
gaw-2.0/GoogleAppsWizard/lang/en.php
gaw-2.0/GoogleAppsWizard/inc/
gaw-2.0/GoogleAppsWizard/inc/xml-api.php
gaw-2.0/GoogleAppsWizard/inc/config.inc.php
gaw-2.0/GoogleAppsWizard/index.php
gaw-2.0/gawuninstall.sh
gaw-2.0/whm/
gaw-2.0/whm/addon_gaw.cgi
gaw-2.0/whm/gaw/
gaw-2.0/whm/gaw/update.php
gaw-2.0/whm/gaw/footer.php
gaw-2.0/whm/gaw/img/
gaw-2.0/whm/gaw/img/error.png
gaw-2.0/whm/gaw/img/success.png
gaw-2.0/whm/gaw/navstyles.css
gaw-2.0/whm/gaw/header.php
gaw-2.0/whm/gaw/version.txt
gaw-2.0/whm/gaw/update/
gaw-2.0/whm/gaw/style.css
gaw-2.0/whm/gaw/index.php
gaw-2.0/whm/googleappswizard.gif
gaw-2.0/theme/
gaw-2.0/theme/gaw/
gaw-2.0/theme/gaw/Gapps.png
gaw-2.0/theme/gaw/index.php
gaw-2.0/theme/gaw/title-icon.jpg
gaw-2.0/googleappswizard.cpanelplugin
gaw-2.0/gawupdate.sh

Go inside the extracted folder

[email protected][/usr/local/src]# cd gaw-2.0

Run the below command to start the installation process.

[email protected][/usr/local/src/gaw-2.0]# sh gawinstall.sh

It will show the below output.

############################################################
# Installing Files #
############################################################

20% COMPLETE
40% COMPLETE
60% COMPLETE
80% COMPLETE
100% COMPLETE

############################################################
# Installing Files Complete #
############################################################
############################################################
# Installing Theme Files #
############################################################

Installed support for x3 theme…
Installed support for x3mail theme…

############################################################
# Installing Theme Files Completed #
############################################################
############################################################
# Updating cPanel User Interface #
# Please Wait… #
############################################################
##########################################################
################ Installation complete ###################
##########################################################

cPanel users will now have access to Google Apps Wizard from
the ‘Mail’ icon group in cPanel. You can use the feature
lists in WebHost Manager to see what domains are defined
to work with Google Apps mail servers.

 

How to install ConfigServer Mail Queues (cmq)

September 10th, 2012 No comments

How to install ConfigServer Mail Queues (cmq)

The product provides you with a full featured interface to the cPanel exim email queues from within WHM.

The ConfigServer Mail Queues can be an essential tool for:

  • Determining why inbound or outbound email delivery is failing
  • Deleting bounce emails
  • Deleting frozen (undeliverable) emails
  • Forcing queue runs (especially useful for Smart Router emails to Exchange servers that are intermittently online)
  • Integrates with MailScanner, if installed, to offer views/deletion of email in both the Pending and Delivery queues
  • Searching for and viewing/deleting emails to/from specific domains and addresses
  • Viewing the email history from the exim mail logs for specific emails
  • Retry delivery for specific emails

Installation

Go to /usr/local/src folder and download the cmq tar file using the below command.

wget http://www.configserver.com/free/cmq.tgz

Untar the file using the below command

tar -xzf cmq.tgz
cd into the directory created and run the install script:

cd cmq/
sh install.sh

Login to WHM and scroll to the bottom of the left hand menu and you should see “ConfigServer Mail Queues”

 

Uninstallation

Delete the below files.
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmqversion.txt
rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmq/

 

Categories: CPanel / WHM, Installation, WHM Plugins Tags:

How to install Installatron Plugin in cpanel/WHM

September 10th, 2012 No comments

How to install Installatron Plugin in cpanel/WHM

Installing without a license will install the free edition. This edition is full-featured, includes all applications, and there is no time limit. The only limitation is that the free edition will only work for the first domain that it’s used with.

Installation

For servers that support the RPM packaging standard, execute this command from the SSH root command prompt:

rpm -Uvh http://data1.installatron.com/installatron-plugin-cpanel-latest.noarch.rpm

For all other servers, execute these commands from the SSH root command prompt:

wget http://data1.installatron.com/installatron/installatron_setup.sh
chmod +x installatron_setup.sh
./installatron_setup.sh -f

 Uninstallation

Remove from the GUI:

rm -fr /usr/local/cpanel/3rdparty/installatron
rm -f /usr/local/cpanel/whostmgr/addonfeatures/installatron
rm -f /usr/local/cpanel/whostmgr/addonfeatures/itwidget
rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_installatron.cgi
rm -f /usr/local/cpanel/base/frontend/*/dynamicui/dynamicui_installatron.conf
rm -f /usr/local/cpanel/base/frontend/*/dynamicui/dynamicui_itwidget.conf
perl -pi -e 's/_in.+\s*//g' /root/cpanelbranding/*/dynamicui.conf
perl -pi -e 's/_in.+\s*//g' /home/*/cpanelbranding/*/dynamicui.conf
Delete the core:
rpm -e installatron-plugin-cpanel
rm -fr /usr/local/installatron
rm -fr /var/installatron
rm -f /etc/cron.d/installatron
Delete user install data (be careful!):
rm -fr /home/*/.installatron
Categories: CPanel / WHM, Installation, WHM Plugins Tags:

How to install php.ini manager plugin in WHM

September 10th, 2012 No comments

How to install php.ini manager plugin in WHM

PHP.ini Manager (phpinimgr) is a WHM plugin designed to help you manage custom php.ini files for your users. It will list all php.ini files in the users root and www folder. If you are using suPHP, you can laso use PHP.ini Manager to activate, edit and update custom php.ini files for your users.

 

Installation instructions

To install PHP.ini Manager, open a SSH connection to your server and execute the following commands:

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -O addon_phpinimgr.php http://download.how2.be/whm/phpinimgr/addon_phpinimgr.php.txt
chmod 700 addon_phpinimgr.php
You will now find PHP.ini Manager in WHM, under the Plugins section.

Uninstall instructions

If you want to remove PHP.ini Manager, just run these commands. Please note that this only removes the plugin. Any custom php.ini files that you have set and/or enabled will not be removed.

rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/phpinimgr/
rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_phpinimgr.php


Categories: CPanel / WHM, Installation, WHM Plugins Tags:

How to install MailScanner in CPanel

August 31st, 2012 No comments

How to install MailScanner in CPanel

 

If you have the cPanel Clamavconnector installed (WHM > Add-on Modules) remove it – it will break MailScanner.

Login to server via SSH now.

Download the package using the below link:

wget http://www.configserver.com/free/msinstall.tar.gz

Untar the package using the below command.

tar -xzf msinstall.tar.gz

go inside the folder.

cd msinstall/

run the below command to install it.

sh install.sh

It will show the below output.

[email protected] [/usr/local/src/msinstall]# sh install.sh

Installing MailScanner service into /etc/init.d/ …

`MailScanner’ -> `/etc/init.d/./MailScanner’
mode of `/etc/init.d/MailScanner’ changed to 0700 (rwx——)

Performing MailScanner installation/upgrade…
MailScanner Installation/Upgrade Script

It will ask the below details.

1 New installation – full perl module installation
2 New installation – quick perl module check

9 Quit

Select option 2 for quick perl module installation.

 

Categories: CPanel / WHM, Uncategorized, WHM Plugins Tags:

How to install WatchMySQL Plugin in WHM

June 30th, 2012 No comments

How to install WatchMySQL Plugin in WHM

Installation

Go to the below path

cd /sbin

Remove the file or take the backup

rm -f watchmysql

Download watchmysql plugin using the below link

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

Change the ownership of that file

chown root.root watchmysql

Change permission of the file.

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 = '[email protected]';

#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

 

Categories: CPanel / WHM, MySql, WHM Plugins Tags:

How to reset litespeed admin password

June 30th, 2012 No comments

How to reset litespeed admin password

Go to the below path

/usr/local/lsws/admin/misc

run the below command

sh admpass.sh

It will show below output

Please specify the user name of administrator.
This is the user name required to login the administration Web interface.

User name [admin]: admin

Please specify the administrator’s password.
This is the password required to login the administration Web interface.

Password:
Retype password:
Administrator’s username/password is updated successfully!

It will ask for the username type (admin) and password you want to set