Welcome

Welcome to my site, it's kind of my playground and sounding board. I can't promise everything is awesome on here but I do try!

About this Slider

This sliding panel is an example of the Widget/Plugin I wrote. You can find more information here

More Information and the code can be found on my Github page

The Social Media Stuff

CentOS Root Certificate Authority Failures

Posted by: on Jan 9, 2012 | No Comments Tags: , , , ,

Oh CentOS why you so annoying! I love you and hate you all at the same time!

When trying to add the shiny Github RSS feed on the right of the page I came up with CS errors that WordPress could not validate the SSL CA. This happens because CentOS had an old certificate authority bundle: /etc/pki/tls/certs/ca-bundle.crt

I found a blog post from last year here and made sense for my position!

Backup your existing file just so you don’t kill any kittens:

cp /etc/pki/tls/certs/ca-bundle.crt /root/kitten-basket

Then use magic to get the new one, I used the one found in the other blog post referenced above.

curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt

I restarted apache (not sure if I needed to but made sense!) and yippee it works!

A very Merry Christmas to all

Posted by: on Dec 26, 2011 | 2 Comments Tags:

Just wanted to wish anyone who does actually stop by here a very Merry Christmas and a happy new year!

PHP Mcrypt on CentOS 6

Posted by: on Aug 19, 2011 | 17 Comments Tags: , ,

Yay, CentOS 6 still doesn’t by default include mcrypt in it’s distribution on repositories.

There is hope, EPEL to the rescue again:


rpm -ivh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
yum update

You should see EPEL listed as the repos, then:


yum install php-mcrypt

Done.

**Please note the above download is for CentOS 6 x86_64**

Skipping characters whilst using nano over SSH from OS X Lion 10.7

Posted by: on Aug 2, 2011 | 7 Comments Tags: , , , , ,

Ever since upgrading to OSX Lion 10.7 I’ve been pulling my hair out. I spend a fair bit of time connected via SSH to remote servers using Terminal, ever since the upgrade when using Nano on a remote server I would get skipped characters and all sorts of wacky behaviour.

There is a fix!


Sneakily Apple changed the default way in which Terminal presents itself to remote servers, but you can go back!

Open Terminal and go to the Preferences (CMD+,) Hit Advanced and under emulation change “Declare terminal as” to xterm-color instead of xterm256-color.

Job Done

1and1 Dynamic Cloud Server Disk Allocation

Posted by: on Jun 11, 2011 | 2 Comments Tags: , , , ,

I have a Dynamic Cloud Server with 1 and 1 which should have 100GB of disk space. Imagine my surprise when after a few days I was getting alerts telling me that I was already out of space!

Checking the server it turned out that I only had 4GB assigned to /var!!!!

A quick call to 1 and 1 revealed why. Although I did have 100GB available to me the retards at 1 and 1 decided that us server owners should work out ourselves how to use LVM to increase our partitions from the devices ourselves! NO WARNING, NO NOTES NO NOTHING!

So after speaking to a server tech (who agreed that it was bloody stupid that customers weren’t warned about this) I was pointed to a useful FAQ that helped me increase my partition sizes.

It is also worth noting that if you increase your available disk space form the cloud server menu you need to follow a seperate FAQ to get your server to use it!

How can I increase a Logical Volume
How do I assign additional disk space on a Linux DCS?

If you goto faq.1and1.co.uk and search for LVM these articles come up.