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 ...
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...
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...
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...
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...
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...
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...
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...
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...