MariaDB is an enhanced, drop-in replacement for MySQL – best of all, nobody from Oracle phones you trying to sell you a premium version!
I see many applications moving over to soon when Oracle steps up it’s marketing, after all, I assume that is why Oracle bought MySQL.
Here’s how I replaced MySQL with MariaDB on cPanel/WHM. Continue reading “How to replace MySQL with MariaDB in 11.36”
Bind has been insecure since before I started using the Internet. It has got better over the years, but not much.
It is quite common to hide Apache/nginx/PHP versions for security reasons and PCI Compliance. So why do we over look bind when securing our systems?
Continue reading “Hide Your Bind Version”
I have released version one of my WordPress Auto Install Script for cPanel.
This script can be run from /scripts/postwwwacct to automatically download, install WordPress and create the required database and database username.
No 3rd party licenses, scripts, FTP sessions. No outdated versions, always grabs the latest version from WordPress.org
This script is available upon request for £50. Get in touch for details.
I recently found a (cPanel) server was generating over 100Gb of core dumps every time a bad PHP script died or Apache died. Writing these generally useless (who actually debugs these on a live web server) to disk is a pointless waste of disk I/O, especially in a VPS environment.
Here is two methods of disabling core dumps; Continue reading “Disabling Core Dumps”
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”
Sometimes users mess with their own file permissions that they no longer work. They will probably then ring you and blame you in a loud, irritated voice. Here’s a simple shell script to fun that will fix all permissions in a users home directory on a cPanel server. Continue reading “Fixing cPanel File Permissions”
cPanel provides four different PHP Handlers, some are good, some are not so good.
Here’s a simple overview of the four options you have. Original site is currently down so I can’t trackback.
One of the first things I do is run /scripts/easyapache and rebuild my PHP / Apache configuration.
I usually select Apache 2.2 and PHP 5.2.9. At the time of writing I stay away from the 5.3 versions as they aren’t supported by programs and programmers enough yet.
Although this guide was originally inspired from a cPanel install, its Apache specific and doesn’t require cPanel.
- Continue reading “cPanel Apache Tuning”
You’ve got a main error log at /etc/httpd/logs/
And cPanel’s logs are in /usr/local/cpanel/logs/