Uptime

1084 days on this internal monitoring machine. Unfortunately I had to take the machine down as I was replacing it.

Linux Find Not Owner

In Linux to find files not owned by user using the 'find' command we negate with the exclamation mark so rather than:find . -user jonnywe use:find . ! -user jonnyWhere:find <dir> ! -user <username>

VirtualBox 4.0 on Ubuntu 10.10 Maverick

Add the following to /etc/apt/sources.listdeb http://download.virtualbox.org/virtualbox/debian maverick contribThen run:wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -sudo apt-get updatesudo apt-get... » More

msconfig Startup Programs

This searchable list if programs could come in useful when disabling programs from starting on slow windows machines.

MySQL: Too Many Connections

On a shared server with MySQL and Apache the MySQL server was periodically disallowing connections as there were already too many connections. The default is 150+1 so I added the following to /etc/my.cnfmax_connections=200To increase the maximum number... » More

Clamd and Iptables

Running Clam on a separate machine to our Mail Transfer Agent we needed to configure iptables to allow access to clam from those machines. Clamd listens for connections on port 3310 by default but appears to hand off to other 'passive' ports for each... » More

Google Font Directory

The Droid Sans font from Google Font Directory is a lovely font with great readability for use on web pages.To use Droid Sans add a css link:<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>then in... » More

Dansguardian Randomise Rules

If you plan to use URLBlacklist.com or Shalla rules in Dansguardian you may suffer from very slow (or impossible) restarts of the daemon. Dansguardian prefers the rules randomized rather than in alphabetical order. I couldn't find the randomize lines... » More

Screen – Watching 2 log files at once

I needed to tail two log files in one terminal so on the server I was using:yum install screen  screenCtrl-A  c        Ctrl-A Shift-s Ctrl-A TAB     Ctrl-A "         Run "tail -f filename1" in one frame then Ctrl-A TAB to the other... » More