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 […]
Category: Technology
How to delete a remote tag on GitHub
I use the awesome services from GitHub for hosting both my personal and private git repositories and although you’d probably never need to do this, its good to know how to do this if you ever needed too for such scenarios as if you have accidentally ‘tagged’ a release and need to quickly add a […]
Composer is fast becoming the de facto 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 […]
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 […]
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 […]
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 […]
The aim of this post is to document the installation of Nginx, MySQL, PHP, APC and Memcache specifically to work as a web application server for hosting a FuelPHP application. First of all I will assume that you have already installed the base OS, configured an IP address and logged into your server using the […]
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 […]
I thought I’d share up this very useful script that I found today, I guess that as you’re viewing this page you want to enable the lovely code auto-completeion features that NetBeans supports and as by default you’ve found that NetBeans doesn’t support this for CodeIgnitor. So here’s the fix:- Download netbeans_autocomplete_codeigniter file (Contains mainly PHP […]
I recently re-built my personal web server and did a whole load of optimisations and server harding so I thought I’d document the installation of IPTables which made up one part. IPTables is a well known Linux firewall, I’ve decided to use it on my server as it’s easily avaliable from the Ubuntu package repository… Let’s start […]