Archive for the ‘Linux’ Category

We hold much of our server configuration within the office, which is restricted down by iptables. As such when spawning new instances on EC2 we need to allow access to our internal network via iptables, to allow nodes to connect to the office and configure themselves. The following script can be run within a crontab […]

I previously described how to configure HA Proxy and ucarp to load balance traffic between servers and share common IP addresses in the event of failure, however this still leaves holes in the availability of the application. The scenario only accounts for availability within a single data center and does not address how traffic and […]

Recently we had an issue with one of our hosting providers load balancing (LVS), which resulted in some very small outages. As a result we decided to setup our own load balancing that we had full control over, and could manage ourselves. In addition to choosing a better suited weighting algorithm. Each webserver is setup […]


In: Linux

8 Jul 2007

I’ve had alot of experience with other programming languages, however I had to learn C++ from scratch in a very short period of time, a number of weeks ago. This was to develop a real-time stock quote client, the goal was simply to push data from remote servers into our databases, filter what messages it […]

Installing memcached

In: Linux|PHP

7 Apr 2007

Recently I had to install memcache on a number of servers, and I would always tend to end up with errors whilst memcache tries to locate libevent. I always seem to forgett LD_DEBUG, so I figured I would write up the process for installing memcache. One of the dependencies of memcache is libevent, so firstly […]

A Couple Tidbits

In: Linux

24 Dec 2005

I can never seem to remember, how to remember how to reconfigure a subdomain with plesk without looking it up, so for quick reference. <directory /home/httpd/vhosts/> php_admin_value open_basedir none </directory> /usr/local/psa/admin/sbin/websrvmng -a OR /usr/local/psa/admin/sbin/websrvmng -u – Also, today I learnt that you cannot attach the onmouseover event to an option element. I found this rather […]

About this blog

I have been a developer for roughly 10 years and have worked with an extensive range of technologies. Whilst working for relatively small companies, I have worked with all aspects of the development life cycle, which has given me a broad and in-depth experience.