Archive for the ‘Scripts’

  • Wordpress Update Script – 2.8.6 and Wordpress MU 2.8.5.2
    New Wordpress came out last Friday, Sorry about the delay updating the script. This script will update all instances of wordpress that are not the most current. Run it as root, it will make backups in /root/wp_upgrades of both databases and files in case things go wrong. It will determine if its a Wordpress or Wordpress Multi User and apply the correct fix. wget http://b.ri.mu/files/wordpress-upgrade-2.8.6.sh sh...
    by Liz Quilty at November 16th, 2009 at 08:11 am
  • Checking the checksum of installed packages
    Occasionally you just want a bit of piece of mind about your server or Linux install. You may suspect there is somebody who has hacked your computer or even something changed by a package install that shouldnt have been. Heres a couple of ideas on how to do a quick ‘health’ check on he md5sum of binary packages. Debian based people should install dlocate...
    by Liz Quilty at October 15th, 2009 at 01:10 pm
  • Timestamps on your bash history
    Often Iv’ve seen 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 a box was compromised. HISTTIMEFORMAT="%F-%R%t" now you can run the following command wishes@tulip:~$ history | tail -n 2 502 2009-10-15-11:26 vim...
    by Liz Quilty at October 15th, 2009 at 01:10 pm