5 Ways to Get a User’s Disk Usage

This may seem pretty simple, but I see a lot of questions about how to get a user’s disk space usage on a cPanel user. I put together a quick list of 5 simple ways for the average admin:   1) Good ole’ cPanel/WHM. You can see the usage on the left-hand side of cPanel,…

Read more

Upgrading MySQL Without Breaking PHP

Update: Please be advised that this post does not apply to you if you’re running EasyApache 4, because EA4 uses PHP RPMs and MySQL client compatibility libraries. Please make sure you are following the instructions below that pertain to your system! There’s a dilemma among system administrators of high-traffic servers when it comes to doing…

Read more

Restoring Database Privileges

I’ve seen several cases in the last few months where database users seemingly “disappear” or privileges appear to become invalid when restoring MySQL data or an entire server from raw backups. This may commonly be attributed to a MySQL version mismatch, for example, when a server is running MySQL 5.0 and then is suddenly running…

Read more

Installing Custom MySQL Versions

Update 2/14/14: These instructions have been updated to apply to 11.36+. If at all possible, you should use WHM to install MySQL, however, if you need a version of MySQL outside of what they are offering in current cPanel versions, it is possible to install your own versions. These instructions can also be used to…

Read more

Removing WHM Disk Space Errors

If your server is approaching 99% disk space, your users may be aware of this before you are. At the 1% free margin, the following error will pop up when accessing certain features in cPanel and WHM: Sorry for the inconvience! The filesystem mounted at / on this server is running out of disk space.…

Read more

Fixing Quotas on a cPanel Server

If you go into WHM > List Accounts and all your accounts are showing an unlimited quota and 0 disk space usage, you probably have a quota problem. First thing, try running /scripts/fixquotas This’ll take a while depending on your current disk usage, but will usually fix the problem. If it doesn’t, make sure that…

Read more

Using Custom RBL’s with Exim and cPanel

cPanel 11.28 introduces an way to easily implement your own RBLs for Exim to perform lookups against.  To get started, log into WHM > Exim Configuration Editor and click on the RBLs tab, then Manage custom RBLs. From here, enter in the information for your RBL as follows: The DNS list would be the hostname…

Read more

Setting up a Red5 Flash Media Server

This post will explain a simple process for installing a Red5 Flash Media server in a VPS or Dedicated environment. Install Subversion and Java yum -y install java-1.7.0-openjdk java-1.7.0-openjdk-devel yum -y install subversion Install Ant (get the latest from http://ant.apache.org/bindownload.cgi) cd /opt wget http://apache.spinellicreations.com/ant/binaries/apache-ant-1.9.0-bin.zip unzip ant/binaries/apache-ant-1.9.0-bin.zip mv apache-ant-1.9.0 ant ln -s /opt/ant/bin/ant /usr/bin/ant Update bash…

Read more

Log in