Archive for the ‘Linux’ Category

New Machine and Being Stuck in Linux Theming Hell

Monday, April 29th, 2013

Oh Jesus, where to start?... Read More

MySQL Slave Replication in 6 Quick Steps

Monday, March 11th, 2013

Update: Apparently the master connection info gets cached in /var/lib/mysql/master.info so whenever you change the settings in my.cnf you need to remove it before you restart mysql.... Read More

DKIM with Postfix - My Multiple Site Setup

Monday, December 31st, 2012

I honestly can’t remember where I originally got my setup from. This is a pretty good tutorial though.... Read More

Routing to virtual localhost sites on LAN devices with Squid3 in Ubuntu

Wednesday, November 21st, 2012

I just got an 4th gen iPad to test mobile sites with. Unfortunately there is no proper jailbreak for it yet so editing the hosts file on the machine itself was out of the question.... Read More

Xmodmap for quick PHP programming in Linux

Tuesday, September 25th, 2012

When I program Clojure and PicoLisp I use Emacs and it’s the way things are done in Emacs which inspired me to looking into making myself more productive doing PHP in Eclipse.... Read More

Moving the MySQL database directory to different drive on Ubuntu

Thursday, May 24th, 2012

I have a server where there are two RAID1 disks where the second disk is mounted on /mnt/data, having the MySQL database there would be great as it then would have a whole disk all by itself without having to share with other processes that read and write to the same disk. I/O is often the bottleneck and now we make sure it gets as good as it can be with the hardware we have.... Read More

From Win/Linux dual boot to Linux RAID

Monday, May 21st, 2012

I’ve just had a shit of a time going from a dual boot setup with Windows on sda and Ubuntu on sdb to a Ubuntu only software RAID1 setup using both drives without having to erase or otherwise screw up the existing Ubuntu install on sdb (I’m using Lucid Lynx). ... Read More

RAM Cache and Redirecting to it in Apache

Sunday, February 26th, 2012

I’ve just had to cache all images on a site in RAM in order to limit the amount of disc scratching going on.... Read More

Server monitoring with SYSSTAT and kSAR

Sunday, December 11th, 2011

It’s hard to beat the SYSSTAT / kSAR combo for easy and quick setup of monitoring servers and in this tutorial you will see how it’s done.... Read More

Automating Gnome Terminal with xdotool + some Terminator short cuts

Sunday, August 28th, 2011

I’m currently debugging stuff which requires me to begin every session with opening up 3 gnome terminal tabs and executing a different command in each just to get started.... Read More