<?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>Wilted buttercup, grey skies, and geek &#187; linux</title>
	<atom:link href="http://mmt.me.uk/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://mmt.me.uk/blog</link>
	<description>Mischa’s ramblings on the interweb</description>
	<lastBuildDate>Mon, 16 Jan 2012 23:23:02 +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>The joys of upgrading to PHP 5.3</title>
		<link>http://mmt.me.uk/blog/2010/08/20/php-5_3/</link>
		<comments>http://mmt.me.uk/blog/2010/08/20/php-5_3/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 11:31:57 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[hell]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[upgrading]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=144</guid>
		<description><![CDATA[I have been bitten by a number of things when I updated my PHP to PHP 5.3. These are the changes which I had to make to my php.ini file : short_open_tag = 1 This option allows for the use of the short hand "&#60;?" and "?&#62;" used as abbreviations for "&#60;?php" and "php?&#62;". And [...]]]></description>
			<content:encoded><![CDATA[<p>I have been bitten by a number of things when I updated my PHP to PHP 5.3. These are the changes which I had to make to my php.ini file : </p>
<p><code><br />
short_open_tag = 1<br />
</code></p>
<p>This option allows for the use of the short hand <code> "&lt;?" </code>  and <code> "?&gt;" </code> used as abbreviations for <code>"&lt;?php" </code>  and <code> "php?&gt;"</code>. And yes, shorts hand are good, I am super lazy, insofar as I am not good at setting &#8220;use strict;&#8221; when writing perl code. </p>
<p>Secondly, I was stung due to the fact that PHP 5.3 has clamped down on the returning of values when expecting a reference to be returned by a function, this phenomena and the necessary fix is illustrated in my <a href="http://mmt.me.uk/blog/2010/08/20/openid-wp-brokenness/">previous blog post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2010/08/20/php-5_3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenID, WordPress 3.0.1 and Brokenness</title>
		<link>http://mmt.me.uk/blog/2010/08/20/openid-wp-brokenness/</link>
		<comments>http://mmt.me.uk/blog/2010/08/20/openid-wp-brokenness/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 11:17:06 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[suck]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=225</guid>
		<description><![CDATA[So, I am officially super annoyed with both OpenID and with WordPress right now. There is a bug in the OpenID plugin developed by the Diso project (thanks guys), I have been using this plugin for a while now, but it seems very broken at the moment. I have managed to get my OpenID server [...]]]></description>
			<content:encoded><![CDATA[<p>So, I am officially super annoyed with both <a href="http://openid.net/">OpenID</a> and with <a href="http://wordpress.org/">WordPress</a> right now. There is a bug in the OpenID plugin developed by the <a href="http://code.google.com/p/diso/">Diso project</a> (thanks guys), I have been using this plugin for a while now, but it seems very broken at the moment. </p>
<p>I have managed to get my OpenID server working, my OpenID URI being <a href="http://mmt.me.uk/blog/">http://mmt.me.uk/blog/</a>, but I have yet (after hours of trying), managed to get OpenID commenting fixed on my blog. </p>
<p>So my apologies if you try and comment on my blog using your OpenID, as it doesn&#8217;t work.</p>
<p>The most annoying thing about this whole issue is the fact that I get perhaps the least helpful error message ever. The following error message pops up when I attempt to use my colleagues OpenID to post a comment to one of my articles, this following error message gets sent to my STERR :</p>
<p><code>[Fri Aug 20 12:01:14 2010] [error] [client XXX.XXX.XXX.XXX] Successfully fetched 'http://steve.harris.name/': GET response code 200, referer: http://mmt.me.uk/blog/2010/07/30/the-facebook-like-button/</code></p>
<p>&#8220;200, and Successfully fetched!&#8221; my ass!</p>
<p>In order to get the OpenID server working I had to apply a <a href="http://code.google.com/p/diso/issues/detail?id=161">patch</a>, which has been raised as a ticket on the diso project issue tracker. In short, there are two required changes, due to PHP 5.3 funkiness, required to make the OpenID server work.</p>
<p>These couple of changes to the OpenID libraries which came with my version of WordPress is due to the fact that PHP 5.3 has clamped down on the returning of values when expecting a reference to be returned by a function, this phenomena was illustrated in the following errors : </p>
<p><code><br />
[Sun Apr 18 23:40:05 2010] [error] [client 140.203.155.13] PHP Warning:  Parameter 1 to Auth_OpenID_Server::openid_associate() expected to be a reference, value given in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1702<br />
[Sun Apr 18 23:40:05 2010] [error] [client 140.203.155.13] PHP Fatal error:  Call to a member function needsSigning() on a non-object in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1495<br />
[Sun Apr 18 23:40:06 2010] [error] [client 78.86.167.133] PHP Warning:  Parameter 1 to Auth_OpenID_CheckIDRequest::fromMessage() expected to be a reference, value given in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1576, referer: http://apassant.net/blog/2010/04/18/sparql-pubsubhubbub-sparqlpush?destination=node%2F374<br />
[Sun Apr 18 23:49:36 2010] [error] [client 193.203.240.209] PHP Warning:  Parameter 1 to Auth_OpenID_Server::openid_associate() expected to be a reference, value given in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1702<br />
[Sun Apr 18 23:49:36 2010] [error] [client 193.203.240.209] PHP Fatal error:  Call to a member function needsSigning() on a non-object in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1495<br />
[Sun Apr 18 23:49:52 2010] [error] [client 193.203.240.209] PHP Warning:  Parameter 1 to Auth_OpenID_Server::openid_associate() expected to be a reference, value given in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1702<br />
[Sun Apr 18 23:49:52 2010] [error] [client 193.203.240.209] PHP Fatal error:  Call to a member function needsSigning() on a non-object in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1495<br />
[Sun Apr 18 23:50:27 2010] [error] [client 216.97.225.85] PHP Warning:  Parameter 1 to Auth_OpenID_Server::openid_associate() expected to be a reference, value given in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1702<br />
[Sun Apr 18 23:50:27 2010] [error] [client 216.97.225.85] PHP Fatal error:  Call to a member function needsSigning() on a non-object in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1495<br />
[Sun Apr 18 23:50:28 2010] [error] [client 78.86.167.133] PHP Warning:  Parameter 1 to Auth_OpenID_CheckIDRequest::fromMessage() expected to be a reference, value given in /media/data/www/mmtmeuk/public_html/blog/wp-content/plugins/openid/Auth/OpenID/Server.php on line 1576, referer: http://www.pillwatch.com/proc_openid-login.php<br />
</code></p>
<p>There is a page which describes the patch one needs to run to overcome this: </p>
<p><a href="http://patchlog.com/wp-content/uploads/2009/11/openid-server-php.5.3.diff">http://patchlog.com/wp-content/uploads/2009/11/openid-server-php.5.3.diff</a></p>
<p>I need to get on with other stuff now, will revisit this in the future &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2010/08/20/openid-wp-brokenness/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>EEEbuntu on a ASUS EEEpc 701</title>
		<link>http://mmt.me.uk/blog/2009/07/09/eeebuntu-on-a-asus-eeepc-701/</link>
		<comments>http://mmt.me.uk/blog/2009/07/09/eeebuntu-on-a-asus-eeepc-701/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 11:18:15 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=82</guid>
		<description><![CDATA[I have recently been given a ASUS EEEpc 701, thanks swh, and have till now found it way too slow and jerky. The 701 I have has got 1G of RAM and 4G of disk space built in, which I added a 16G flash disk too. Thanks to Seb (old housemate), I have now downgraded [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently been given a <a href="http://en.wikipedia.org/wiki/ASUS_Eee_PC">ASUS EEEpc 701</a>, thanks <a href="http://plugin.org.uk/swh.xrdf#me">swh</a>, and have till now found it way too slow and jerky. The 701 I have has got 1G of RAM and 4G of disk space built in, which I added a 16G flash disk too.</p>
<p>Thanks to <a href="http://oneshare.ecs.soton.ac.uk/people/">Seb</a> (old housemate), I have now downgraded the graphics driver, and as a result it is now totally usable, yay to small computers!! I followed this <a href="http://digitalpatch.blogspot.com/2009/06/story.html">howto guide</a> when attempting to fix the EeeeeePc.</p>
<p>These are the steps I took : </p>
<p>1. Edited and added the below lines to : /etc/apt/sources.list:<br />
<code><br />
 deb http://ppa.launchpad.net/siretart/ppa/ubuntu jaunty main<br />
 deb-src http://ppa.launchpad.net/siretart/ppa/ubuntu jaunty main<br />
</code></p>
<p>2. Imported the needed key:<br />
<code><br />
 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xce90d8983e731f79<br />
</code></p>
<p>3. Installed the older driver:<br />
<code><br />
 $ sudo apt-get update<br />
 $ sudo apt-get install xserver-xorg-video-intel-2.4<br />
</code></p>
<p>4. Restarted X.<br />
<code><br />
sudo /etc/init.d/gdm restart<br />
</code></p>
<p>And then, like magic a usable working <a href="http://eeebuntu.org/">EEEbuntu</a> on the 701. Notes that I tend to install <a href="http://fedoraproject.org/">Fedora OSs</a> on my machines, this is the first time I have decided to stick with an Ubuntu flavoured OS.</p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/07/09/eeebuntu-on-a-asus-eeepc-701/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determining the Level of Trust of a Digitally Signed Document</title>
		<link>http://mmt.me.uk/blog/2009/07/08/determining-the-level-of-trust-of-a-digitally-signed-document/</link>
		<comments>http://mmt.me.uk/blog/2009/07/08/determining-the-level-of-trust-of-a-digitally-signed-document/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 16:38:37 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[SemanticWeb]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=77</guid>
		<description><![CDATA[In order to determine how trustworthy a digital signature of a file is, you need to grab the file, the digital signature, and you will need to import the user&#8217;s public key. This wikipedia fragment describes what is meant by a &#8220;trustworthy signature&#8221; in terms of the Web of Trust. This is the command I [...]]]></description>
			<content:encoded><![CDATA[<p>In order to determine how trustworthy a digital signature of a file is, you need to grab the file, the digital signature, and you will need to import the user&#8217;s public key. <a href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy#Web_of_trust">This wikipedia fragment </a>describes what is meant by a &#8220;trustworthy signature&#8221; in terms of the Web of Trust.</p>
<p>This is the command I run to determine the level of trust of my signed foaf file.<br />
<code><br />
gpg --verify --no-tty --status-fd 2 --command-fd 0 foaf.rdf.asc foaf.rdf<br />
</code></p>
<p>Which results in the folowing output :<br />
<code><br />
gpg: Signature made Wed  3 Jun 23:19:52 2009 BST using RSA key ID 51F2F7EF<br />
[GNUPG:] SIG_ID foL1PiWCT+546VnE17UG2QvWJeE 2009-06-03 1244067592<br />
[GNUPG:] GOODSIG 9ED0B04E51F2F7EF Mischa Tuffield (Mischa@Garlik) &lt;mischa.tuffield@garlik.com&gt;<br />
gpg: Good signature from "Mischa Tuffield (Mischa@Garlik) &lt;mischa.tuffield@garlik.com&gt;"<br />
gpg:                 aka "Mischa Tuffield (http://id.ecs.soton.ac.uk/person/6914) &lt;mmt04r@ecs.soton.ac.uk&gt;"<br />
[GNUPG:] VALIDSIG 18A2AF280CA59E77AE512BB39ED0B04E51F2F7EF 2009-06-03 1244067592 0 4 0 1 2 00 18A2AF280CA59E77AE512BB39ED0B04E51F2F7EF<br />
[GNUPG:] TRUST_ULTIMATE<br />
</code></p>
<p>This is an automatic way of evaluating how trust worthy statement at the end of a URI are.</p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/07/08/determining-the-level-of-trust-of-a-digitally-signed-document/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inode Failure</title>
		<link>http://mmt.me.uk/blog/2009/07/08/inode-failure/</link>
		<comments>http://mmt.me.uk/blog/2009/07/08/inode-failure/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 13:21:25 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[:(]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=72</guid>
		<description><![CDATA[Hello All, I had one of my hard-drives fail miserably a couple of weeks ago, and have only now recovered all of my blog content from Google&#8217;s and Yahoo&#8217;s caches. I have recreated all of the content, and have set up a cronjob to backup my sql tables, I had copies of most of the [...]]]></description>
			<content:encoded><![CDATA[<p>Hello All, </p>
<p>I had one of my hard-drives fail miserably a couple of weeks ago, and have only now recovered all of my blog content from <a href="http://www.googleguide.com/cached_pages.html">Google&#8217;s</a> and <a href="http://help.yahoo.com/l/us/yahoo/search/basics/basics-09.html">Yahoo&#8217;s</a> caches. I have recreated all of the content, and have set up a cronjob to backup my sql tables, I had copies of most of the important stuff on my machine, and only lost my sql tables &#8230; d&#8217;oh&#8230;.</p>
<p>I have set the following 301 redirects from all of the old URLs, I don&#8217;t think I have missed any out. Do shout if you find any old broken URLs on my site.<br />
<code><br />
redirect 301 /blog/2009/04/02/barcamp-09/ /blog/2009/07/07/barcamp-09/<br />
redirect 301 /blog/2009/03/24/time-machine-to-a-linux-box/ /blog/2009/07/07/timemachine-to-a-linux-box/<br />
redirect 301 /blog/2009/03/23/signing-a-public-key/ /blog/2009/07/08/signing-someone’s-public-key/<br />
redirect 301 /blog/2009/03/20/making-foaf-useful/ /blog/2009/07/08/making-foaf-useful/<br />
redirect 301 /blog/2009/03/19/yum_64bit_binaries/ /blog/2009/07/07/configuring-yum-to-only-install-64bit-binaries/<br />
redirect 301 /blog/2009/03/19/webdav_webid/ /blog/2009/07/08/enabling-a-writable-webid-with-webdav/<br />
redirect 301 /blog/2009/03/18/foafwot/ /blog/2009/07/08/enabling-trust-in-a-foaf-document/<br />
redirect 301 /blog/2009/03/17/signingverifyinggpg/ /blog/2009/07/08/signing-and-verifying-documents-using-gnupg/<br />
redirect 301 /blog/2009/02/05/ah-good-work-tobyink/ /blog/2009/07/07/ah-good-work-tobyink-…/<br />
redirect 301 /blog/2009/01/28/duplicate-dylib-libiconv2/ /blog/2009/07/07/duplicate-dylib-libiconv-2-dylib/<br />
redirect 301 /blog/2008/12/31/ld-duplicate-symbol-mac-osx/ /blog/2009/07/07/ld-duplicate-symbol-_g_bit_nth_lsf-mac-osx-leoparddarwin/<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/07/08/inode-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Signing someone’s public key</title>
		<link>http://mmt.me.uk/blog/2009/07/08/signing-someone%e2%80%99s-public-key/</link>
		<comments>http://mmt.me.uk/blog/2009/07/08/signing-someone%e2%80%99s-public-key/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 10:22:02 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=46</guid>
		<description><![CDATA[In order to help make a digital signature trustworthy you can ask people you know who also own gpg identities to sign yours. This in turn allows for the web of trust to be bootstrapped by people signing and verifying each others gpg identities. In order to sign a gpg identity, one needs to : [...]]]></description>
			<content:encoded><![CDATA[<p>In order to help make a digital signature trustworthy you can ask people you know who also own gpg identities to sign yours. This in turn allows for the web of trust to be bootstrapped by people signing and verifying each others gpg identities. </p>
<p>In order to sign a gpg identity, one needs to : </p>
<ul>
<li>Import the user&#8217;s public key, (<a href="http://mmt.me.uk/mischa.pubkey.asc">mine can grabbed from here</a>):<br />
          <code>gpg --import somePubKey.asc</code></li>
<li>Check the identities fingerprint:
<p>         <code>gpg --fingerprint PubKeyHexValue</code></li>
<li>Given that you are convinced the key belongs to whoever you think it should, sign the key:
<p>         <code>gpg --sign-key PubKeyHexValue</code></li>
<li>Send the signed key back to your keyserver:<br />
         <code>gpg --send-keys PubKeyHexValue</code></li>
</ul>
<p>I sign all of my emails using my <a href="http://mmt.me.uk/mischa.pubkey.asc">gpg public key</a>, it should be noted that only emails sent from my laptop can sign be signed using this identity. I should thank my former colleagues from the <a href="http://www.soton.ac.uk/">University of Southampton</a> who signed by gpg identity, they have done their little bit to help bootstrap the Web of Trust.</p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/07/08/signing-someone%e2%80%99s-public-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Signing and Verifying documents using GnuPG</title>
		<link>http://mmt.me.uk/blog/2009/07/08/signing-and-verifying-documents-using-gnupg/</link>
		<comments>http://mmt.me.uk/blog/2009/07/08/signing-and-verifying-documents-using-gnupg/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 10:20:28 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=43</guid>
		<description><![CDATA[In this post I will describe how to both sign and in turn verify the validity of a document. Below describes how one could use the open-source GnuPG implementation of the OpenPGP standard as defined by RFC4880 as a mechanism of trust. You can find out more information here at the PGP faq at pgp.net. [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I will describe how to both sign and in turn verify the validity of a document. Below describes how one could use the open-source <a href="http://www.gnupg.org/">GnuPG</a> implementation of the OpenPGP standard as defined by <a href="http://www.ietf.org/rfc/rfc4880.txt">RFC4880</a> as a mechanism of trust. You can find out more information here at <a href="http://www.pgp.net/pgpnet/pgp-faq/">the PGP faq at pgp.net</a>.</p>
<p><em>So, why would you ever want to sign a document using the OpenPGP standard?</em></p>
<p>One can sign a file using the OpenPGP standard before putting it in the public domain so that if and when another person/agent views the file they can check whether or not the file has been tampered with on route. This method of signing files provides the creator of a document with an ability to sign their work, which in turn allows the reader to know whether or not the file has been altered since being signed.</p>
<p>In essence every user has a public and a private key, and when a GnuPG user wants to sign a file they end-up creating a checksum of whole file using their keys. This checksum can then be used to verify that a document has not been tampered with, this is done by the GnuPG software comparing the checksum, the file in question, and the user&#8217;s public key. </p>
<p><strong>Step 0</strong></p>
<p>After creating your gpg keys you have to ensure that you have pushed your public key to one of the public keyservers, you can do this like so: </p>
<p><code>gpg --keyserver pgp.mit.edu --send-keys YOUR-EMAIL-ADDRESS</code></p>
<p>Make sure that your private key is private, and that it is not accessible by any of the other users setup on your machine. You can do this by : </p>
<p><code>chmod 600 ~/.gnupg/YOURPRIVATEKEY.asc</code></p>
<p>Make sure this is safe, for this is the only file someone needs to pretend to be you. </p>
<p><strong>Signing a file using GnuPG</strong></p>
<p>In this example the file which we are signing is called foaf.rdf. After setting up your gpg keys you can sign the file like so : </p>
<p><code>gpg -a --detach-sign foaf.rdf</code></p>
<p>This creates a file called foaf.rdf.asc (ASCII-armored digital signature) in the directory where the command was executed. </p>
<p><strong>Checking a file against it&#8217;s ASCII-armored digital signature</strong></p>
<p>If you have both the original file and the ASCII-armored digital signature of the file in the current working directory you can verify the files integrity by execting the following command : </p>
<p><code>gpg --verify</code></p>
<p>The output this last command will notify the user to whether or not the file has been altered since the last time it was signed.</p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/07/08/signing-and-verifying-documents-using-gnupg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Yum to only install 64bit binaries</title>
		<link>http://mmt.me.uk/blog/2009/07/07/configuring-yum-to-only-install-64bit-binaries/</link>
		<comments>http://mmt.me.uk/blog/2009/07/07/configuring-yum-to-only-install-64bit-binaries/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 17:15:04 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=24</guid>
		<description><![CDATA[This post follows the fact that I noticed that some of my 64bit development machines had 32bit binaries installed on them. It should be noted that this is not fatal in any sense of the word, but it is simply not ideal. Here I will present how you can first identify what your machine&#8217;s architecture [...]]]></description>
			<content:encoded><![CDATA[<p>This post follows the fact that I noticed that some of my <a href="http://en.wikipedia.org/w<br />
iki/X86-64">64bit</a> development machines had 32bit binaries installed on them. It should be noted that this is not fatal in any sense of the word, but it is simply not ideal. </p>
<p>Here I will present how you can first identify what your machine&#8217;s architecture is, and then I will show how you can b<br />
oth remove existing 32bit binaries, and how you can configure <a href="http://yum.baseurl.org/">YUM</a> so that it will only ev<br />
er install 64bit software.</p>
<p>This blog post is only relevant if your linux box uses YUM as a package manager. </p>
<p><strong>Identifying your machine&#8217;s architecture</strong></p>
<p>In order to find out what your machine&#8217;s architecture is you need to execute the following command from your command line: </p>
<p><code>uname -a </code></p>
<p>If the result looks something like below, it means you have a 64bit machine, where the x86_64 implies the machine is 64bit.<br />
If it had any of i386, i586, or i686, it would imply that the machine was a 32bit one.</p>
<p><code>Linux foo.bar.com 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux</code></p>
<p><strong>Remove all 32bit binaries : </strong></p>
<p><code>yum erase *.i386<br />
yum erase *.i586<br />
yum erase *.i686<br />
</code></p>
<p><strong>Tell YUM to never install 32bit binaries again: </strong></p>
<p>You need to add the below line to your <code>yum.conf</code> file (usually found in /etc/) :</p>
<p><code>exclude=*.i386 *.i586 *.i686</code></p>
<p>At this point, all future software install via the YUM package manager will be optimised for your machine&#8217;s architecture. </p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/07/07/configuring-yum-to-only-install-64bit-binaries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

