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.
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.
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
If you're running a new CentOS 6 server, depending on how it was setup, you might be missing whois: yum install bind-utils jwhois
Solution to a discrepancy between free space as shown by `du` and `df`.
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.
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.
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.
If you are planning on using Math in mediawiki, and you have everything installed (Math, math, texvc, latex, dvipng) but you still get the error: Failed to parse (PNG conversion failed; check for…
Although you should NOT be using FTP, if you need to for some reason, like we did on one server, and some people can't upload files, this might be the issue. We run APF firewall on some servers. A…