Coding
New Blog for 2019
I realised over the holiday period that I had not changed my blogging theme since 2009, and with the new year fast approaching it was high time to give it a spruce up.
I wanted to make sure the new blog was “mobile friendly” and have categories and recent post blocks, as well as pagination of all posts on the site.
As my HTML/CSS/JS skills are not particularly up to date, I turned to the excellent Hugo site generator, and used the Mainroad theme.
Patching PHP 5.6 SOAP Proxy Bug
Recently I wrote my first PHP patch to fix an issue with the SOAP module when using HTTP proxies in an unsupported version of PHP (5.6).
October 2013 RPM Updates
Hot on the heals of the CentOS 5.10, PHP 5.4.21 and PHP 5.5.5 releases, my RPMs have now been updated as follows:
Installing Sublime Text on Fedora 19
Sublime Text is a very good, but lightweight text editor for Windows, Mac and Linux.
Unfortunately the developers do not provide packages for Fedora (or any Linux distribution) and because it is non-free it is not in the Fedora official repositories.
This is how to install it and create a launcher for Fedora 19 using Gnome3.
Problems with CentOS 5.9, Postfix and MySQL
The latest version of CentOS, 5.9, has updated their Postfix (an SMTP mail server) package to require mysql because it now supports reading user and domain lists from a MySQL database.
Unfortunately this has caused issues with anyone using the Oracle or MariaDB MySQL distributions.
Apache logging to central syslog server
Apache web server traditionally writes to local log files in /var/log/httpd.
At work we have been looking into PCI compliance, and it requires that log files are stored centrally so that if a server gets compromised and the local log files are modified, there is still an authoritative copy on the central log server.