Showing posts with label CLI. Show all posts
Showing posts with label CLI. Show all posts

Tuesday, February 5, 2013

Disable cPanel cPHulk From The Command Line Console SSH

To Disable:
/usr/local/cpanel/bin/cphulk_pam_ctl --disable
--OR--
/usr/local/cpanel/etc/init/stopcphulkd stop
To Enable:
/usr/local/cpanel/bin/cphulk_pam_ctl --enable

Wednesday, January 16, 2013

Determine Version Of GlobalSign OneClickSSL From Command Line

cat /usr/local/cpanel/Cpanel/GlobalSign/Models/Config.pm | grep VERSION | head -1 | cut -d "'" -f 2
The latest version can be found here:
http://globalsign.com/downloads/oneclickssl/cpanel/updates.config

Determine Version Of CSF From Command Line

csf -v
This will give you ALL the information, but if you want just the numeric version:
csf -v | cut -d ' ' -f 2

Determine Version Of PHP From Command Line

php -v
This will give you ALL the information, but if you want just the numeric version:
php -v | head -1 | cut -d ' ' -f 2

Determine Version Of MySQL From Command Line

mysql -V

Determine Version Of WHMXtra From Command Line

/usr/local/cpanel/whostmgr/docroot/themes/x/xtra/current
The latest version can be found here:
http://www.whmxtra.com/pro/versions/latest

Determine Version Of Zamfoo From Command Line

/usr/local/cpanel/whostmgr/docroot/cgi/zamfoo/zamfoo_reseller_version.cgi

Determine Version Of cPanel From Command Line

/usr/local/cpanel/cpanel -V