Jan. 3, 2012

This thing is great. I got it from VTech Industries for about $220 AUD. It is basically a mini GNU/Linux server with 2 giant hard drives in it. That price gets you a single 1TB drive and you can install your own drive in the other bay by removing the lid and dropping it in place. The unit, pictured below, is a bit taller and wider than three PC hard drives stacked together.

DNS-320

It comes with a reasonable web interface you can access over your LAN, but I installed the fun_plug hack on it by copying the files across the network and restarting the device - easy. That hack gets you SSH access, rsync, and a bunch of other Linuxy stuff.

We are storing our media and backups on it and it is basically perfect for that use-case. I now once again have a cron-and-rsync based regular backup of all of my servers in the USA, hooray! I'm also routing all SSH traffic to our ADSL router through to it so I can access the files on the device from outside our network if neccessary.

All in all I am very pleased with this purchase.

Dec. 29, 2011

fighty-dude.png

inspiration here

Dec. 21, 2011

IMG_20111211_182613.jpg IMG_20111211_182346.jpg IMG_20111211_182752.jpg

A piece of the world I really enjoy.

Dec. 17, 2011

Sometimes you want to test a bit of PHP code on your local machine without installing a full LAMP stack. Mongoose is a web server that will let you do that.

Under Ubuntu I first downloaded and installed the mongoose source code, then I installed the package php-cgi and here is the script called phpserve that I use to launch Mongoose in the top level directory of my PHP project:

#!/bin/bash
mongoose -e error.log -r `pwd` -i index.php -p 8000 -C .php -I /usr/bin/php-cgi

After that you can browse to http://localhost:8000/ and you should see your site.

Enjoy!

Dec. 7, 2011

mccormick-family-portrait-tallulah-birthday.jpg

Photo by Renee Glastonbury. Altered to obscure one nipple. :)