-
Small Shell Script for monitoring
A customer wanting to do basic monitoring , i had a google and found the following script which is very handy. #!/bin/bash # # Script to notify admin user if Linux,FreeBSD load crossed certain limit # It will send an email notification to admin. # # Copyright 2005 (c) nixCraft project # This is free…
-
Adding timestamps to your bash history
-
sshmnt installation and useage for backups
-
One Java init script to rule them all
Need an init script for a Java service? Like tomcat, liferay, or jboss? Regular Linux init scripts often don’t work so well. e.g. Java apps typically want to be run by a particular user (e.g. tomcat or liferay). e.g. They may require a ‘special’ shutdown mechanism (e.g. with Tomcat sending a signal to a particular…
-
Is your VPS slow to login at all? Applications not running so fast?
-
Safe rm prevents accidents! try it!
I found this the today http://www.safe-rm.org.nz/ , and having had the odd accident im most definitely going to be installing this on my own server! What is safe-rm? Safe-rm is a safety tool intended to prevent the accidental deletion of important files by replacing /bin/rm with a wrapper, which checks the given arguments against a…
-
libc6 vs libc6-xen problems with applications segfaulting
-
nginx hacking using proxy
It sucks getting hacked Every now and then servers get hacked. Often because of an exploitable webapp, or because (most commonly) a weak, easily guessable password was used on a well known user account (like ‘root’ or ‘info’ or ‘test’). Once hackers gain access they often install some kind of malware. e.g. something that goes…
-
David’s Handy Scripts – bandwidth usage – disk usage
-
Ubuntu 9.04 bug with networking directory creation
We had a customer email in after updating to Jaunty recently. They said the following Hi guys, I upgraded my VPS a little while back to Ubuntu Jaunty (because I was several versions out of date and the apt repositories had gone away.) I never actually rebooted the machine afterwards though because it wasn’t a…