• checking the checksums of your binary 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 shouldn’t have been. Heres a couple of ideas on how to do a quick ‘health’ check on he md5sum […]

  • 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 a box was compromised. Glenn found this little snippet which is now default in all […]

  • sshmnt installation and useage for backups

    So you want to use sshfs to do a backup? We have had a couple of customers unsure what to do when the sshfs command is not found. Its not too hard to do. Debian based VPS can just run apt-get install sshfs Centos doesnt come with it by default and you need to install […]

  • Unsure who is sending spam? Try this

    Anyone who has hosted peoples websites before, has had  either a blog hacked, or some guy thinking he is going to send mass mailouts using PHP or similar happen. Its extremely hard to trackdown and deal with, and yet it can get your server listed at spam service denying legitimate email from getting through. This […]

  • Problems with HDDs, so Rimuhosting.com gets a hardware upgrade

    Procrastination is a horrible thing. A few weeks back Carl here setup a brand new Nehalem server for us to pop the RimuHosting website onto. RimuHosting had been running on one of our lowest speced Core 2 servers for couple of years now. And it had been doing pretty well. But hey, why not upgrade? […]

  • Does your VPS have MD5 enabled for passwords?

    We recently discovered that the way we install a VPS differs slightly from the usual CD install. This is not something we do specifically but something that can be improved on in the set-ups of CentOS5.3. When you install from a CD it automatically enables MD5 encryption in passwords (which should be the norm), however […]

  • One Java init script to rule them all

    Need an init script for a Java service? Like tomcat, liferay, or jboss? Regular Linux init scripts often don’t work so well. e.g. Java apps typically want to be run by a particular user (e.g. tomcat or liferay). e.g. They may require a ‘special’ shutdown mechanism (e.g. with Tomcat sending a signal to a particular port). So over the years I have had a handy-dandy script that can control most of my most commonly used Java apps (liferay, tomcat, jboss). It does things like start up the app as a particular user. Checks to ensure the app is responding on a URL before saying it is stared. Waits for the app to shutdown gracefully, else forces it to quit. And provides kill and killstart commands when you’re developing and just want the thing restarted! This morning I updated it to use the lsb logging methods. So the output is a bit prettier than the ‘old’ echo’s we used to use. The current version of the file will live at http://proj.ri.mu/javainitscript To use it wget that to the /etc/init.d directory on your server. Then rename (or symlink) it to the service you want to control. Currently the tomcat, liferay and jboss names are supported. Some excerpts from the script follow…

  • Has your VPS been hacked?

    If you use any pre-packaged software, it always pays to sign up to their mailing list or security advisory list. This means if any exploits or updates happen, you are on the ball and up to date. Today we had an email from a customer whos front page had been replaced. I noticed it was […]

  • Rimuhosting does Software Freedom Day

    Well I’m sure most geeks out there have heard of Software Freedom Day, it was the same day as Talk like a Pirate day!  I’m glad however that most people forgot ‘Talk Like a Pirate’ day however, since a good portion of the NZ Rimuhosting staff were helping out at the local SFD. John, Paul, […]

  • Is your VPS slow to login at all? Applications not running so fast?

    Often we will get customers emailing in saying that things are just running ‘slow’. Often when we login the first thing we notice is after the password has gone through it just hangs for a fair while before login. This is usually a sign that its trying to do a reverse DNS lookup and failing. […]