Setting up Duplicity and Duply on a CentOS 6/7 cPanel box for S3 backups

I was pleasantly surprised at how easy it was to install Duply and Duplicity to enable S3 backups on my CentOS cPanel box. This is a bit rushed, so instructions are brief. If you notice anything wrong, please let me know in the comments and I fix it up.

Read more…

Installing Node, Bower and Gulp on a cPanel box

Updated for 2018 to use nvm. I’ve been using Node, npm, bower and gulp in my local Vagrant VM under Ubuntu. However, as one of my current projects will be shuffled off to a cPanel CentOS server soon, I thought I would check how easy it is to install all this on the cPanel side. This mini-how-to assumes you are running the latest cPanel (WHM 11.42.0 (build 23) as of this writing) running on CentOS 6. Assuming you have this configuration, then you will already have git installed and running as required by npm in some instances.

Read more…

Change MySQL 5.5 default character-set to UTF8

Last night cPanel upgraded the version of MySQL on one of our servers to the latest MySQL 5.5. Unfortunately this results in over 4000 emails from that server, crying that various websites couldn’t connect to the MySQL database. The error found in /var/log/mysqld.log was

InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 26214400 bytes!
131218 23:06:21 [ERROR] Plugin 'InnoDB' init function returned error.
131218 23:06:21 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
131218 23:06:21 [ERROR] /usr/sbin/mysqld: unknown variable 'default-character-set=utf8'
131218 23:06:21 [ERROR] Aborting


Read more…

Discrepancy between df and du-solved

Solution to a discrepancy between free space as shown by du and df.

Read more…

Fix for “User Access Manager” for WordPress

If you happen to be using the “User Access Manager” in your WordPress install, and you are using Permalinks, then you will need this fix. Without it, the redirect for logged out users won’t work, and they’ll end up on a 404 page.

Read more…

Installing Majordomo on a cPanel box with Exim

No frills tutorial on using Majordomo mailing list app on a cPanel box, while running Exim. I’ve used this on several boxes over the last five years without issue. The setup allows you to manage individual lists by domain. Each of your accounts can have their own majordomo lists. There is no control panel for this setup, and all the editing takes place on the commend line. Hope someone finds it useful.

Read more…

Installing Node.js and Python 2.7 on cPanel with a unique IP address

This is a small tutorial or how-to on how to install node.js on a cpanel box. Note to all that setting up an EC2 instance on Amazon and getting Node.js up and running was WAY easier than doing this on a cPanel box.

Read more…

Failed to parse (PNG conversion failed; check for correct installation of latex, dvips…

Read more…

cPanel ntp server time wrong

If you find that your cPanel server time is still wrong after setting the TimeZone and syncing the time, you may have to set the time manually once.

Read more…

Code-breaker Turing should be pardoned

Read more…