<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>itsMine &#187; Tech</title>
	<atom:link href="http://blog.itsmine.co.uk/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.itsmine.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 03 Jan 2010 04:14:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel="next" href="http://blog.itsmine.co.uk/category/tech/feed/?page=2" />

		<item>
		<title>HOWTO: OVH Kimsufi + CentOS + VMware Server 2 + networking</title>
		<link>http://blog.itsmine.co.uk/2009/09/07/howto-ovh-kimsufi-centos-vmware-server-2-networking/</link>
		<comments>http://blog.itsmine.co.uk/2009/09/07/howto-ovh-kimsufi-centos-vmware-server-2-networking/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 00:30:51 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[OVH]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=728</guid>
		<description><![CDATA[This will take you through the installation and configuration of an authentic CentOS install running on an OVH Kimsufi server, allowing you to run VMware Server 2 with routed networking, since bridged networking is not possible on OVH servers. First off, some groundrules for this HOWTO we need to distinguish a few things&#8230;

At time of ]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This will take you through the installation and configuration of an authentic CentOS install running on an OVH Kimsufi server, allowing you to run VMware Server 2 with routed networking, since bridged networking is not possible on OVH servers. First off, some groundrules for this HOWTO we need to distinguish a few things&#8230;</p>
<blockquote>
<p style="text-align: justify;">At time of writing, on a standard Kimsufi, OVH provide you with one static IP, and three &#8220;failover IP&#8217;s&#8221; these &#8220;failover&#8221; IP&#8217;s are just normal IP&#8217;s, although they don&#8217;t  have their own gateway (since only the host machine is allowed to use the gateway). The only thing that&#8217;s different about these &#8220;failover&#8221; IP&#8217;s is that if you have more than one Kimsufi or dedicated server with OVH then you can simply change which server the failover IP is routed to, which is quite handy for DR (disaster recovery) or even load balancing.</p>
</blockquote>
<p style="text-align: justify;">Let&#8217;s get started, first, you need to set up your server with the default CentOS image that is provided by OVH (this may already be the case if you requested this image when you ordered), if not, this is done by selecting your server from the dropdown box at the top of the manager screen, then clicking on &#8220;Services&#8221; beneath the &#8220;Dedicated servers&#8221; menu on the left-hand side. While in this menu,  ensure that &#8220;Netboot&#8221; is set to &#8220;hd&#8221; so that the boot process is kicked to the hard disk and not OVH&#8217;s custom kernels. Next, choose &#8220;Reinstall / Change OS&#8221; and follow the steps here to install CentOS, the partitioning doesn&#8217;t really matter, where possible just choose the default options and continue through the steps until the installation process starts.</p>
<p style="text-align: justify;">The installation process will continue and wipe your server clean and replace it with OVH&#8217;s CentOS image (which I might add, isn&#8217;t a <em>TRUE </em>CentOS kernel, as provided by the CentOS project). Once you&#8217;ve received your email from OVH confirming that the reinstall is complete and have got your new root password, log into the server via SSH. When you have a prompt, type the following commands:</p>
<pre class="brush: bash;">mkdir /cleaninstall
cd /cleaninstall</pre>
<p>For 32-bit CentOS:</p>
<pre class="brush: bash;">wget http://ftp.hosteurope.de/mirror/centos.org/5/os/i386/images/pxeboot/initrd.img
wget http://ftp.hosteurope.de/mirror/centos.org/5/os/i386/images/pxeboot/vmlinuz</pre>
<p>For 64-bit CentOS:</p>
<pre class="brush: bash;">wget http://ftp.hosteurope.de/mirror/centos.org/5/os/x86_64/images/pxeboot/initrd.img
wget http://ftp.hosteurope.de/mirror/centos.org/5/os/x86_64/images/pxeboot/vmlinuz</pre>
<p>Then copy the pxe boot files to the /boot partition</p>
<pre class="brush: bash;">cp vmlinuz /boot/vmlinuz.cent.pxe
cp initrd.img /boot/initrd.img.cent.pxe</pre>
<p>Next we need to set up the GRUB bootloader:</p>
<pre class="brush: bash;">yum install grub</pre>
<p>Empty the bootloader sequence and insert our new config:</p>
<pre class="brush: bash;">cat /dev/null &gt; /boot/grub/menu.lst
vi /boot/grub/menu.lst</pre>
<p>Paste the below text in this file amending the following variables to suit your info:<br />
YOURPASSWORD = A password of your choosing, this is a a temporary password and is only used during the installation via VNC<br />
IPADDR = The IP address of your OVH server (host)<br />
GATEWAY = The gateway IP address of your OVH server (find this by doing: # netstat -r | grep default)</p>
<p>For 32-bit CentOS:</p>
<pre class="brush: plain;">default 0
timeout 30
title Centos Install (PXE)
        root (hd0,0)
        kernel /boot/vmlinuz.cent.pxe vnc vncpassword=YOURPASSWORD headless ip=IPADDR netmask=255.255.255.0 gateway=GATEWAY dns=213.186.33.99 ksdevice=eth0 method=http://ftp.hosteurope.de/mirror/centos.org/5/os/i386/ lang=en_US keymap=us
        initrd /boot/initrd.img.cent.pxe
</pre>
<p>For 64-bit CentOS:</p>
<pre class="brush: plain;">default 0
timeout 30
title Centos Install (PXE)
        root (hd0,0)
        kernel /boot/vmlinuz.cent.pxe vnc vncpassword=YOURPASSWORD headless ip=IPADDR netmask=255.255.255.0 gateway=GATEWAY dns=213.186.33.99 ksdevice=eth0 method=http://ftp.hosteurope.de/mirror/centos.org/5/os/x86_64/ lang=en_US keymap=us
        initrd /boot/initrd.img.cent.pxe
</pre>
<p>Save the file (in this sequence hit Escape, colon (:), x, Enter)</p>
<p>Next we need to install GRUB into the MBR of the server disk so&#8230;</p>
<pre class="brush: bash;">grub-install /dev/sda
grub-install --recheck /dev/sda</pre>
<p>Once that&#8217;s done, we need to bounce the box:</p>
<pre class="brush: bash;">shutdown -r now</pre>
<p style="text-align: justify;">Wait a couple of minutes for the server to come back online (you can monitor it using ping requests). Once the server is contactable again fire up a VNC client and in the connection box type in the IP address of your server followed by &#8220;:1&#8243;, for example, if your IP was 192.168.0.5, the VNC connection box will read 192.168.0.5:1</p>
<p style="text-align: justify;">Enter the password you specified as  and you will be presented a VNC window at the first step of the CentOS installation screen. Follow the installer (make sure you leave the network options alone &#8211; for now at least). After the installation completes and reboots, you now have a PROPER CentOS installation free from OVH&#8217;s meddling hands.</p>
<p style="text-align: justify;">Install VMWare Server 2 as you would normally on CentOS, there are tons of HOWTO&#8217;s out there on that subject I&#8217;m sure. One thing I will say about installing VMWare Server 2 is that when asked about configuring a bridged network interface, to be honest, I wouldn&#8217;t configure one, you&#8217;ll only need NAT and Host-Only networking. To configure a Bridged interface just invites a headache of having your switch-port blocked if you ever switch on a guest VM which tries to make use of it &#8211; which can be very frustrating and WILL cause an interruption to service while OVH sort out unblocking your MAC address from their network.</p>
<p style="text-align: justify;">So, once we&#8217;ve got VMware Server 2 installed and running, we need to set up the networking so that the &#8220;failover IPs&#8221; can be used for the virtual guests. We&#8217;re going to be doing this using routed IP&#8217;s as it&#8217;s the simplest way, without having to involve NAT&#8217;ing (ugly).</p>
<p style="text-align: justify;">We&#8217;ll start off by configuring the host machine to allow proxied arp requests on the VMware host-only interface, which in this case is the &#8220;vmnet1&#8243; device &#8211; this is the default interface name that VMware Server creates, however if yours is different you&#8217;ll need to amend the below steps accordingly (this is only if you&#8217;ve had a non-standard VMware install).</p>
<pre class="brush: bash;">echo &quot;net.ipv4.conf.vmnet1.proxy_arp=1&quot; &gt;&gt; /etc/sysctl.conf &amp;&amp; sysctl -p</pre>
<p>Next on the host, we have to create a static route to allow traffic to flow to the &#8220;failover IP&#8217;s&#8221;</p>
<p>IPFAILOVER is to be subsituted with one of your failover IP&#8217;s. e.g 10.0.0.11</p>
<pre class="brush: bash;">ip route add IPFAILOVER dev vmnet1</pre>
<p style="text-align: justify;">A line like the one above is required for each failover IP which you&#8217;ll be routing.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">This would not survive a reboot (bad) so we have to do something a little more inventive&#8230;<br />
We need to create a network config file in the /etc/sysconfig/network-scripts folder to set up the interface dynamically, since VMware doesn&#8217;t actually configure the interface using the standard method. In short, we need a config file to set up the interface so that CentOS is &#8220;aware&#8221; of it, and then we also need to create a route file for the interface too to set up the routing for the interface at boot.</p>
<p style="text-align: justify;">So&#8230;<br />
First off we need to find out what interface subnet the vmware installer picked to use for the vmnet1 interface on the host server, so do a</p>
<pre class="brush: bash;">ifconfig vmnet1 | grep &quot;inet addr&quot;</pre>
<p>From the output of the above command, use the &#8220;inet addr:&#8221; address for the IPADDR= and use the &#8220;Mask:&#8221; for the NETMASK=</p>
<p>Create and populate the /etc/sysconfig/network-scripts/ifcfg-vmnet1 file with the below info:</p>
<pre class="brush: bash;">vi /etc/sysconfig/network-scripts/ifcfg-vmnet1</pre>
<pre class="brush: plain;">DEVICE=vmnet1
IPADDR=*.*.*.*
NETMASK=*.*.*.*
ONBOOT=yes</pre>
<p style="text-align: justify;">Now that CentOS is aware of that network interface, the routing config to the VM&#8217;s fail-over IP needs to go into /etc/sysconfig/network-scripts/route-vmnet1 which is done by:</p>
<pre class="brush: bash;">vi /etc/sysconfig/network-scripts/route-vmnet1</pre>
<pre class="brush: plain;">IPFAILOVER dev vmnet1</pre>
<p style="text-align: justify;">A new line like the one above is required for each failover IP which you&#8217;ll be routing.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">Now, unfortunately, that doesn&#8217;t solve all our problems because VMware server starts up <em>after</em> the networking service and thus <em>after</em> the virtual device is created. So we need a way to restart the networking service after VMware has started. The quickest and dirtiest way of doing that is by putting something in /etc/rc.local which will do the job. I hated having to do this, purely because it&#8217;s not &#8220;kosher&#8221; with the distro, and in general bad practise, but needs must&#8230;</p>
<pre class="brush: bash;">echo &quot;/sbin/service network restart &amp;&gt; /tmp/network-restart&quot; &gt;&gt; /etc/rc.local</pre>
<p style="text-align: justify;">Ok, so now we need to allow traffic through to the virtual machines. This is done using the iptables kernel module on the host machine (or can be done on the guest so long as there&#8217;s a rule on the host allowing all traffic through to that failover IP). Generally speaking, I like to keep my firewall rules in one place for ease of management, and that&#8217;s on the host. So, we&#8217;ll open up the iptables config file (or use my script to make it easier):</p>
<pre class="brush: bash;">vim /etc/sysconfig/iptables</pre>
<p>Find the line:</p>
<pre class="brush: plain;">-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 1194 -j ACCEPT</pre>
<p style="text-align: justify;">and insert this line below it subsituting where necessary (below example is allowing port 22 (ssh) access through to this failover IP):</p>
<pre class="brush: plain;">-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -d FAILOVERIP -j ACCEPT</pre>
<p style="text-align: justify;">As above, a new line (rule) like the one above is required for each failover IP which you&#8217;ll be routing.</p>
<p style="text-align: justify;">As far as the server, or rather, host side is concerned, we&#8217;re finished. Now we just need to configure the guest OS with the failover IP address (or addresses if you so choose). The virtual machine should be configured to use the following:</p>
<p style="text-align: justify;">Linux hosts:<br />
IP= FAILOVERIP<br />
NETMASK=255.255.255.255<br />
GATEWAY= FAILOVERIP (yes it&#8217;s the same as the interface IP)</p>
<p style="text-align: justify;">Windows hosts:<br />
IP= FAILOVERIP<br />
NETMASK=255.255.255.248<br />
GATEWAY= FAILOVERIP (yes it&#8217;s the same as the interface IP)</p>
<p style="text-align: justify;">The DNS nameservers can be set anything you wish to use, so long as they&#8217;re addressable and accessible by the VM&#8217;s. I tend to use <a href="http://www.opendns.com/" target="_blank">OpenDNS</a>&#8217;s servers unless I&#8217;m using my own.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/09/07/howto-ovh-kimsufi-centos-vmware-server-2-networking/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Firewall editing script</title>
		<link>http://blog.itsmine.co.uk/2009/09/06/firewall-editing-script/</link>
		<comments>http://blog.itsmine.co.uk/2009/09/06/firewall-editing-script/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 15:23:24 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=715</guid>
		<description><![CDATA[Ok, here&#8217;s a wee script I threw together to help myself and any other sys admins who have to make a lot of edits to the iptables firewall in Red Hat / CentOS. It basically opens up the /etc/sysconfig/iptables file to allow you to make your edit(s) and then when you close the editor, it&#8217;ll ]]></description>
			<content:encoded><![CDATA[<p>Ok, here&#8217;s a wee script I threw together to help myself and any other sys admins who have to make a lot of edits to the iptables firewall in Red Hat / CentOS. It basically opens up the /etc/sysconfig/iptables file to allow you to make your edit(s) and then when you close the editor, it&#8217;ll ask you if you want to apply the changes straight away, or apply them immediately to allow for testing, then unload the iptables module after a set amount of time (2 minutes as defined on line 2) in case anything broke.</p>
<pre class="brush: bash;">#!/bin/bash
TESTING_MINS=2
vim /etc/sysconfig/iptables
clear
QUESTION1=&quot;Do you want to restart the firewall now? (hit 't' to test for $TESTING_MINS min(s)) [y/n/t] &quot;
echo -n $QUESTION1

a=&quot;&quot;
while test -z &quot;$a&quot;
do
        read -n1 a
        echo &quot;&quot;

 case &quot;$a&quot; in
  Y|y)
        echo -e &quot;Restarting...\n\n&quot;
		/sbin/service iptables restart
  ;;
  N|n)
        exit 0
  ;;
  T|t)
        echo -e &quot;Time is now `date +%H:%M` -firewall service will be stopped at `date +%H:%M -d &quot;+$TESTING_MINS min&quot;`\nIf your test was successful, you will need to manually start the service again by running:\nservice iptables start&quot;
        echo &quot;/sbin/service iptables stop &amp;&gt; /dev/null&quot; | at now + $TESTING_MINS min &amp;&gt; /dev/null
		echo &quot;&quot;
        /sbin/service iptables restart
  ;;
  *)
        a=&quot;&quot;
        echo -n $QUESTION1
  ;;
  esac
done</pre>
<p>P.S. Any scripts I write and publish here are © Rob Freeman and released under the <a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GPL</a> unless otherwise stated.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/09/06/firewall-editing-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Convert from RHEL 5.3 to CENTOS 5.3</title>
		<link>http://blog.itsmine.co.uk/2009/08/28/howto-convert-from-rhel-5-3-to-centos-5-3/</link>
		<comments>http://blog.itsmine.co.uk/2009/08/28/howto-convert-from-rhel-5-3-to-centos-5-3/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 12:57:58 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=670</guid>
		<description><![CDATA[This is actually a lot more simple than I was expecting. Recently our RHEL subscription for a backup server expired and couldn&#8217;t really justify the cost to renew it, so I decided to convert it to a CentOS installation by doing the below:
yum clean all
mkdir /usr/src/centos
cd /usr/src/centos
wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-3.el5.centos.1.i386.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-notes-5.3-3.i386.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
rpm –-import RPM-GPG-KEY-CentOS-5
/bin/rpm ]]></description>
			<content:encoded><![CDATA[<p>This is actually a lot more simple than I was expecting. Recently our RHEL subscription for a backup server expired and couldn&#8217;t really justify the cost to renew it, so I decided to convert it to a CentOS installation by doing the below:</p>
<pre class="brush: bash;">yum clean all
mkdir /usr/src/centos
cd /usr/src/centos
wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-3.el5.centos.1.i386.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-notes-5.3-3.i386.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
rpm –-import RPM-GPG-KEY-CentOS-5
/bin/rpm -e --nodeps redhat-release
/bin/rpm -e --nodeps rhn-client-tools
/bin/rpm -e --nodeps yum-rhn-plugin
rpm -Uvh --force *.rpm
yum upgrade</pre>
<p>How painless was that?!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/08/28/howto-convert-from-rhel-5-3-to-centos-5-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Panasonic TM10 test footage</title>
		<link>http://blog.itsmine.co.uk/2009/07/19/panasonic-tm10-test-footage/</link>
		<comments>http://blog.itsmine.co.uk/2009/07/19/panasonic-tm10-test-footage/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 01:16:53 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[car]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[time-lapse]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=545</guid>
		<description><![CDATA[
Here&#8217;s some test footage I made for any people looking at getting a Panasonic TM10 or an SD10. Overall I think it&#8217;s a great little camera, can&#8217;t wait to take some serious footage in Oz with it. Enjoy! (and yes, I know I need a new windscreen wiperblade)
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="487" height="274" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=5658828&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="487" height="274" src="http://vimeo.com/moogaloop.swf?clip_id=5658828&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Here&#8217;s some test footage I made for any people looking at getting a Panasonic TM10 or an SD10. Overall I think it&#8217;s a great little camera, can&#8217;t wait to take some serious footage in Oz with it. Enjoy! (and yes, I know I need a new windscreen wiperblade)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/07/19/panasonic-tm10-test-footage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RepRap and familiar faces</title>
		<link>http://blog.itsmine.co.uk/2009/07/08/reprap-and-familiar-faces/</link>
		<comments>http://blog.itsmine.co.uk/2009/07/08/reprap-and-familiar-faces/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 22:27:48 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=526</guid>
		<description><![CDATA[<script type="text/javascript" src="http://blog.itsmine.co.uk/wp-includes/js/jquery/jquery.js"></script><script type="text/javascript" src="http://blog.itsmine.co.uk/wp-content/plugins/pb-embedflash/js/sbadapter/shadowbox-jquery.js"></script><script type="text/javascript" src="http://blog.itsmine.co.uk/wp-content/plugins/pb-embedflash/js/shadowbox.js"></script><script type="text/javascript"><!--
window.onload = function() {var options ={assetURL:'',loadingImage:'http://blog.itsmine.co.uk/wp-content/plugins/pb-embedflash/css/images/loading.gif',flvPlayer:'http://blog.itsmine.co.uk/wp-content/plugins/pb-embedflash/swf/mediaplayer.swf',animate:true,animSequence:'wh',overlayColor:'#000',overlayOpacity:0.85,overlayBgImage:'http://blog.itsmine.co.uk/wp-content/plugins/pb-embedflash/css/images/overlay-85.png',listenOverlay:true,autoplayMovies:true,showMovieControls:true,resizeDuration:0.35,fadeDuration:0.35,displayNav:true,continuous:false,displayCounter:true,counterType:'default',viewportPadding:20,handleLgImages:'resize',initialHeight:160,initialWidth:320,enableKeys:true,keysClose:['c', 'q', 27],keysPrev:['p', 37],keysNext:['n', 39],handleUnsupported:'',text: {cancel:'Cancel',loading: 'loading',close:'<span class="shortcut">C</span>lose',next:'<span class="shortcut">N</span>ext',prev:'<span class="shortcut">P</span>revious',errors:{single: 'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',shared: 'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either: 'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}}};Shadowbox.init(options);}
--></script>Wow! I just had to write about this. There I was, mooching through the submissions on reddit&#8217;s front page when I came across an interesting looking title: &#8220;The RepRap is the most awesome machine ever built. We can only guess how these machines will change society when they will be ready.&#8221; I had a look ]]></description>
			<content:encoded><![CDATA[<p>Wow! I just had to write about this. There I was, mooching through the submissions on <a href="http://reddit.com" target="_blank">reddit</a>&#8217;s front page when I came across an interesting looking title: &#8220;<em>The RepRap is the most awesome machine ever built. We can only guess how these machines will change society when they will be ready.</em>&#8221; I had a look at the site and sure enough the concept of a 3D printer which could replicate plastic objects in a similar fashion as a paper printer can do with documents today sounded pretty darn cool. I was watching the introductory video when lo-and-behold I see a familiar face. Ed Sells is a guy who went to the same school as me, a few years above my year and  he&#8217;s an engineer on the project (which is GNU open source I might add). It&#8217;s really cool to see a guy I knew contributing towards something which may just advance our society in an as-yet unimaginable fashion.</p>
<p>Click the &#8220;Play&#8221; image to watch the video, or you can check out the <a href="http://reprap.org/bin/view/Main/WebHome" target="_blank">full site</a>, or even the reddit <a href="http://www.reddit.com/r/technology/comments/8zd27/the_reprap_is_the_most_awesome_machine_ever_built/" target="_blank">submission</a>.</p>
<p style="text-align: center;"><small>(Please open the article to see the flash file or player.)</small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/07/08/reprap-and-familiar-faces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My 10 favourite Firefox extensions</title>
		<link>http://blog.itsmine.co.uk/2009/06/28/my-10-favourite-firefox-extensions/</link>
		<comments>http://blog.itsmine.co.uk/2009/06/28/my-10-favourite-firefox-extensions/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 21:21:26 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=507</guid>
		<description><![CDATA[It's somewhat a rite-of-passage that blog writers do (top ten lists - and especially with this as the subject matter), and since I just trawled through my favourites (again) for my "essential addons" for my new installation of Firefox 3.5 RC3, I thought I'd accumulate them all in one post]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;ve tried to steer clear of these kinds of posts, purely because to me, they seem like the most boring thing to write about. Ever.</p>
<p>With that said however, it&#8217;s somewhat a rite-of-passage that blog writers do (top ten lists &#8211; and especially with this as the subject matter), and since I just trawled through my favourites (again) for my &#8220;essential addons&#8221; for my new installation of Firefox 3.5 RC3, I thought I&#8217;d accumulate them all in one post so next time Mozilla make a ridiculously late release of their milestoned browser, I can just rattle them off from one page here.</p>
<p>So, here we go (in order of installation preference):</p>
<ol>
<li><a href="http://www.xmarks.com/" target="_blank">XMarks</a> (previously <a href="https://addons.mozilla.org/en-US/firefox/addon/2410" target="_blank">Foxmarks</a>)</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1122" target="_blank">TabMixPlus</a> (<a href="http://tmp.garyr.net/tab_mix_plus-dev-build.xpi" target="_blank">dev-build</a>)</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1865" target="_blank">Adblock Plus</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/433" target="_blank">Flashblock</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/5081" target="_blank">Twitterfox</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/4949" target="_blank">AutoAuth</a></li>
<li><a href="https://addons.mozilla.org/extensions/moreinfo.php?id=60" target="_blank">Web Developer</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">Firebug</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1455" target="_blank">TinyMenu</a> (great for netbooks with limited screen res [Win only])</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/10900" target="_blank">Personas</a> (I use <a href="http://www.getpersonas.com/persona/49" target="_blank">Tranquility</a>)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/06/28/my-10-favourite-firefox-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to force mountd to use a static port on Red Hat</title>
		<link>http://blog.itsmine.co.uk/2009/04/03/how-to-force-mountd-to-use-a-static-port-on-red-hat/</link>
		<comments>http://blog.itsmine.co.uk/2009/04/03/how-to-force-mountd-to-use-a-static-port-on-red-hat/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 13:06:16 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/2009/04/03/how-to-force-mountd-to-use-a-static-port-on-red-hat/</guid>
		<description><![CDATA[So I&#8217;ve been working with a very strict firewall on an AIX host which is mouting an NFS share on Red Hat 5.3 hosts and since NFSD on Red Hat utilises the RPC protocol (port 111) and NFS (port 2049) which are static, it unfortunately also uses rpc.mountd (aka mountd) which (by default) doesn&#8217;t run ]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been working with a very strict firewall on an AIX host which is mouting an NFS share on Red Hat 5.3 hosts and since NFSD on Red Hat utilises the RPC protocol (port 111) and NFS (port 2049) which are static, it unfortunately also uses rpc.mountd (aka mountd) which (by default) doesn&#8217;t run using a static port, instead, every time it starts up, it asks the RPC portmap service for a free port number, and uses that.</p>
<p>I just couldn&#8217;t have this happening on Red Hat, since the AIX firewall is locked down as tight as can be, with even anomalous outbound tcp/ack&#8217;s being disallowed. I know that the portmap service gets its free port numbers from (among other sources) /etc/services so I decided to grab the current port number that mountd was running on&#8230;
<pre class="brush: bash;">rpcinfo -p | grep mountd</pre>
<p>and make an entry into /etc/services in the hope that rpc.mountd would see the mountd entry and automatically use that port number, and only that port number, such an example entry:
<pre class="brush: plain;">mountd          672/tcp                         # Rob's Edit - binds mountd to a static port
mountd          672/udp                         # Rob's Edit - binds mountd to a static port</pre>
<p>I restarted portmap and nfs, and ran rpcinfo again&#8230;
<pre class="brush: bash;">service portmap restart
service nfs restart
rpcinfo -p | grep mountd
</pre>
<p>&#8230; and lo-and-behold rpc.mountd had binded to the static port specified.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=823fec30-f2f0-81f8-ba1c-60f15509eacc" /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/04/03/how-to-force-mountd-to-use-a-static-port-on-red-hat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Note to self&#8230; co-incidences in IT DO happen!</title>
		<link>http://blog.itsmine.co.uk/2009/03/29/note-to-self-co-incidences-in-it-do-happen/</link>
		<comments>http://blog.itsmine.co.uk/2009/03/29/note-to-self-co-incidences-in-it-do-happen/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 00:23:26 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[AIX]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/2009/03/29/note-to-self-co-incidences-in-it-do-happen/</guid>
		<description><![CDATA[Ok, so on Friday I was working from home while recuperating after some surgery (don’t ask). I’m currently working on a large migration project which is really high priority time-scale wise, which is why I was working from home, since I, nor the company I work for can really afford for me to be away ]]></description>
			<content:encoded><![CDATA[<p align="justify">Ok, so on Friday I was working from home while recuperating after some surgery (don’t ask). I’m currently working on a large migration project which is really high priority time-scale wise, which is why I was working from home, since I, nor the company I work for can really afford for me to be away from this project for any length of time. So I’m working on a large IBM RS6000 AIX wide node where I need to create an NFS share to their new Red Hat based platform, this required a minor change to the genfilt / mkfilt rules on AIX to allow the new systems to access the NFS shares. I made the one line change and reloaded the firewall on the system, unfortunately this made NIS/YP fault and stop responding, not such a big deal, except that this node is also a NIS server, which meant that users who were authenticating from a frontend running on a thin node were unable to, which started to cause issues quickly, fortunately existing users weren’t affected, however newly connecting users weren’t getting on.</p>
<p align="justify"><img style="margin: 0px 0px 4px 10px; display: inline" title="ibm_rs6000" alt="ibm_rs6000" align="right" src="http://blog.itsmine.co.uk/wp-content/uploads/2009/03/ibm-rs6000.jpg" width="200" height="202" /> As soon as I’d reloaded the firewall I could see that NIS had failed (inexplicably) and backed out the change, I had to get NIS back online, and reloading the YP services wasn’t working. With the change backed out, I reloaded the firewall again, this time mkfilt just wasn’t having it. The syntax was fine, but the firewall was now blocking access to all services. Remember, I’m working from home, via an SSH session to a host at work with rlogin access to the wide. As soon as the firewall started blocking traffic my remote session died and I was unable to access it. <strong>FUCK!</strong></p>
<p align="justify">I get on the phone straight away to the DC and asked a colleague of mine, Brian, to re-run the firewall script from the control workstation, which has a direct, non-IP connection to the wide. About 10mins later I get a call saying he’s been able to restart the firewall ok, and I can access the server from my connection again. Phew. NIS is still down though and still refuses to start-up cleanly. A reboot is in order. By this time, I’m pretty much ready to head into the DC so I can be hands-on with the kit when needed. Brian gets in touch with the client and co-ordinates a graceful shutdown of the databases before we initiate a standard reboot.</p>
<p align="justify">By the time I arrive at the DC (15mins away by car fortunately), we’ve managed to arrange “unscheduled maintenance” time, and we bounce both the nodes. Everything comes back up perfectly, and users can log back in just fine. We notify the client, and they can see everything’s ok, the databases have come up and everything’s back the way it was.</p>
<p align="justify">I get into finding out what caused NIS and the second firewall reload to spanner completely when we get another call from the company saying that LPR print queue jobs are not being passed from the thin node to a 3rd server which is running <a href="http://en.wikipedia.org/wiki/Caldera_OpenLinux" target="_blank">Caldera Open Linux</a> linux (yeah, I know!). This Caldera box is running <a href="http://en.wikipedia.org/wiki/Tarantella,_Inc.">Tarantella</a> which provides client-based printing. Essentially, users printed from a terminal on the thin-node, which is mapped to a remote print queue on the Caldera server, and the Tarantella server then maps the user’s printer to their print queue on the Caldera server. Essentially allowing (in a very round-about way) client-based printing from a terminal. For turn of the century stuff this was quite advanced, since there was no way to do this dynamically, from a web-based (HTTPS) client, and without setting up static routed print-queues on the node.</p>
<p align="justify"><img style="margin: 4px 10px 4px 0px; display: inline" title="_643711_caldera_linux23_150" alt="_643711_caldera_linux23_150" align="left" src="http://blog.itsmine.co.uk/wp-content/uploads/2009/03/643711-caldera-linux23-150.jpg" width="150" height="180" /> So that’s the background. Now, when we heard about this printing issue, which had been an intermittent problem since the platform had been introduced, but this had normally been resolved by a simple reboot of the Caldera server. We decided that since the nodes had been down, this had likely caused a bottleneck between the servers and that Caldera needed a reboot in order to enable the bottleneck to clear and allow the print queues to start moving again. We bounce the box and the queues still are being held on the thin node. FRAK! I know beyond a doubt that the issue isn’t software firewall related, since my minor change (a) wouldn’t have affected port 515 communications and (b) the firewall is running ok. My boss, John, had become involved around the time we rebooted both the nodes, as he was interested to know what was going on. After being brought up to speed he was convinced that this was a firewall related issue, since the initial cause was firewall related, and that I’d asked our network manager to add new rules to allow NFS between the new and old platforms. I knew it was highly unlikely that the problem was a firewall one since the changes had been backed out, and the system was in it’s normal, default configuration but&#160; John felt that the timing was just too close for it to be a coincidence with anything other than a firewall issue. It took us a while, looking at the firewall rules in place, to see if any hits were being matched on the Cisco’s (which they weren’t), telnetting to ports etc all of which were fruitless. It was obvious in my mind that there was something on the Caldera box which was not allowing the LPD daemon to respond properly. After looking through the tarantella logs I checked the /var/log/messages log and saw that the LPD daemon faulted at start-up with the error “not enough disk space”. That old chestnut.</p>
<p align="justify">After a little more digging, it turned out that the / partition, having only 2GB of space had slowly been filled up by apache access and error log files since the early 2000’s and had caused the disk to become full. Monitoring hadn’t been set up to check disk space usage, which beggared my belief, but there it is. The apache logs had filled the last of the available disk space at pretty much the exact same time as the AIX system had gone down. All of the time spent wasted checking firewall rules and all the printing problem was related to was a frakking simple thing – disk space.</p>
<p align="justify">So the moral of this story is, blind co-incidence DOES happen in this profession, and it’s something that I’ll definitely remember for the rest of my career!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/03/29/note-to-self-co-incidences-in-it-do-happen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle&#8217;s Unbreakable Linux not denting Red Hat &#8211; CNET News</title>
		<link>http://blog.itsmine.co.uk/2009/03/03/oracles-unbreakable-linux-not-denting-red-hat-cnet-news/</link>
		<comments>http://blog.itsmine.co.uk/2009/03/03/oracles-unbreakable-linux-not-denting-red-hat-cnet-news/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 10:37:17 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=444</guid>
		<description><![CDATA[I just read an interesting article about Red Hat and Oracle&#8217;s rip-off (literally) clone, &#8220;Unbreakable Linux&#8221;
&#60;3 &#8220;Red Hat is the trusted brand in Linux, and for good reason.  Red Hat&#8217;s support policies demonstrate an understanding of what Linux customers require: mission-critical support for mission-critical deployments.&#8221;
Article: Oracle&#8217;s Unbreakable Linux not denting Red Hat &#124; The ]]></description>
			<content:encoded><![CDATA[<p>I just read an interesting article about Red Hat and Oracle&#8217;s rip-off (literally) clone, &#8220;Unbreakable Linux&#8221;</p>
<blockquote><p>&lt;3 &#8220;Red Hat is the trusted brand in Linux, and for good reason.  <a href="https://www.redhat.com/apps/support">Red Hat&#8217;s support policies</a> demonstrate an understanding of what Linux customers require: mission-critical support for mission-critical deployments.&#8221;</p></blockquote>
<p>Article: <a href="http://news.cnet.com/8301-13505_3-10173701-16.html">Oracle&#8217;s Unbreakable Linux not denting Red Hat | The Open Road &#8211; CNET News</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/03/03/oracles-unbreakable-linux-not-denting-red-hat-cnet-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE 4.2 on Fedora 10</title>
		<link>http://blog.itsmine.co.uk/2009/02/15/kde-42-on-fedora-10/</link>
		<comments>http://blog.itsmine.co.uk/2009/02/15/kde-42-on-fedora-10/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 02:03:44 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Images]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[screenshot]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=423</guid>
		<description><![CDATA[So I noticed the Fedora project have pushed out KDE 4.2 after its release at the end of Jan and I have to say, after running the betas for a wee while I&#8217;m quite impressed that it was out of the door so quickly after its release. I&#8217;ve been hanging out in #fedora-kde on freenode ]]></description>
			<content:encoded><![CDATA[<p>So I noticed the Fedora project have pushed out KDE 4.2 after <a href="http://www.kde.org/announcements/4.2/index.php" target="_blank">its release</a> at the end of Jan and I have to say, after running the betas for a wee while I&#8217;m quite impressed that it was out of the door so quickly after its release. I&#8217;ve been hanging out in #fedora-kde on freenode for a couple of weeks to track the progress of the fedora builds prior to the actual release. I doff my cap to those fair chaps for doing a great job packaging the betas and really keeping on top of the releases.</p>
<p>After having set up my .kde settings from 4.1 and then progressing through the betas my .kde folder was unsurprisingly twisted, so this afternoon I cleared it down and re-did my desktops as they were previously.. this is the result&#8230;</p>
<p style="text-align: center;"><a href="http://blog.itsmine.co.uk/gallery/#/content/shizzle/Screenshots/kde4(4).jpg/"><img class="size-medium wp-image-425" title="KDE 4.2" src="http://blog.itsmine.co.uk/wp-content/uploads/2009/02/kde44-490x173.png" alt="KDE 4.2" width="490" height="173" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/02/15/kde-42-on-fedora-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
