Author: admin

My server was running 2x 1TB disks in a mirror, and I needed more space, so I purchased 2x 2TB disks. The following steps demonstrate how I expanded the RAID volume to 2TB without data loss. My RAID array /dev/md1 consisted of two RAID members, /dev/sdc and /dev/sdd. First step was to remove one of…

Getting MPD to work with the ALSA Equaliser plugin I found a few sites with ‘howtos’ for this, although none of them worked for me. First thing to do is ensure your MPD installation is working properly, and playing music through your chosen device. If you have any problems getting MPD to work, then go…

See this article for NAT configuration. Hairpin NAT configuration: The above (see the NAT howto) all works very well if your 192.168.1.x hosts sit in a DMZ on the firewall, however! If you want to direct traffic to a host on the LAN segment, you need some additional NAT rule trickery. You need to create…

Graph plotting with Gnuplot can be quite difficult without some basic knowledge of the syntax. I also find that some settings overwrite others, for an example see this post on Stackoverflow and the same applies in this script below where the second line overwrites the first, despite them supposedly being treated as separate lines. set…

I had just refreshed my Surface Pro 2 with Windows 8.1 Pro. I could not get any Windows updates to work at all, anything I tried would just result in “Searching this computer for updates…”. After some research I discovered that I needed to install KB2919355 before I could install any updates, however all attempts…

In the middle of setting up a new Windows domain, I had a non privileged user needing to install an application on his PC. Rather than go to his desk (or even remote desktop) I was able to install the software remotely using psexec. PS C:\PsTools\psexec -i \\target_pc \\target_pc\c$\(path to installer)

After downloading a new certificate from our SSL provider, I found I was unable to install this new certificate. Windows returned the error “Failed to Remove Certificate”. Using OpenSSL on a Linux box, I did the following: openssl pkcs12 -export -in my.crt -inkey my.key -certfile my.bundle -out my.pfx I was then able to import my…

This documents how I got ClamAV (clamd) working on Windows Server 2012 I downloaded the 64 bit package <clamav-0.99-x64.msi> from sourceforge http://sourceforge.net/projects/clamav/files/clamav/win32/ I then created folders, as I wanted everything in the root of c:\ I have: c:\ClamAV-Conf\ c:\ClamAV-x64 |-\db |-\log Created config files: clamd.conf TCPAddr 192.168.1.251 TCPSocket 3310 MaxThreads 2 LogTime true LogFile c:\ClamAV-x64\log\clamd.log…

HP Smart array CLI commands (these should apply to any system with the CLI installed) Show configuration /opt/hp/hpssacli/bin/hpssacli ctrl all show config Controller status /opt/hp/hpssacli/bin/hpssacli ctrl all show status Show detailed controller information for all controllers /opt/hp/hpssacli/bin/hpssacli ctrl all show detail Show detailed controller information for controller in slot 0 /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail…