So my laptop graphics card is legacy! And on a Windows 7 install the graphics were poor – not sure whether to blame AMD or Microsoft because it was all [...]
Apr
2012
BIND Convert Slave Raw Format
In Bind v9.9.0 the default option for zone file format on a slave is a raw binary format. For troubleshooting these can be converted back to text using named-compilezone. An [...]
Apr
2012
ProFTPd CentOS 6: PAM unable to dlopen /lib64/security/pam_stack.so
Installed ProFTPd on CentOS 6 and found that users could not log in. The proftpd logs showed: USER jonny (Login failed): Incorrect password. The /var/log/secure log showed: proftpd: PAM unable [...]
Apr
2012
WordPress Galleries
The quick way to add Galleries to WordPress is illustrated below: First create a new Page (with the Gallery page as a parent if necessary) Click the Upload/Insert icon above [...]
Apr
2012
Web Screenshots with Xvfb and Khtml2Png2
To get that headless Linux server capturing screenshots of web pages we need: Xvfb e.g. apt-get install xvfb Khtml2png2 (and dependencies) After installation of the above the steps are below [...]
Apr
2012
Beginning PostgreSQL
As a MySQL user for a number of years I needed a translation tutorial from MySQL to PostgreSQL. So to get started on CentOS: Installation yum install postgresql-server If you [...]
Apr
2012
Crossover Cable
My first crossover cable. I used the following diagram from Tournas Dimitrios’ Blog: So the normal ends of the cable is wired as T-568B as shown above on the right. [...]
Mar
2012
Image data does not exist. Please re-upload the image
I had this error message when uploading images in WordPress. Image dimensions were set to 0×0 and the thumbnails did not appear. A quick scan of the Apache logs PHP [...]
Mar
2012
LAMP Performance
The following scripts can help in determining good values for Apache and MySQL configurations based on the amount of memory available: MySQL Tuner Apache Tuner Apache Buddy The following will [...]
Mar
2012
Remove Line Breaks with tr
I had a text file with multiple lines of input that I was manipulating using awk and sed but I found the following ‘tr’ command easiest to remove the line [...]

