Tag: Linux

  • Safe rm prevents accidents! try it!

    I found this the today http://www.safe-rm.org.nz/ , and having had the odd accident im most definitely going to be installing this on my own server! What is safe-rm? Safe-rm is a safety tool intended to prevent the accidental deletion of important files by replacing /bin/rm with a wrapper, which checks the given arguments against a…

  • libc6 vs libc6-xen problems with applications segfaulting

    We recieved the following email this morning which may be a problem from time to time with other users, so i thought I would share this. Subject: Seg faults on apache mysql and a couple of other less import programs. Probably need a fresh install. Message: Hi I have a serious problem with my VPS…

  • nginx hacking using proxy

    It sucks getting hacked Every now and then servers get hacked. Often because of an exploitable webapp, or because (most commonly) a weak, easily guessable password was used on a well known user account (like ‘root’ or ‘info’ or ‘test’). Once hackers gain access they often install some kind of malware. e.g. something that goes…

  • David’s Handy Scripts – bandwidth usage – disk usage

    I thought a useful addition to our blog might be a running series of handy scripts.  Just for the sake of things (and because I couldn’t find a better title), I’m calling the series “David’s Handy Scripts”.  I’ll get this show on the road with a quick script I put together to track 2 things…

  • Ubuntu 9.04 bug with networking directory creation

    We had a customer email in after updating to Jaunty recently. They said the following Hi guys, I upgraded my VPS a little while back to Ubuntu Jaunty (because I was several versions out of date and the apt repositories had gone away.) I never actually rebooted the machine afterwards though because it wasn’t a…

  • Fixing apache file and directory permissions

    I’ve seen this problem a few times, people having trouble getting the permissions right for websites. Heres a quick fix that will sort you in most cases For directories run find /path/to/domain/public_html/ -type d -print0 | xargs -0 chmod 755 Files run this one find /path/to/domain/public_html/ -type f | xargs chmod 644 Make sure you…

  • Introduction to the new Linux Sysadmin

    Recently we have had a few support requests come through from people who are new to Linux, and are unsure how to maintain a server at all. Package Management If your Linux distro is RedHat based (ie Centos, , then you will be using yum and RPM.   RPM is for doing individual package manipulation (installing,…

  • Chrome OS and Linux

    I had high hopes for netbooks bringing about an increased mindshare for Linux for ordinary users.  This didn’t quite pan out unfortunately and it’s nigh impossible to find a Linux netbook at a brick and mortar store these days.  Users loved the low price and mobility of a netbook, but (seemingly) didn’t appreciate the lack…