Glorious Gluster – How to setup GlusterFS on Rackspace Cloud and Ubuntu 12.10

A few of our projects recently called for a distributed file-system that provided high availability and redundancy. After a tip off from a fellow techie and a quick browse around the net it appeared that a solution called GlusterFS appeared to tick all the boxes for what we were wanting. However setting it up turned … Continue reading Glorious Gluster – How to setup GlusterFS on Rackspace Cloud and Ubuntu 12.10

Docblock, Oh Docblock, wherefore art thou Docblock (hint: Zend Optimizer Plus lost them)

tl;dr> I make a terrible assumption about Zend Optimizer+ and am corrected by Dominic in the comments; Terrible post title I know but its the best I could come up with. I've just come up for air after spending the majority of the day debugging some issues on our current development sandbox. Now our sandbox … Continue reading Docblock, Oh Docblock, wherefore art thou Docblock (hint: Zend Optimizer Plus lost them)

Our Redmine install died, We all cried!

We have been using redmine for quite a long time and a few months ago attempted to upgrade from 1.3 to 2.something. Unfortunately I (quite typically) borked the installation and since then its been hobbling along after my attempts to fix it left it crippled. Yesterday it finally gave up the fight and my attempts … Continue reading Our Redmine install died, We all cried!

Quick and easy setup of and connection to NRPE on Ubuntu

About NRPE NRPE (Nagios Remote Plugin Executor) is a useful tool that allows you to execute scripts on remote servers and return the output for ingestion by some form of monitoring software. Setup We currently have our own instance of Icinga running to monitor our servers and have recently started to offer access to it … Continue reading Quick and easy setup of and connection to NRPE on Ubuntu

Debug PHP CLI on Remote Server with Xdebug and PHPStorm

This was a head scratcher when I ran into this yesterday and I thought I would share my solution to the following scenario: I need to debug PHP Command Line script, located on Remote LAMP Virtual WebServer running in Virtual Box with a Shared Folder, using local PHPStorm 5.0. The solution: You first must set … Continue reading Debug PHP CLI on Remote Server with Xdebug and PHPStorm

Compiling Apache 2.4 on Ubuntu 12.04

I've decided that I need to up my game when it comes to webservers. However I'm not yet ready to switch to Nginx or one of the other webservers out in the wild as I need something up and running rapidly. Granted the numbers are definitely against Apache in a lot of benchmarks but historically … Continue reading Compiling Apache 2.4 on Ubuntu 12.04

Compiling PHP 5.4 on Ubuntu 12.04

So recently I've been working with PHP 5.4 a LOT. Unfortunately Ubuntu (my main dev environment) is behind the times. So I'm resorting to compiling PHP manually. Not a daunting as it may first appear. The really tricky part is working out your dependencies and `configure` script. Hence the reason for this post as a … Continue reading Compiling PHP 5.4 on Ubuntu 12.04

Registering custom view helpers in ZF2

If you want to register custom view helpers with a module you can do so by using the service location built into the Skeleton Application and creating a module config that looks something like. return array( 'view_helpers' => array( 'invokables' => array( // generic view helpers 'truncate' => 'Zucchi\View\Helper\Truncate', // form based view helpers 'bootstrapForm' … Continue reading Registering custom view helpers in ZF2