Archive for the ‘Computing and IT’ Category

x01 Setup – Xen – Personal Notes

yum install kernel-xen xen virt-manager Update /boot/grub/menu.lst to select the xen kernel (make sure it exists in boot) Reboot Install Mercurial (can’t use yum, but can get it from RPM Forge, which needs enabling using the commands here: https://rpmrepo.org/RPMforge/Using

Protecting your Data

Data is valuable! Not always to others, but I have files like photos,  old websites I developed, exam work, TV shows I’ve recorded (OMG it’s illegal, it was on a VHS tape too) on my drives, which I migrate to every new PC I purchase, it’s been 4 or 5 since 1996 (I’m 26 next [...]

Tags: , , , ,

Slipstreaming SATA Drivers onto a Windows XP CD

When Windows XP came out, SATA was cutting edge, and it didn’t detect sata drives during installation, which is a problem if you want windows to install and run from one of those drives. It’s fine if you’ve got a floppy drive as you can supply the drivers that way. However, most modern laptops have [...]

Tags: , ,

Reset a Modx Manager Password using SQL

If you’ve forgotten your manager password and you have access to the database and can issue mysql commands (phpmyadmin, or from a mysql command prompt). Use this to reset an account password, tbh, I would of hoped this system was salted (instead of using standard md5, maybe it was done intentionally to allow for this). [...]

Tags: , , ,

Cpanel – Pureftpd Max Clients Per IP Limit Reached

I had a few clients with a fast internet connection running into the pure-ftpd max clients per ip address limit of 8. Because it was happening quite frequently, I made the changes in the pure-ftpd config file located here: /etc/pure-ftpd.conf You can edit the file like so: nano /etc/pure-ftpd.conf Ctrl + W (for search) Type: [...]

Tags: , ,

How to categorise a blog?

I’m in a dilemma currently, how do I categorise the articles I write on my personal blog. One of the firsts things I did is take a look how Youtube categories content (http://www.youtube.com/browse), it’s pretty broad and generalised. I guess it’s done to make it easy to choose a category, the first one on the [...]

Tags: , ,

Installing iftop – Centos 5.2

iftop isn’t available to be installed with yum. So we need to install it using rpm. First thing we do is visit the official iftop website and download the rpm for redhat. http://www.ex-parrot.com/~pdw/iftop/ If you scroll down, you’ll find the latest version. At the time of writing this I used the following command from my [...]

Tags: , , , , ,

Disk Space Usage – Linux

What’s taking up all the space? A command prompt try some of the examples I list below: du –help This shows all the parameters you can supply the “du” command with. Typical combinations I use are as follows: du -h #human readable characters du -c #grand total displayed at end du * -s #summarise all [...]

Tags: , , ,

Mollom – 5 Month Result – It works! Drupal 6 Content Quality Control Module (Anti Spam)

Late last October, I was hunting for a solution to the ever increasing malicious content that gets posted through site forms on drupal sites  (that might be unfair, sites in general!). I had already tried out the Captcha module for a few months, but the module was buggy at the time (I believe it was [...]

Tags: , , , , ,

Modified 960 Grid System – 2+2px margins – 16 column only

I’ve modified the really cool 960 grid system, 16 column, so it works with smaller margins as I found them a little large on some sites. My version has 2px margins, it appears to work fine in most browsers without issue as well. I’ve also created a photoshop file so you can create your own [...]

Tags: , , ,