Tag: Server administration

  • 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…

  • Picking Your Distro

    We frequently get questions asking which distribution to choose. The short answer is – pick whatever distribution you’re currently using if it’s one that you like and are comfortable using. :) It’s not going to make a tremendous difference at the end of the day and the differences are mostly in the way you’ll manage…

  • 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…

  • Using the RimuHosting API to integrate with Server Density

    A few weeks back we released our RimuHosting server management API (which lets users programmatically do things like setup new servers, shut them down, resize their memory or disk and reboot them). Ivan here has been busy integrating our API into a few third party ‘cloud computing’ APIs.  Like libcloud, jclouds and deltacloud. The third…

  • Glassfish Installation Script

    We do a lot of Java hosting for our customers. As with any technology, there are a lot of different deployment scenarios to choose from. With Java we tend to see mostly Tomcat hosting because most folks don’t require a full fledged application server (and the associated memory costs that come along with it). JBoss…

  • 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…

  • 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…

  • WordPress Upgrade 2.9.0 + a bug

    Okay, I have rolled the usual ‘upgrade all instances of wordpress’ script however there is a bug in the current wordpress. Heres your script to upgrade them all. wget http://b.ri.mu/files/wordpress-upgrade-2.9.0.sh ; sh wordpress-upgrade-2.9.0.sh Heres the info in the bug. If you see a lot of this in your error log and your site is being…