Upgrading to MySQL 5.1 in cPanel/WHM

Upgrading to MySQL 5.1 in cPanel is currently not the easiest thing in the world. I’ve seen guides detailing disabled various cPanel updates, hacking cPanel scripts and even installing your own 5.1 RPMs, all of which will probably end in tears at some point when cPanel runs one of its update scripts.

Heres the easiest and safest method I’ve found.

Continue reading “Upgrading to MySQL 5.1 in cPanel/WHM”

Installing RepoForge (RPMForge) in CentOS

RepoForge (RPMForge) contains over 5,000 extra packages for CentO. Many new packages and some updated packages not yet approved into the CentOS release repo.

1. Download the rpmforge-release package. Choose one of the two links below, selecting to match your host’s architecture. If you are unsure of which one to use you can check your architecture with the command uname -i Continue reading “Installing RepoForge (RPMForge) in CentOS”

Debugging WordPress

Debugging WordPress is actually quite simple. Stop yourself going grey and or bald.

In your wp-config.php, replace

define('WP_DEBUG', false);


define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);

This will turn on debugging and debug events will be wrote to wp-content/wp-debug.log. Bonzer!

Optionally, you can add, to turn off on screen error reporting if your php.ini isn’t already doing so.

define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);


Super simple Active Directory with Samba

I needed a super simple, straight forward way of installing samba on Ubuntu and joining it to an Active Directory domain.
This doesn’t allow you to login to Ubuntu with domain credentials but allows you to share and access files with domain credentials.

Heres how its done Continue reading “Super simple Active Directory with Samba”

Synchronizing time on a Windows 2003 domain controller

In a Windows domain environment its incredibly important that all clients & servers share the correct time. Its also important that this time is correct, otherwise your users go home early.

Here we’ll set your domain controller to get the time via NTP. Windows clients will then automatically collect the right time from their domain controller.

Continue reading “Synchronizing time on a Windows 2003 domain controller”