Well, today was fun.

We had some old drives with an installation of CentOS 5 on them that needed to be booted up so we could pull some data off, sounds easy right? no.

It goes like this –

  1. Insert old drives into new shiny chassis
  2. Power on said chassis
  3. Watch the bios and grub fly past
  4. Start feeling good man, right until BAM! Kernel panic
  5. Kill me now.

After reading through the logs and doing some Googling it turns out the storage drivers built into the kernel don’t support our new hardware…..yet.

In order to get this working we need to regenerate the initial RAM disk so the drivers are loaded early on. To do this I did the following –

  1. Boot the server using a recovery disk (CentOS 7 works good)
  2. Change root to the installation on the hard disk by mounting the necessary directories
  3. Backup the existing RAM disk
  4. Generate a new one
  5. Sync the disk and reboot

Boom, it now boots 🙂

CentOS have a great article on this here: https://wiki.centos.org/TipsAndTricks/CreateNewInitrd

 

Is your monitoring system telling you that that your MTA has too many connections? Odds are that someone is having a laugh and is holding too many connections open.

I’ve put together a little command that should identify the culprit:

root@server:~# netstat -anp | grep -P "(:993|:995|:143|:110)" | grep -i est | awk '{print $5;}' | sed 's/:[0-9]*//' | sort | uniq -c

Each IP should be listed by the number of connections it is making, find the one with the most connections and block 😀

I was born at a time where Cassette tapes were being phased out and CD’s phased in so by the time I had a good memory Cassettes were pretty much dead.

After being introduced to a rather awesome band GUNSHIP I learned that they offer their music on Cassette! So I thought Id invest in an old school Cassette deck and buy their GOLDEN!! Cassette.

My deck is a Pioneer CT-335 which I picked up off Ebay for the stellar price of £16, oh yeah.

It’s a really beautiful piece of kit.


The first thing I noticed when playing back the Cassette was how good it sounded! don’t get me wrong, It’s not CD quality but I swear it’s not far off.

There is quite a lot of static in the background which I believe is due to the fact the Cassette hasn’t been recorded with any Dolby Noise-Reduction which is a shame. But overall the songs sound great and It’s quite pleasant using something not seen much these days. I sound like a hipster but I’m really not I promise!

Here is a picture of the Cassette itself –

gunshiptapes2

Images of the Deck can be found here: http://www.hifi-pictures.net/cassette%20deck/Pioneer%20CT-335/

For some interesting information about Cassettes I highly recommend you give this a watch: https://www.youtube.com/watch?v=jVoSQP2yUYA

 

For literally years now I’ve had two major issues with my 2012 Razer Blackwidow.

  1. Occasionally keys would double press, making typing a fucking nightmare.
  2. When going into the Windows Lock screen the keyboard would for some reason keep the super key held down, making logging back in painful.

Luckily I found this post on Reddit with a link to a Firmware update for my Keyboard. Direct Link to F/W update here

After running the update things seem to have calmed down, I will need to monitor this over a couple of days to see how things go.

Fingers crossed!

razer-edit

 

 

 

 

 

[Update] 20/01/16 – Double press still present although much less, Windows lock screen issues haven’t shown up yet.

PSA – Do not buy Razer products.

So configuring Apache on Debian turns out to be a dream – Why can’t every distribution be this easy?

Configuring PermaLinks in WordPress requires you to set ‘AllowOverride’ to: ‘All’ which was just a simple case of –

#nano /etc/apache2/apache2.conf

Change this:

<Directory /var/www/>
 Options Indexes FollowSymLinks
 AllowOverride None
 Require all granted
</Directory>

To this:

<Directory /var/www/>
 Options Indexes FollowSymLinks
 AllowOverride All
 Require all granted
</Directory>