linux Archive
-
Simple BASH script lockfiles
Posted on April 2, 2011 | No CommentsLOCKFILE=/var/lock/my-script.lock # Check if we're already running (set -C; : > $LOCKFILE) 2> /dev/null if [ $? != "0" ]; then echo "Lockfile exists, exiting" exit 1 fi ... -
Ubuntu Installation Notes #3
Posted on June 26, 2010 | No CommentsFollowing on from my previous notes, here’s some more. Again, if this isn’t interesting exits are located to the front, rear and sides. You may have to go backwards to... -
Ubuntu Installation Notes #2 – Trac and Apache2
Posted on November 30, 2009 | 2 CommentsThis follows on from my previous Ubuntu Installation Notes. It may not make sense to you, it’s mostly just so I can repair my server the next time it breaks... -
Ubuntu 9.10 Installation Notes
Posted on November 17, 2009 | 3 CommentsUpgrading my server to the latest Ubuntu Server has been slightly traumatic. I learnt it’s a really really bad idea to do an upgrade over SSH, because when the machine...




