Checking for Updates on Ubuntu

On Ubuntu/Debian servers install apticron with:apt-get install apticronThis will run a daily job and send an email with available updates. The email address can be amended in/etc/apitcron/apticron.confQuick, easy and useful!

Ubuntu Ibex (8.10), Opera and Flash

Opera is a great browser - magic wand, mouse gestures and less memory hungry than Firefox. It's also pretty good on the Wii. Install the .deb from www.opera.com/downloadThen to get flash working:sudo ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so... » More

Sophie make problems

I had a few stumbles when setting up Sophie, so for future reference:v3.05 checking for DllGetClassObject in -lsavi... noHave you downloaded the correct version of Sophos? There are a few versions available (AMD64 etc)v3.0 checking for SAVIsweepFile in... » More

Sophie Sweep finds virus but Sophie does not

I found that the sweep command would show a file as a virus yet some of these files were still getting through our mail system past Sophie. There wasn't much on the web describing this problem so I am posting here for future reference. In the sophie.savi... » More

Outlook messages stuck in Outbox

Slight problem today with emails stuck in users' outboxes in Outlook and for OWA users their messages were moving to the Drafts folder without being sent. Problem was that a few services on the server hadn't started automatically after an update.... » More

Removing Old IIS Logs

Simple powershell script to remove old IIS logs (or any other file for that matter).$pathToLogs = "C:\WINDOWS\system32\LogFiles\W3SVC1";$LogAgeTarget = 183; # Number of days of logs to keep$dteNow = Get-Date    if (Test-Path $pathToLogs){     ... » More

Swap Space Labels

A few issues today with a machine that had been left to boot with its swap space on the SAN. So I wanted to tell the machine to use the swap space on the local disk so I could refer to it in /etc/fstab by its label. So I tried:e2label /dev/sdf3... » More

MySQL Converting ISAM to MyISAM

Some old database tables needed to be converted. This can be done at the mysql command prompt with:ALTER TABLE tbl_name TYPE = MYISAM;Or using the script 'mysql_convert_table_format' which is located in the MySQL bin folder.... » More