Archive | Tech

Why NOT to use Google’s DNS and similar

15 December 2010

2 Comments

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

10 Comments

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

2 Comments

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

0 Comments

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...
Call us now
01252 560 260