Tag Archives: bash

WordPress mass update script 3.2.1

This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site … Continue reading

Posted in Security | Tagged , , , , , | Leave a comment

WordPress mass update script 3.1.4

This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site … Continue reading

Posted in Security | Tagged , , , , , , | Leave a comment

WordPress & WordPress MU mass upgrade script 3.0

Sorry for the slower than usual update this time. I was rather busy/sidetracked and left it for a day or two before doing it. Since it wasn't a exploit fix release i figured it wasn't a major. Anyway, here goes … Continue reading

Posted in Security | Tagged , , , , , , | 1 Comment

WordPress 2.9.1 mass upgrade script

Okay, I have rolled the usual ‘upgrade all instances of wordpress’ script. Heres your script to upgrade them all. wget http://b.ri.mu/files/wordpress-upgrade-2.9.1.sh ; sh wordpress-upgrade-2.9.1.sh Because the previous version has one less number (it shows up as 2.9 rather than 2.9.0 … Continue reading

Posted in Rimuhosting | Tagged , , , , , | Leave a comment

Quick and Easy Automatic Backup Script

At Rimuhosting we do a weekly snapshot backup of your VPS. This means that if anything goes wrong you can revert to the previous image. However since its weekly, not daily, you may find you have lost the data between … Continue reading

Posted in Featured, Rimuhosting | Tagged , , , , , , , , | Leave a comment

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 … Continue reading

Posted in Rimuhosting | Tagged , , , | Leave a comment

Adding timestamps to your bash history

Often we've had boxes compromised, or commands run that we have no idea who did it and at what time. Its very frustrating, especially when we have no idea if a customer did it, one of the staff, or if … Continue reading

Posted in Rimuhosting | Tagged , , | 1 Comment