Updating VirtualBox on CentOS 6


After setting up a headless VirtualBox environment on your server, there comes a time when you realize you’ve been using the same old version for so long… that updating doesn’t sound so bad.

If you’ve installed VirtualBox from the repositories, you might enjoy an (almost) painless update procedure. Or not…

Start by making sure… Continue reading

How to recover saved wifi passwords in Android


Be it your neighbour’s network or your friend’s (whom you visit once a year) wifi, those pesky twisted hard-to-remember passwords ask to be forgotten. But your trusty Android phone remembers them all.

Wouldn’t it be great if it could tell them to you? Well, if you have a rooted device, you’re in luck. You can quickly re-discover the password of all networks you’ve saved them for. Use your favourite file manager and… Continue reading

Alert via SMS on power failure and hibernate the system


When using a system to host your important (or critical) operations, being able to get informed of issues while you’re away is a very handy function. Email is good for notifications, but it isn’t always fast enough (and constant checks drain battery power).

SMS on the other hand, is an almost instant alert method and although length-limited, should do the job just fine for those very important, must have alerts. For this setup you will need… Continue reading

Quickly limiting access to php scripts using .htaccess


Sometimes one needs to quickly block access to offending scripts – like for instance when a site has been hacked and malicious files have been uploaded to the account and are used to send out spam emails.

Apache provides a simple way to block out files from being accessible to visitors. And as most intrusions involve directly access hacked php files, the bit below will do wonders at blocking out those direct calls while leaving the main site fully functional (sort of). Continue reading