:::: MENU ::::

WordPress .htaccess rules for Nginx

This guide shows you the equivalent .htaccess rewrite rules to get WordPress working properly with permalinks on the Nginx web server.

There is no direct equivalent for .htaccess in Nginx, so you cannot copy and past the .htaccess rules that WordPress suggests when you change your permalink settings in the dashboard. Instead you need to add the following rules to you site local configuration file.

Continue Reading

How to automate Varnish cache purge

This guide shows you how to use the varnishadm command in your system crontab to automate Varnish cache purging.

Access your server as root or switch to the root user. If you installed Varnish from a repo you will have all the Varnish utility commands installed as well. You need to make sure that varnishadm is installed so run the command now. You will get an output asking you for switches and arguments. This is correct.

usage: varnishadm [-t timeout] [-S secretfile] -T [address]:port command [...]

Before going any further you may wish to read over the varnishadm manual pages, just to familiarise yourself with the command.

man varnishadm

As you can see from the man page you need to specify the host and secret file for issuing varnishadm commands. To purge the cache on local host you can use the following command.

varnishadm -T localhost:6082 -S /etc/varnish/secret url.purge .

Let’s break this command apart.

varnishadm -T localhost:6082

Continue Reading

SSH Timeout Problems on a Virgin Media Super Hub version 2

A commonly reported problem with the Virgin Media SuperHub is that an SSH connection will timeout. This is apparently due to the device having a very small amount of RAM leading to connection details being dropped.

If you are using a Mac or a Linux computer there is a solution, as follows.

First of all bring up a terminal on your respective machine. Then change to you .ssh directory.

cd /Users/username/.ssh/

Continue Reading

An announcement!

A couple of months ago I got back to thinking about where I’d like to be, not only career wise, but personally in a few years time. It’s incredible how my vision for the future has matured and developed as life has changed! I came to the conclusion that it was time for a change, with my second child now 8 months old and family life pretty settled, more specifically a career change.

I’ve been thinking about what I enjoy most about my role as General Manager at CatN: meeting with (potential) clients. More specifically I love that ‘eureka moment’ when the client sees the potential benefits that cloud technology will deliver. I’m a passionate technologist, and bouncing ideas around is great fun!

Continue Reading

Moving to cloud IaaS and PaaS – is it a silver bullet?

I was recently at a networking event where I got chatting to a founder of an Internet of Things consultancy company. We had very similar views about the confusion around cloud services – at the moment IaaS is the default choice (it doesn’t even have to be explained), but is this the best option?

This got me thinking, what are senior decision makers, or buyers, looking for with a move to a cloud platform. If buying decisions are being driven by a CIO then it’s probably going to be cost savings. This makes perfect sense; if you have ephemeral computing requirements then of course you should benefit from the race to the bottom between the big public IaaS providers.

Continue Reading

PaaS will change the face of technology in business

Platform as a Service is the least defined and smallest (annual spend) layer in the “* as a Service stack” despite being a growing market, but this is changing. Venturebeat explain the cloud layers well if you need a refresher – http://venturebeat.com/2011/11/14/cloud-iaas-paas-saas/.

Graph data from: http://www.idc.com/getdoc.jsp?containerId=prUS24298013

IaaS and SaaS dominate the market and are well understood. Use Google Apps or Salesforce? Then you’re using SaaS. Bought a virtual machine from a ‘cloud’ supplier? You’re using IaaS! The big gap is PaaS.

Now we’re seeing the same repeatable pattern of growth and development from the IaaS world in PaaS. Open-source projects are developing existing technologies (see Docker and LXC), then major vendors absorb / package / develop those technologies into (sometimes open source) off the shelf stacks. The big players are RedHat with OpenShift, and Pivotal (spin out from EMC and VMware) with CloudFoundry.

Think back to a maturing IaaS market before we began the race to the bottom we’re seeing now. If you wanted IaaS or API driven infrastructure then you’re buying public cloud.

Continue Reading