-
wordpress & wordpress MU mass upgrade script 2.9.2
Okay, I have rolled the usual ‘upgrade all instances of wordpress’ script. In this version i finally got around to checking the permissions prior to updating and changing the ownership of them back to that owner afterwards. This was breaking things and could be rather annoying before if you had more than 5 sites to…
-
Rimuhosting does LCA2010
A couple of the die hard Linux fanatics here at Rimuhosting decided to bribe the boss into letting us go to Linux.conf.au this year, and in fact even managed to get him to become a little blue penguin sponsor. Luckily we have a fantastic employer[1] who was keen to get rid of us. We had…
-
Whats using all my disk space up?
Often we get asked by customers ‘What is using up all my disk space on my VPS?’. Usually we track it down to log files not being rotated or email etc. Here are a few of the commands we use to do that.
-
Using incron to autocommit changes in a folder
I found this excellent blog post giving a nice example of incron useage at http://andrew.mcmillan.net.nz/blog/using_incron_to_autoversion_a_directory Normally when I edit files in /etc, I am focused on achieving something now, and not on being able to undo it later. To this end I have written myself a script which will commit the contents of a directory…
-
rdiff-backup script using sshfs for larger backups
We have had a few customers who have much more data to back up, and taking a copy of that every day uses a LOT of disk space and can be time consuming. The answer is rdiff-backup . It does incremental backups whenever you run it, only backing up the difference from the initial complete…
-
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 ) you may notice that it says You have version 29.’; located at /path/etc Just…
-
Trying out the new Thunderbird 3
One of my co-workers mentioned something about thunderbirds new features, i thought this is an excellent time to break my mail client! so promptly looked up installing the new thunderbird. My work box is Ubuntu, so here’s the easiest process to get Thunderbird 3 installed I used Ubuntuzilla to get the latest packages http://sourceforge.net/apps/mediawiki/ubuntuzilla/index.php?title=Main_Page echo…
-
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 those dates. This is a backup script that will backup your database and required files…
-
PHP 5.2 on Centos upgrade
Many of our customers request upgrading php to the latest stable version. Unfortunately CentOS does not have anything beyond 5.1.* in the official repository. We used to setup the remi repository as per http://rimuhosting.com/howto/php.jsp However, Remi moved on to the latest 5.3 branch. Unfortunately the 5.3 branch is not compatible with most php CMS/blogs out…