Up and running on a Raspberry Pi

It's been a while. I know! The major problem was that running the blog and the web-site on the NAS device, alongside all the other services it supported was really cutting into the load on the NAS. So I'd decided that I wouldn't run the blog all the time.

However, I've recently decided that I'm going to host the actual web-site on a Raspberry Pi. And so it seemed reasonable to move the blog over and get it running on the pi.

It transpires that this is significantly easier than getting it all set up on the NAS. node.js is cross-compiled for the Pi (actually it looks like the most recent releases are no longer compiled which may be a problem longer term). In addition ghost just seems to work as well. The biggest hassle was working out how to reverse proxy nginx so that blog.bedewell.com forwarded to the correct port. In the end it turned out that you need to be very careful with ghost and ensure that you listen on 0.0.0.0:2368 and not on either the loopback or the actual IP address.

Finally I installed the supervisor process daemon and created the relevant config file for running the ghost node. Now, on reboot, all the web services come up.