<?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>Darren Watt</title>
	<atom:link href="http://darrenwatt.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://darrenwatt.com</link>
	<description>That&#039;s Watt without an &#039;S&#039;</description>
	<lastBuildDate>Tue, 31 Jan 2012 18:35:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ignoring files and directories in SVN</title>
		<link>http://darrenwatt.com/ignoring-files-and-directories-in-svn/</link>
		<comments>http://darrenwatt.com/ignoring-files-and-directories-in-svn/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 18:35:49 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=802</guid>
		<description><![CDATA[I keep forgetting how to do this as I don&#8217;t use SVN often enough, and then when I do need to do it the SVN docs are fairly sketchy on it. Make a text file with the following type of content as &#8216;svnignore.txt&#8217; folder1 cache uploads .project *.txt Then run this to update the SVN [...]]]></description>
			<content:encoded><![CDATA[<p>I keep forgetting how to do this as I don&#8217;t use SVN often enough, and then when I do need to do it the SVN docs are fairly sketchy on it.</p>
<p>Make a text file with the following type of content as &#8216;svnignore.txt&#8217;<br />
<code><br />
folder1<br />
cache<br />
uploads<br />
.project<br />
*.txt<br />
</code>
</p>
<p>
Then run this to update the SVN ignore properties<br />
<code><br />
svn propset svn:ignore -F svnignore.txt .<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/ignoring-files-and-directories-in-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 &#8220;Oneiric Ocelot&#8221;</title>
		<link>http://darrenwatt.com/ubuntu-11-10-oneiric-ocelot/</link>
		<comments>http://darrenwatt.com/ubuntu-11-10-oneiric-ocelot/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 22:25:51 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=781</guid>
		<description><![CDATA[It&#8217;s got a silly name, I don&#8217;t know what an Ocelot is, or what Oneiric means but perhaps I&#8217;m just undereducated. With the new release of Ubuntu 11.10 I managed to give it a full week of release before going ahead and updating anything, which is good going for me. I went ahead and updated [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s got a silly name, I don&#8217;t know what an Ocelot is, or what Oneiric means but perhaps I&#8217;m just undereducated.</p>
<p>With the new release of Ubuntu 11.10 I managed to give it a full week of release before going ahead and updating anything, which is good going for me. I went ahead and updated from 11.04, which I thought was a bit of  a let down. I&#8217;m not a big fan of <a title="Unity" href="http://unity.ubuntu.com/">Unity</a>, but was able to use Classic Gnome in 11.04 still which was nice.</p>
<p>I&#8217;m still not a big fan of Unity, so the fact it&#8217;s basically forced on you when you upgrade again wasn&#8217;t great. You can still find a way to go back to Classic Gnome, but they&#8217;re no longer supporting it and I thought I&#8217;d best find something else. In my search I had a quick look at <a title="XCFE" href="http://www.google.co.uk/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CDYQFjAA&amp;url=http%3A%2F%2Fwww.xfce.org%2F&amp;ei=HP2dTo2NIYK78gP1p8mQCQ&amp;usg=AFQjCNHh2d4vInsO96McK9l3ko-axGMDyA">XCFE</a> but I decided it wasn&#8217;t for me before I even installed it.</p>
<p>So I&#8217;ve gone to <a title="Gnome Shell" href="http://live.gnome.org/GnomeShell">Gnome Shell</a> &#8211; It&#8217;s a lot&#8230; different. I&#8217;ve spent a few hours with it and have got around most of the main complaints that people have it, and like the idea of increasing number of virtual screens depending on workflow, so I&#8217;m going to stick with it for a bit. It&#8217;s pretty slick, and I like pretty slick stuff.</p>
<div id="attachment_782" class="wp-caption alignnone" style="width: 310px"><a href="http://darrenwatt.com/wp-content/uploads/2011/10/Screenshot-at-2011-10-18-230458.png" rel="lightbox[781]"><img class="size-medium wp-image-782" title="Gnome Shell" src="http://darrenwatt.com/wp-content/uploads/2011/10/Screenshot-at-2011-10-18-230458-300x187.png" alt="Gnome Shell on Ubuntu 11.10" width="300" height="187" /></a><p class="wp-caption-text">Doesn&#39;t look much like linux to me</p></div>
<p>I&#8217;ve learnt 3 things from this:</p>
<ul>
<li>Unity still sucks. That&#8217;s my opinion, and I&#8217;m right on this one.</li>
<li>I won&#8217;t be upgrading my work laptop any time soon &#8211; need the familiarity to remain productive, and can&#8217;t spend too much time faffing about trying to get stuff working since I get paid to do my job, clearly.</li>
<li>The original upgrade on my home laptop had left me with my 802.11a/n (5 Ghz) Wifi not connecting, 802.11b/g/n (2.4Ghz) are fine. A cursory glance at Google didn&#8217;t show too many other people having this problem, and I&#8217;ve done a fair amount of driver blacklisting in the past which could have contributed so I went ahead and did a clean install on a spare partition, as you do. This has got exactly the same Wifi problem which means I&#8217;m actually going to have to investigate it, but this is a great live-standby setup for future upgrades until I know what I&#8217;m going into. As it is I&#8217;m staying on my clean install and will ditch the old eventually.</li>
</ul>
<div>Other than that I can&#8217;t find anything else that&#8217;s broken.</div>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/ubuntu-11-10-oneiric-ocelot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XBMC running on HP Microserver &#8211; Tweaks</title>
		<link>http://darrenwatt.com/xbmc-running-on-hp-microserver-tweaks/</link>
		<comments>http://darrenwatt.com/xbmc-running-on-hp-microserver-tweaks/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 19:32:15 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[HP Microserver (XBMC)]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[media centre]]></category>
		<category><![CDATA[microserver]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=771</guid>
		<description><![CDATA[A few things I noted during the first few weeks of running XBMC Live installed on the HP Microserver: 100% CPU Usage Lots of old posts on various forums about this that can lead you down all sorts of dead ends. For me, I was running Nvidia Drivers 195 which came with the XBMC Live [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_762" class="wp-caption alignright" style="width: 160px"><a href="http://darrenwatt.com/wp-content/uploads/2011/09/microserver.jpg" rel="lightbox[771]"><img class="size-thumbnail wp-image-762" title="HP Microserver" src="http://darrenwatt.com/wp-content/uploads/2011/09/microserver-150x150.jpg" alt="The HP Microserver" width="150" height="150" /></a><p class="wp-caption-text">Not Sexy but Better than the Old Server</p></div>
<p>A few things I noted during the first few weeks of running XBMC Live installed on the HP Microserver:</p>
<h3>100% CPU Usage</h3>
<p>Lots of old posts on various forums about this that can lead you down all sorts of dead ends. For me, I was running Nvidia Drivers 195 which came with the XBMC Live install; updating these sorted it out. Now processor usage is around 25% tops when playing back music/video.</p>
<p>Find out which version you&#8217;re currently on:<br />
<code>cat /proc/driver/nvidia/version</code></p>
<p>Upgrade with this:<br />
<code>sudo add-apt-repository ppa:ubuntu-x-swat/x-updates<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
sudo reboot</code></p>
<h3>Sleep/Standby</h3>
<p>HP have confirmed that ACPI S3 Standby Mode will not be supported. You can try, but you will fail, it would need to be available and supported in the BIOS. There are some hacked BIOS versions out there that will enable AHCI for the ODD SATA connection, but nothing as far as ACPI goes. If this changes in the future I&#8217;d love to know about it.</p>
<p>Let me know if you find any other useful tips on this, there&#8217;s a ton of people running these boxes now.</p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/xbmc-running-on-hp-microserver-tweaks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Media Server &#8211; HP ProLiant Athlon II Neo N36L MicroServer (XBMC)</title>
		<link>http://darrenwatt.com/media-server-hp-proliant-athlon-ii-neo-n36l-microserver-xbmc/</link>
		<comments>http://darrenwatt.com/media-server-hp-proliant-athlon-ii-neo-n36l-microserver-xbmc/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 20:45:47 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[HP Microserver (XBMC)]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[microserver]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=760</guid>
		<description><![CDATA[For some time now I&#8217;ve been wondering whether to chop my existing media centre PC in for something a bit more lounge friendly. It was a bit noisey, even with a low noise PSU and to be honest a Novatech Desktop box sitting in the corner of the room isn&#8217;t the most attractive room decoration. [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_761" class="wp-caption alignright" style="width: 160px"><a href="http://darrenwatt.com/wp-content/uploads/2011/09/server1.jpg" rel="lightbox[760]"><img class="size-thumbnail wp-image-761" title="Old Server" src="http://darrenwatt.com/wp-content/uploads/2011/09/server1-150x150.jpg" alt="The Old Server" width="150" height="150" /></a><p class="wp-caption-text">Old Server. Not Sexy.</p></div>
<p>For some time now I&#8217;ve been wondering whether to chop my existing media centre PC in for something a bit more lounge friendly. It was a bit noisey, even with a low noise PSU and to be honest a <a title="Novatech" href="http://www.novatech.co.uk/" target="_blank">Novatech</a> Desktop box sitting in the corner of the room isn&#8217;t the most attractive room decoration.</p>
<p>My media content has always sat on the same box that I ran <a title="XBMC" href="http://xbmc.org/" target="_blank">XBMC</a>, and I&#8217;ve always been happy with it that way. Some decide to split front/back end with NAS for media storage and something light like XBMC on Apple TV 2 to feed the TV, but I like having a single box solution &#8211; only one thing to go wrong.</p>
<p>With this in mind I drew up a list of specs (in no real order):</p>
<ul>
<li>Able to handle 1080p content</li>
<li>Nice to look at</li>
<li>Quiet as it sits in the lounge</li>
<li>Capacity for on-board storage &#8211; Want to keep existing SATA drives</li>
<li>Surround Sound &#8211; Ideally through optical output</li>
<li>Able to run my preferred media application, XBMC</li>
</ul>
<h2>Enter the HP Microserver</h2>
<div id="attachment_762" class="wp-caption alignleft" style="width: 160px"><a href="http://darrenwatt.com/wp-content/uploads/2011/09/microserver.jpg" rel="lightbox[760]"><img class="size-thumbnail wp-image-762" title="HP Microserver" src="http://darrenwatt.com/wp-content/uploads/2011/09/microserver-150x150.jpg" alt="The HP Microserver" width="150" height="150" /></a><p class="wp-caption-text">Not Sexy but Better than the Old Server</p></div>
<p>As luck would have it, a mate of mine mentioned the HP Microserver. It&#8217;s basically designed to suit the needs of Small Business, as with the recommended Operating Systems (SBS / Server 2008 R2 or Redhat) so it can sit in the corner holding important documents and handling email all day.</p>
<p>Basic Specs for the box are:</p>
<ul>
<li>It&#8217;s Quite Small</li>
<li>AMD Athlon II Neo N36L / 1.3GHz</li>
<li>1GB DDR3 SDRAM</li>
<li>HDD 1x 250GB</li>
<li>4 x Front Accessable SATA HDD Bays</li>
<li>Gigabit LAN</li>
</ul>
<p>The server retails for £229.96 inc VAT, which sounds great, but then you get <strong>£100 cashback!</strong> That&#8217;s a rolling offer which I think has always been there, and always will.</p>
<p>I did a bit of research in the <a title="AV Forums" href="http://www.avforums.com/" target="_blank">usual</a> <a title="XBMC Forum" href="http://forum.xbmc.org/" target="_blank">places</a> and reports came back that although it&#8217;s a low power box, adding a Low Profile GPU and something to handle sound, 1080 playback should be achievable.</p>
<p>Nail in my thought-process coffin was that it&#8217;s available from ebuyer.com, <a title="HP Microserver on ebuyer.com" href="http://www.ebuyer.com/253305-hp-proliant-athlon-ii-neo-n36l-microserver-100-cashback-633724-421" target="_blank">Quickfind 253305</a>. I&#8217;ve never had a problem with ebuyer, and even though I could have shopped around for a better deal, £130 sounds OK to me so I went for it.</p>
<p><time></time></p>
<div id="attachment_763" class="wp-caption alignleft" style="width: 160px"><a href="http://darrenwatt.com/wp-content/uploads/2011/09/gfxcard.jpg" rel="lightbox[760]"><img class="size-thumbnail wp-image-763" title="Graphics Card" src="http://darrenwatt.com/wp-content/uploads/2011/09/gfxcard-150x150.jpg" alt="The Asus GeForce 210 Graphics Card" width="150" height="150" /></a><p class="wp-caption-text">It&#39;s got a fan on it so it won&#39;t cook</p></div>
<h3>Graphics</h3>
<p>While waiting for the box to arrive I did a bit more research and settled on the <a href="http://www.amazon.co.uk/gp/product/B002R606M2/ref=oss_product" target="_blank">ASUS 512Mb GeForce 210 Low Profile Graphics Card</a>.</p>
<p>I&#8217;d read a few reports of heat possibly being a problem in the case, and the size of the server meant that most of the passive cooled (heatsink) cards don&#8217;t fit into the box. You also have to make sure you get a Low Profile PCI-E card as well otherwise the case gets in the way and you have to return your card that doesn&#8217;t fit.</p>
<p>The card went into the server no problem, although the low profile bracket that comes with it is still in the box since it would have occupied the space on the wrong side of the card. Not a problem, in fact some extra ventilation for the card through the gaps around the side.</p>
<div id="attachment_764" class="wp-caption alignleft" style="width: 160px"><a href="http://darrenwatt.com/wp-content/uploads/2011/09/microii.jpg" rel="lightbox[760]"><img class="size-thumbnail wp-image-764" title="Turtle Beach Micro II" src="http://darrenwatt.com/wp-content/uploads/2011/09/microii-150x150.jpg" alt="Turtle Beach Micro II" width="150" height="150" /></a><p class="wp-caption-text">Turtle Beach Micro II - Pokey</p></div>
<h3>Sound</h3>
<p>I could have gone for low profile PCI-E again for the sound, but had read good things about the <a title="Turtle Beach Micro II" href="http://www.amazon.co.uk/gp/product/B0036VO4X4/ref=oss_product" target="_blank">Turtle Beach Audio Advantage Micro II</a>, which should be plug and play as far as XBMC is concerned. This proved to be true, after about 4 hours of messing about with XBMC / TV / AMP / Remote Controls / Linux command line and config files.</p>
<p>Learnt an important lesson about checking your Amp is set to decode DTS/Dolby Digital even if the only way to do that is using a remote control you don&#8217;t use and has no batteries in it.<br />
Now that it is, digital passthrough is working a treat.</p>
<h3>XBMC</h3>
<p>I love <a title="XBMC Media Centre" href="http://xbmc.org/" target="_blank">XBMC</a>, it&#8217;s been my choice of media player since the good old days on the XBOX. In fact I&#8217;m sure I still have the XBOX somewhere&#8230;</p>
<p>Testing with various XBMC builds was varied, although the initial install of Ubuntu 11.04, following by <a title="XBMC install from PPA" href="http://wiki.xbmc.org/index.php?title=Installing_XBMC_for_Linux#Installation_from_Team_XBMC_distribution_packages" target="_blank">XBMC install from PPA</a> wasn&#8217;t so good. Menu control was sluggish and HD playback choppy and glitchy, both technical terms.</p>
<p>Following this I tried installation to hard drive from <a title="XBMC Live" href="http://xbmc.org/download/" target="_blank">XBMC Live</a> (10.1 Dharma, which is current stable). This was a lot better, clearly the optimisations they&#8217;ve done has taken a lot of hard work out of the process, so there&#8217;s no need to install Ubuntu first. I like having a Desktop available, usually for nxserver sessions, but this works a lot better if you install XBMC Live first, then the ubuntu-desktop.</p>
<p>It&#8217;s now doing 1080p no problem thanks to VDPAU doing all the hard work, processor usage bobs about at around 15% and sound is kept entirely digital (ok, to a point) which is the way it should be. I considered getting additional RAM when I placed the order, but surprisingly it doesn&#8217;t look like it needs it.</p>
<p>There were a few teething problems; flickering graphics on the start up process which I&#8217;ve spent hours looking into and trying to resolve. It turns out everyone else in the world has the same problems and there is no solution &#8211; but now I&#8217;ve run all the Ubuntu updates, it seems to have sorted itself out. Either that or one of the hundred config changes I made over the weekend actually did work. Such is life.</p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/media-server-hp-proliant-athlon-ii-neo-n36l-microserver-xbmc/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>SSH to Multiple Hosts at the Same Time (cssh)</title>
		<link>http://darrenwatt.com/ssh-to-multiple-hosts-at-the-same-time-cssh/</link>
		<comments>http://darrenwatt.com/ssh-to-multiple-hosts-at-the-same-time-cssh/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 14:13:24 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[cluster ssh]]></category>
		<category><![CDATA[cssh]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[multiple ssh]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=555</guid>
		<description><![CDATA[Again, there is a lot of information about this elsewhere but I drop this here as a guide for myself. This is written for Ubuntu, tweak according to linux distro. Install cssh with: $ aptitude install cssh Generate default configuration: $ cssh -u &#62; $HOME/.csshrc Edit config file ~/.csshrc &#8211; editing clusters and set cluster [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_563" class="wp-caption alignright" style="width: 310px"><a href="http://darrenwatt.com/wp-content/uploads/2011/08/cssh.png" rel="lightbox[555]"><img class="size-medium wp-image-563" title="cssh" src="http://darrenwatt.com/wp-content/uploads/2011/08/cssh-300x70.png" alt="Screenshot of cssh" width="300" height="70" /></a><p class="wp-caption-text">cssh - Better than doing same damn thing 3 times</p></div>
<p>Again, there is a lot of information about this elsewhere but I drop this here as a guide for myself. This is written for Ubuntu, tweak according to linux distro.</p>
<p>Install cssh with:</p>
<pre>$ aptitude install cssh</pre>
<p>Generate default configuration:</p>
<pre>$ cssh -u &gt; $HOME/.csshrc</pre>
<p>Edit config file ~/.csshrc &#8211; editing clusters and set cluster name with host details:</p>
<pre>$vi ~/.csshrc</pre>
<pre>clusters = dave demo
dave = user@81.137.222.215:8021 user@81.137.222.215:8022
demo = beans@47.83.249.70 carrots@47.83.249.71 peas@47.83.249.76</pre>
<p>Connect to cluster:</p>
<pre>$ cssh dave</pre>
<p>Enter something safe like:</p>
<pre>$ date
$ uptime</pre>
<p>References</p>
<p><a title="cssh" href="http://linux.die.net/man/1/cssh"> http://linux.die.net/man/1/cssh</a><br />
<a title="Cluster SSH" href="http://www.debianadmin.com/ssh-on-multiple-servers-using-cluster-ssh.html"> http://www.debianadmin.com/ssh-on-multiple-servers-using-cluster-ssh.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/ssh-to-multiple-hosts-at-the-same-time-cssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Shared Key Auth</title>
		<link>http://darrenwatt.com/ssh-shared-key-auth/</link>
		<comments>http://darrenwatt.com/ssh-shared-key-auth/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 11:47:05 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shared keys]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=553</guid>
		<description><![CDATA[There are many guides on doing this, I&#8217;m just dropping it here as quick reminder to myself. On server1&#8230; $ ssh-keygen -t rsa $ chmod 700 ~/.ssh $ chmod 600 ~/.ssh/id_rsa Copy to server2; then on server2&#8230; $ cat id_rsa.pub &#62;&#62; ~/.ssh/authorized_keys $ rm -f id_rsa.pub $ chmod 700 ~/.ssh $ chmod 600 ~/.ssh/authorized_keys If [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_556" class="wp-caption alignright" style="width: 310px"><a href="http://darrenwatt.com/wp-content/uploads/2011/08/centos-ssh.png" rel="lightbox[553]"><img class="size-medium wp-image-556" title="centos-ssh" src="http://darrenwatt.com/wp-content/uploads/2011/08/centos-ssh-300x204.png" alt="ssh verbose output" width="300" height="204" /></a><p class="wp-caption-text">ssh -vvv user@host - If you run into problems</p></div>
<p>There are many guides on doing this, I&#8217;m just dropping it here as quick reminder to myself.</p>
<p>On server1&#8230;</p>
<pre>$ ssh-keygen -t rsa
$ chmod 700 ~/.ssh
$ chmod 600 ~/.ssh/id_rsa</pre>
<p>Copy to server2; then on server2&#8230;</p>
<pre>$ cat id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys
$ rm -f id_rsa.pub
$ chmod 700 ~/.ssh
$ chmod 600 ~/.ssh/authorized_keys</pre>
<p>If you&#8217;re running Centos 6, you might run into <a title="Centos Bug" href="http://bugs.centos.org/print_bug_page.php?bug_id=4959">bug 4959</a> which prevents this working.<br />
Workaround (on server2)</p>
<pre>$ restorecon -R -v /root/.ssh</pre>
<p>References:<br />
<a title="Centos Bug" href="http://bugs.centos.org/print_bug_page.php?bug_id=4959"> http://bugs.centos.org/print_bug_page.php?bug_id=4959</a><br />
<a title="Centos SSH Shared Keys" href="http://wiki.centos.org/HowTos/Network/SecuringSSH"> http://wiki.centos.org/HowTos/Network/SecuringSSH</a></p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/ssh-shared-key-auth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Google Music Manager under Ubuntu Linux</title>
		<link>http://darrenwatt.com/running-google-music-manager-under-ubuntu-linux/</link>
		<comments>http://darrenwatt.com/running-google-music-manager-under-ubuntu-linux/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 20:07:51 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[google music]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=543</guid>
		<description><![CDATA[Update &#8211; A native linux Google Music Manager was released on 22nd July 2011, which means you don&#8217;t have to run it under Wine now. Makes this post obsolete but I&#8217;ll keep it up for posterity. You got an invite to Google Music and found out they don&#8217;t do a linux client? It&#8217;s ok&#8230; run [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update &#8211; A native linux Google Music Manager was released on 22nd July 2011, which means you don&#8217;t have to run it under Wine now. Makes this post obsolete but I&#8217;ll keep it up for posterity.</strong></p>
<p>You got an invite to Google Music and found out they don&#8217;t do a linux client? It&#8217;s ok&#8230; run it under Wine. Here&#8217;s how you do it.</p>
<ul>
<li>Install wine from the wine ppa with these commands in terminal<br />
sudo add-apt-repository<strong> ppa:ubuntu-wine/ppa<br />
</strong>sudo apt-get update<br />
sudo apt-get install wine1.3<br />
(wait til it installs)</li>
<li>Download the Music Manager folder from here: <a href="http://www.mediafire.com/?n4k334kki094d51">http://www.mediafire.com/?n4k334kki094d51</a></li>
<li>Unzip the folder, and run the application under Wine. That&#8217;s it.</li>
</ul>
<p>Thanks to the chaps at <a href="http://ubuntuforums.org/showthread.php?t=1767374">ubuntu forums</a> for the tips. Let me know how you get on below, this worked fine for me and I&#8217;m now uploading my collection.</p>
<p>Update 29-06-2011 - I ran into problems during uploading my music after around 2000 tracks. <a title="Google Music" href="http://music.google.com/" target="_blank">Google Music Manager</a> would start, run for around 30 seconds, then die with an error that it was unable to continue. I couldn&#8217;t find a solution to this so instead went down the Virtual Machine route, installing <a title="Virtualbox" href="http://www.virtualbox.org/wiki/Downloads" target="_blank">Virtualbox 4</a> and Windows XP Guest. This is working fine and Music Manager is now working without any problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/running-google-music-manager-under-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Development: New Project</title>
		<link>http://darrenwatt.com/web-development-new-project/</link>
		<comments>http://darrenwatt.com/web-development-new-project/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 19:44:09 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Should Totally Be]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=536</guid>
		<description><![CDATA[I say new project. Of course I mean old project that I started, didn&#8217;t finish, and probably went on holiday and gave up / forgot about it completely. Most of my hobby projects end up that way and I assume it&#8217;s the same for all developers rather than a personal problem which I should really address. [...]]]></description>
			<content:encoded><![CDATA[<p>I say new project. Of course I mean old project that I started, didn&#8217;t finish, and probably went on holiday and gave up / forgot about it completely. Most of my hobby projects end up that way and I assume it&#8217;s the same for all developers rather than a personal problem which I should really address. The project was previously named &#8220;Should Totally Be&#8221;, based soley on the fact that I could use the clever domain name <a title="ShouldTotallyBe" href="http://shouldtotally.be" target="_blank">shouldtotally.be</a> to present it. £10 a year that&#8217;s costing.</p>
<h3>
<div id="attachment_541" class="wp-caption alignright" style="width: 310px"><a href="http://darrenwatt.com/wp-content/uploads/2011/05/stb1.png" rel="lightbox[536]"><img class="size-medium wp-image-541" title="Should Totally Be" src="http://darrenwatt.com/wp-content/uploads/2011/05/stb1-300x283.png" alt="Screenshot" width="300" height="283" /></a><p class="wp-caption-text">Screenshot - Version 0.1</p></div>
<p>Should Totally Be?!</h3>
<p>It&#8217;s a conceptual website: Should Totally Be is a glorified chatbox. You enter a thing that&#8217;s pissed you off recently, and what you would like done to that thing. Press the &#8220;Go Button&#8221;, and it displays it to the world making you feel slightly less angry than you were before you arrived at the website. It&#8217;s entirely pointless really, but most good things are. In future I might tag on comment threading since flame-wars always appear to be popular, although that goes against the initial point of keeping it extremely simple.</p>
<h3>Smoke and Mirrors</h3>
<p>Technically we&#8217;re talking about a heading and a few form fields, with some database stuff at the back-end to store the input values. It will then display recent entries in the bottom half of the screen, and update often so you can see the list of entries live-update. Web 2.0 you know. Coding will be done in php because it&#8217;s what I know, although in redevelopment I&#8217;m going to try and keep things tidy with a MVC approach to separate inner workings from the presentation bits. It&#8217;s hosted on my <a title="Host Gator - Brilliant" href="http://www.hostgator.com/shared.shtml" target="_blank">existing shared hosting</a> plan which seems to let me have unlimited domains, databases, disk space and bandwidth which is dead handy.</p>
<h3>This sounds great, will it take long?</h3>
<p>Most likely. The test project will rise, like a phoenix from the ashes to become <span style="text-decoration: line-through;">moderately</span> infinitely better than it was while I hopefully (a) finish it this time, (b) learn some good stuff about web development. I plan to post updates of stuff I learn on here to harvest traffic, and by that I mean share my learning. Feel free to check back for updates, but they may be few and far between.</p>
<p>Although it&#8217;s entirely possible at some point I may go on another holiday and forget all about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/web-development-new-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Test 720p</title>
		<link>http://darrenwatt.com/video-test-720p/</link>
		<comments>http://darrenwatt.com/video-test-720p/#comments</comments>
		<pubDate>Fri, 13 May 2011 11:31:09 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[galaxy s2]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=533</guid>
		<description><![CDATA[Here&#8217;s a video test from my new mobile. It&#8217;s a Samsung Galaxy S2, and it&#8217;s the nuts. This is only 720p but it does 1080p too.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a video test from my new mobile. It&#8217;s a Samsung Galaxy S2, and it&#8217;s the nuts. This is only 720p but it does 1080p too.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/hcma9KAsYZ0" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/video-test-720p/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Social Circle Results</title>
		<link>http://darrenwatt.com/google-social-circle-results/</link>
		<comments>http://darrenwatt.com/google-social-circle-results/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 20:01:09 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[2StateReviews]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://darrenwatt.com/?p=522</guid>
		<description><![CDATA[I didn&#8217;t know Google did this, but I hope this acts as a warning to my friends not to watch the so-called movie, Skyline.]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t know Google did this, but I hope this acts as a warning to my friends not to watch the so-called movie, <a href="http://2statereviews.com/?search=skyline">Skyline</a>.<br />
<div id="attachment_524" class="wp-caption alignnone" style="width: 504px"><a href="http://darrenwatt.com/wp-content/uploads/2011/03/Screenshot1.png" rel="lightbox[522]"><img src="http://darrenwatt.com/wp-content/uploads/2011/03/Screenshot1.png" alt="google social circle" title="google social circle" width="494" height="101" class="size-full wp-image-524" /></a><p class="wp-caption-text">Google Social Circle</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/google-social-circle-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

