Archive | Tech
Why NOT to use Google’s DNS and similar
In the last 6 months or so it seems to have become very popular to use open DNS providers such as Google’s Public DNS or OpenDNS. I personally use Google all the time for testing as it’s simple to remember! However these should not be used for daily consumption because they break an important internet [...]
Continue reading...Simple MySQL replication cluster with load balancer on the slaves
11 May 2009
11 May 2009
Scenario Background This post is a follow on from my previous post on how to setup a load balanced high availability Apache cluster and uses the same network setup and heartbeat setup. For the purposes of testing and to save on resource I am using the web servers from the previous guide as the MySQL servers in [...]
Continue reading...Using cron to create website and MySQL backups that rotate nicely over a week
9 May 2009
9 May 2009
I wrote this for a PHP/MySQL site that needed to have it’s databases backed up hourly and the whole site including uploads backed up daily. They wanted all databases going back 24 hours every hour, and then all content going back 7 days every day. This creates a directory structure that looks like the following: In [...]
Continue reading...Compiling PHP with Oracle support on CentOS 5.2
30 April 2009
30 April 2009
Getting PHP and oracle to play nice is a massive pain, so this post is more a log for myself next time I have to do it more than anything else! The procedure requires you to compile PHP from source, so if thats not your thing or your easily scared don’t bother continuing! Firstly an enormous yum [...]
Continue reading...

15 December 2010
2 Comments