Thursday, 8 January 2015

you may need to install the Net DBus module

fix this with:

sudo apt-get install --reinstall perl perl-base perl-modules system-tools-backends

Wednesday, 24 December 2014

Thursday, 16 October 2014

nano syntax highlighting

git clone
cd nanorc
make install
echo 'include ~/.nano/syntax/ALL.nanorc' >> ~/.nanorc

Thursday, 26 June 2014

how I resolved nrpe configure: error: C preprocessor /lib/cpp fails sanity check

rpm -qa | grep glibc

see all glibc installations

for example, on a problem machine I found:


yum erase glibc\*

install headers

yum install glibc-headers.x86_64 0:2.12-1.132.el6_5.2


Wednesday, 18 June 2014

Where can I download Sql Server Management Studio 2012

Microsoft didn't make it easy to find..

read the whole post before clicking the link and deciding this is the wrong download :)

when finished reading, go to link at bottom of this post:

is will say sql server 2012 express, ignore that, click download, a new window will pop up, tick the box

click next, download will start

Tuesday, 17 June 2014

using sqlserver jdbc driver with maven

Download the driver JAR from the link provided by Olaf and add it to your local Maven repository with;

mvn install:install-file -Dfile=sqljdbc4.jar -DartifactId=sqljdbc4 -Dversion=3.0 -Dpackaging=jar

Then add it to your project with;


Monday, 9 June 2014

install cassandra 2+ as service from package

the documentation on datastax website is out of date, to install the latest version of cassandra as a deb package and have it run as a service, enter the following in to terminal:

gpg --keyserver --recv 4BD736A82B5C1B00

gpg --export --armor 4BD736A82B5C1B00 | sudo apt-key add - && sudo apt-get update

sudo apt-get install cassandra