Posts By: jonny

Debian chkconfig

On Debian-based systems adding a script to runlevels is accomplished with the following (assuming you have the script in /etc/init.d): update-rc.d -f myservicename start 80 2 3 4 5 . stop 30 0 1 6 . The priority (80 for start and 30 forstop) is set and the runlevels (starting in 2 3 4 5… Read more »

Set MySQL to Read-Only

For a backup server which we may want to run as read-only for short maintenance periods the following may be useful.Method 1: Global read_onlyLogin to MySQL and set the read_only setting to true: mysql -u root -pset GLOBAL read_only = true; To unset this run: set GLOBAL read_only = false; Method 2: Read LockAnother method… Read more »

DVD-RAM on Ubuntu

Some small steps with DVD-RAM on Ubuntu 9.10. I inserted a blank DVD-RAM disk and it was not automatically mounted. I tried mounting but there was no filesystem, so I formatted it as a test with: mkfs.ext2 /dev/sr0 which took a while!Then mounted it with: sudo mount /dev/sr0 /home/me/tmp/dvdram -o rw Unmounted with: sudo umount… Read more »

Backupify Cloud Backups

As an extra precaution to protect data in the cloud I set up a free Backupify account which can be configured to make daily/weekly backups of Blogs, Gmail, Google Docs etc.  After making backups the individual files/emails can be browsed and downloaded. I imagine that the restore process will only get better. I would at… Read more »

Ophcrack Recover Passwords

Ophcrack LiveCD can be used to recover lost Windows passwords based on rainbow tables. It is a very efficient implementation of rainbow tables done by the inventors of the method. It comes with a Graphical User Interface and runs on multiple platforms.

Exchange Offline Address Book Not Updating

Some users where complaining about the Offline Address Book being out-of-date. Checking the Event Viewer on the cluster node which creates the OAB showed the following error: OALGen detected that the file ‘…..lzx’ is corruptedor missing. This indicates data tampering or disk problems. Restorefiles in this folder from the recent backup or clean up folder… Read more »

Photoshop-like Actions in Gimp

An easy way to add some of the menu items familiar to Photoshop users, such as: Layer Styles such as Drop-shadow, Inner Glow, Outer Glow etc Save for Web Smart Sharpen Batch Processing Contact Sheet Much more… Install using Synaptic Package Manager search for gimp-plugin-registry or from the command line: sudo apt-get install gimp-plugin-registry Some… Read more »

ZSNES on Ubuntu Karmic 64-bit

As per this post on the Ubuntu forums: Download the 32-bit deb installer Install with: sudo dpkg -i –force-architecture zsnes_1.510-2.2ubuntu2_i386.deb Run with: zsnes -ad sdl

Website Statistics with Visitors

As a useful addition to the webstats armory Visitors offers a quick way of getting a HTML report of site usage from server logs. We mainly use AWstats, Webalizer and Analytics products (Google Analytics, Piwik) but I found Visitors useful today. Install from Synaptic or with: sudo apt-get install visitors Then run it against your… Read more »