-
Upgrading to Karmic Koala ? VPS broken? Heres the fix!
If you upgraded to Ubuntu 9.10, and rebooted, and it hasn’t come back up, here’s what to do The first thing you try is the console https://rimuhosting.com/cp/vps/console.jsp . Add your key or setup a password and then ssh into the host it gives you to see if you actually have this problem. If you can…
-
Postfix problems that keep popping up
We have had several customers with postfix problems and they seem to be all of a similar nature, so i thought i would blog a couple. The most common one is trying to use both aliases and virtualhosts for a domain. Especially with Virtualmin which tries to do both. The main symptoms are something in…
-
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…
-
Small Shell Script for monitoring
A customer wanting to do basic monitoring , i had a google and found the following script which is very handy. #!/bin/bash # # Script to notify admin user if Linux,FreeBSD load crossed certain limit # It will send an email notification to admin. # # Copyright 2005 (c) nixCraft project # This is free…
-
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…
-
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…