Tags » CPanel

Apachebooster Cpanel

Dynamic sites are those which use a server-side technology such as PHP, normally closely a database following MySQL. In our court lawsuit, we have a la… 316 more words

Apachebooster

Find highest CPU, Memory & MySQL Usage for cPanel accounts

OUT=$(/usr/local/cpanel/bin/dcpumonview | grep -v Top | sed -e ‘s#<[^>]*># #g’ | while read i ; do NF=`echo $i | awk {‘print NF’}` ; if [[ “$NF” == “5” ]] ; then USER=`echo $i | awk {‘print $1’}`; OWNER=`grep -e “^OWNER=” /var/cpanel/users/$USER | cut -d= -f2` ; echo “$OWNER $i”; fi ; done) ; (echo “USER CPU” ; echo “$OUT” | sort -nrk4 | awk ‘{printf “%s %s%\n”,$2,$4}’ | head -5) | column -t ;echo;(echo -e “USER MEMORY” ; echo “$OUT” | sort -nrk5 | awk ‘{printf “%s %s%\n”,$2,$5}’ | head -5) | column -t ;echo;(echo -e “USER MYSQL” ; echo “$OUT” | sort -nrk6 | awk ‘{printf “%s %s%\n”,$2,$6}’ | head -5) | column -t ; 22 more words
Linux

Wordpress wp-cron.php changed to cPanel cron

To remedy cron jobs not running on WordPress (installed via cPanel), I disabled wp-cron.php in wp-config.php , and set up a job on cPanel.

“Icônes cPanel > Avancé > Tâches Cron” | PlanetHoster at  21 more words

Status

15 easy steps to secure your cPanel Server as rock hard


We use to perform server hardening and thought to share those steps. The following steps will suite for cPanel (CentOS).

At, Medha Hosting we do this 15 steps server hardening process. 14 more words

Fixing the cPanel SoftException writable by group

If you’ve been following these posts, we now have a lovely git push to deploy setup, and can ssh into our server without constantly needing to enter our password through the use of ssh keys. 188 more words

Web

How to access remote server with local phpMyAdmin client?

Just add below lines to your “config.inc.php” file in the bottom:

$i++;
$cfg['Servers'][$i]['host'] = 'HostName:port'; //provide hostname and port if other than default
$cfg['Servers'][$i]['user'] = 'userName';   //user name for your remote server
$cfg['Servers'][$i]['password'] = 'Password';  //password
$cfg['Servers'][$i]['auth_type'] = 'config';       // keep it as config
Server

Common paths in cPanel and WHM

For those users who use cPanel/WHM on their virtual or dedicated servers the following article describes common system paths and utilities.

Paths of Base Modules… 804 more words

Cpanel