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 »
Posts By: jonny
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.
Alt-Clicking in Photoshop Wine
On Ubuntu (9.10) choose System > Preferences > WindowsChange the ‘Alt’ click behaviour to the ‘Super’ key.
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 »
Apache Server Status OPTIONS *
Checking the Apache server-status page I noticed multiple lines like the following: 29-39 – 0/0/3162 . 32.26 8949 0 0.0 0.00 186.48 123.111.123.111 mywebsite.co.uk OPTIONS * HTTP/1.0 30-39 – 0/0/10 . 0.00 24324 0 0.0 0.00 0.04 123.111.123.111 mywebsite.co.uk OPTIONS * HTTP/1.0 The access_log for that website also showed: 123.111.123.111 – – [18/Nov/2009:09:28:44 +0000] “OPTIONS… Read more »