Installing PHP and MySQL on MacOSX using MacPorts for development.

Ok so this is aimed at being a very quick guide to installing a PHP (specifically PHP 5.4, but you can install PHP 5.3 or.PHP 5.5 if you wish!) development environment and MySQL server to enable you to develop (using the built in PHP development server) and MySQL on an MacOSX based machine, so to […]

Using Composer in your own PHP projects with your own Git packages/libraries

Composer is fast becoming the defacto standard for managing packages and dependencies in PHP applications. Composer is like Bundler, a dependency manager for Ruby on Rails! In this post I’ll be showing you how you can configure your own application to use Composer’s features and how  to automatically install and update your own packages from GitHub. In […]

Cloning linux servers easily in VirtualBox without network cards

I thought I’d share a little trick with you that I’ve recently used to enable easier cloning of virtual machines in Virtualbox (for my local development enviroment on my MacBook Pro)… Those who have attempted to ‘clone’ virtual machines in the past may have found that when attempting to clone Linux Server VM’s (specially in […]

Creating a highly available file server cluster for a web farm using Ubuntu 12.04 LTS

Following on from my previous post about setting up a highly available web server cluster, this post covers the next step, which is setting up a highly available file server cluster, after some research I’ve decided to use GlusterFS, GlusterFS is a  an open source, distributed file system capable of scaling to several petabytes (actually, 72 brontobytes!) and handling thousands […]

Installing a high availability web server cluster on Ubuntu 12.04 LTS using HAProxy, HeartBeat and Nginx

Here are a few notes about how to set-up a high-availability web server farm using Ubuntu 12.04 LTS using a whole load of awesome software (HAProxy, HeartBeat, Watchdog and Nginx) The setup In my setup I have five virtual machines, these are named and used for the following:- haproxy1 – Our first proxy (master)/load-balancer (running HAProxy, HeartBeat […]

Installing the latest version of Ruby & Ruby On Rails on MacOSX (using RVM)

Installing Ruby (the latest version) and Rails (using RVM) on MacOSX is rather easy, this quick post will run you through installing Ruby and Rails using RVM (Ruby Version Manager) which apparently what all the ‘cool kids’ use to install rails with etc. By following these few simple steps and you should be up and […]