Tag: Automation

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

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

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

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

  • Using libcloud with RimuHosting

    Libcloud.org has merged our RimuHosting driver into their Python library.  All of our api functionality isn’t included in that driver, but there are a number of handy things that you can do via just a smattering of python code.  I’m going to write a few articles on this topic to demonstrate some of the cool…

  • WordPress Upgrade Script 2.8.5

    Heres a little Shell Script I wrote which, if run, will check your entire server for insecure versions of wordpress.  If it finds any, it will give you the option to upgrade. If you say yes it will backup the existing sites file and database in /root/wp_upgrade and upgrade it. Please Note: This has not…

  • Linux permissions, package management, chattr

    A customer emailed in today with a fresh install and was having problems with a basic upgrade. I tried running a yum update from the Webmin control panel, and got this error for the ‘rpm’ package: Updating : rpm [ 73/147]Error unpacking rpm package rpm-4.4.2.3-18.el5.i386 error: unpacking of archive failed on file /etc/cron.daily/rpm: cpio: rename…