calum.org:~#

Page 9 of 20


SELinux tips

Posted on:

There are SELinux commands that I don't run often enough to remember, but often enough to be worth writing down in one place. This is that place. Allow SSH to bind to a different port semanage port -a -t ssh_port_t -p tcp 2222 Allow SSH to read ...

Table football

Posted on:

I have a small blister or callous on my left palm due to playing table football at work. That's a pretty cool reason why though.

When things go wrong on Linux

Posted on:

When something goes wrong on a Linux box, we often need to get it fixed as soon as possible. Some people might know the "free" command, or perhaps "top", but there are many useful tools that will help you find out exactly what's going on. Before I...

Quick virtualisation guide

Posted on:

If you run Linux, and have a recentish CPU, then setting up KVM virtual machines should be a complete doddle. I am running CentOS 6.7, and the installed guest will be 6.7 as well. Two quick pre-flight checks first. grep -E '(vmx|svm)' /proc/cpuin...

Thailand 2012

Posted on:

Just got back from my first trip to South East Asia. I decided to "dip my toe in the water" with Thailand, as it is meant to be a very easy country to travel around. I completely loved it. The people are amazing, it's hot, it's cheap, and there...

Snooker commentators

Posted on:

I really enjoy watching snooker on TV. However, it really bugs me that the commentators have terrible grammar. I don't even think it can be totally put down to regional dialects, as we have commentators from all over the UK. The worst culprit is Joh...

Monitoring PermGen usage

Posted on:

java.lang.OutOfMemoryError: PermGen space If you use Tomcat, and redeploy your webapps quite often, you'll probably have hit the "Out of Permgen" memory message. When that happens, restarting Tomcat is the only solution. (I suppose ideally you sho...

Breaking Bad

Posted on:

I'd never heard of this drama series, but an article on The Register (called Why British TV drama is crap) put me on the scent. Not entirely sure how good The Reg's TV advice is, I downloaded it, and got totally gripped by it. I watched all 4 Season...

Britain needs a better anthem

Posted on:

With the Olympics coming up, Britain doing quite well in Formula one (drivers and/or teams), and the current Euro 2012 tournament, I think we need a better national anthem. Our one is a miserable, slow, dirge. For example, I much prefer the French, A...

Unusual carcinogens

Posted on:

There was a recent news report that stated that diesel (fumes? exhaust particulates?) cause cancer. I didn't see anything about how much is required and what the risk is over what length of time. Linked was a PDF which detailed other substances caus...