Categories
Apps & OS's Technology

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 […]

Categories
Coding 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 […]

Categories
Coding Technology

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

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 […]

Categories
Apps & OS's Technology

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 […]

Categories
Apps & OS's Technology

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 […]

Categories
Apps & OS's Technology

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 […]

Categories
Apps & OS's Technology

Installing NginX, MySQL, PHP, APC and Memcache on FreeBSD 9.0

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 […]

Categories
Apps & OS's Coding Technology

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 […]

Categories
Coding Technology

Enable auto-completion for CodeIgniter development in NetBeans 7.2

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 […]

Categories
Apps & OS's Technology

Configuring IPTables for a Ubuntu 12.04 web server

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 […]