<?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; Red Hat</title>
	<atom:link href="http://blog.itsmine.co.uk/tag/red-hat/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.itsmine.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 18 Apr 2010 02:28:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<atom:link rel="next" href="http://blog.itsmine.co.uk/tag/red-hat/feed/?page=2" />

		<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; title: ;">#!/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 [...]]]></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; title: ;">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>3</slash:comments>
		</item>
		<item>
		<title>Certification exams and the like…</title>
		<link>http://blog.itsmine.co.uk/2009/07/05/certification-exams-and-the-like%e2%80%a6/</link>
		<comments>http://blog.itsmine.co.uk/2009/07/05/certification-exams-and-the-like%e2%80%a6/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 17:24:09 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=518</guid>
		<description><![CDATA[Ok, so just this past week I think I’ve gone a bit crazy with the certification exam bookings. I booked myself in for two linux certifications which I was due to take yesterday. I say &#8220;due&#8221; because when I actually got to the place where the exam was meant to be &#8220;Professional Computer College, 85-89 [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so just this past week I think I’ve gone a bit crazy with the  certification exam bookings. I booked myself in for two linux certifications which I was due to take yesterday. I say &#8220;due&#8221; because when I actually got to the place where the exam was meant to be &#8220;<a onclick="window.open('http://maps.google.co.uk/?ie=UTF8&amp;ll=53.40171,-2.981694&amp;spn=0,359.984572&amp;t=h&amp;z=17&amp;layer=c&amp;cbll=53.40168,-2.981557&amp;panoid=wulEYtXATAYrDV_7joJOhw&amp;cbp=12,18.27,,0,-7.95','Non-existant test centre','resizable=yes,width=800,height=500,left='+(screen.availWidth/2-400)+',top='+(screen.availHeight/2-250)+'');return false;" href="http://maps.google.co.uk/?ie=UTF8&amp;ll=53.40171,-2.981694&amp;spn=0,359.984572&amp;t=h&amp;z=17&amp;layer=c&amp;cbll=53.40168,-2.981557&amp;panoid=wulEYtXATAYrDV_7joJOhw&amp;cbp=12,18.27,,0,-7.95">Professional Computer College, 85-89 Duke Street, Liverpool, L1 5AP</a>&#8220;. The building looked just about abandoned, except through a ground-floor window I could just about see a noticeboard with some clippings about &#8220;Nerve&#8221;. A wee <a href="http://www.catalystmedia.org.uk/contact.htm" target="_blank">google later</a> and it appears that they now occupy the building. The left brass placard next to the door had been removed so I only had the street number to go against. I rang the doorbell and what looked like a bodyguard (he had an earpiece with a spring cord) answered the door. I asked him if this building was Pearson Vue, or the computer college, he said no and looked at me rather suspiciously. He didn&#8217;t offer any information, or ask if I needed directions. He just closed the door rather quickly. As I was walked away, looking up a number on my phone, I was aware that a silver Range Rover with blacked out windows had pulled up rapidly outside the door I&#8217;d just been at. About three people, including the bodyguard guy I&#8217;d just spoken to quickly walked out of the building and got into the back of the 4&#215;4 and sped off. That was&#8230; interesting.</p>
<p>Anyway, back to the story. I tried contacting Pearson Vue (or &#8220;Piss-On-You&#8221; as my sister honestly mis-heard on the phone) on three numbers, first off I tried the two numbers they gave for the test-centre both of which just rang out. Next I tried the customer services number which was auto-answered by a recorded message saying that &#8220;Due to an incident no-one can answer the phone at the moment. Please try again later&#8221;. To say I was thoroughly pissed off was an understatement. I walked up and down Duke Street twice more looking for a building that had anything like &#8220;Pearson Vue&#8221; of &#8220;Professional Computer College&#8221; as a placard. No dice. By this time I&#8217;d spent about an hour looking for the place. I eventually gave up after all possible routes of contacting Pearson Vue failed. I&#8217;m going to have to ring them on Monday and demand a refund.  Watch this space.</p>
<p>So, the exams themselves&#8230; these ones are fairly basic but I need to  get them out of the way before I can move up to the more difficult (and higher  regarded) levels. In case you’re interested, the ones I’m taking are with the <a title="Linux Professional Institute" href="http://www.lpi.org/" target="_blank">LPI</a> and they’re the <a href="http://www.lpi.org/eng/certification/the_lpic_program/lpic_1" target="_blank">Level 1</a> exams. Meanwhile in Windows land, I’m booked in for  exam 70-290 at the end of July. I’ve been working with Server 2003 for, well, 6  years now, I&#8217;ve been on the course, I&#8217;ve read the book, I&#8217;m pretty confident I&#8217;ll do ok, I just need to keep in mind the &#8220;Microsoft way&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/07/05/certification-exams-and-the-like%e2%80%a6/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; title: ;">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; title: ;">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; title: ;">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>2</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; [...]]]></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>HOWTO: Install Subversion, Ruby on Rails and Redmine on CentOS5 (&amp; RHEL5)</title>
		<link>http://blog.itsmine.co.uk/2009/01/22/howto-install-subversion-and-redmine-on-centos5-rhel5/</link>
		<comments>http://blog.itsmine.co.uk/2009/01/22/howto-install-subversion-and-redmine-on-centos5-rhel5/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 10:26:05 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[redmine]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=400</guid>
		<description><![CDATA[[Update 17th Sept 2009] I&#8217;ve just noticed that Redmine version 0.8.5 was released last week, while this HOWTO should still be valid, I have not yet tested it so please report any issues you experience with new installs in the comments and I&#8217;ll look into them and amend the HOWTO where necessary [Updated 3rd June [...]]]></description>
			<content:encoded><![CDATA[<p>[Update 17th Sept 2009]</p>
<p>I&#8217;ve just noticed that Redmine version 0.8.5 was released last week, while this HOWTO should still be valid, I have not yet tested it so please report any issues you experience with new installs in the comments and I&#8217;ll look into them and amend the HOWTO where necessary <img src='http://blog.itsmine.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="color: #800080;">[Updated 3rd June 2009]</span></p>
<p>So since <a href="http://www.assembla.com" target="_blank">Assembla</a> changed it&#8217;s strategy and forced  a monetised service or your once private projects were to become public after some date in February I decided to set up my own subversion repos / web management interface.</p>
<p>I never really used the Assembla service to its full potential however and all I really needed was a basic SVN setup with a webinterface to show the diffs in an eye-friendly format. The only two real choices were <a href="http://www.google.co.uk/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Ftrac.edgewall.org%2F&amp;ei=c0d4SaDRK4mt-gbM_YHYDw&amp;usg=AFQjCNFj9e7EQBej7FOQLMErR3QOrAtShQ&amp;sig2=Qz479KBdRN6dyreAtLtvXg" target="_blank">Trac</a> and <a href="http://www.google.co.uk/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.redmine.org%2F&amp;ei=jkd4ScX5IJKj-gbhy5nbDw&amp;usg=AFQjCNFdhje3wlQXAFvw07HLWK7lIeOIoA&amp;sig2=9hb9qskm7LLklrNLQPoMpw" target="_blank">Redmine</a>. I&#8217;d already used Trac on Assembla and countless other project sites so I was more drawn to Redmine due to it&#8217;s good interface design (imo, the Trac interface looks like it&#8217;s stuck together with Lego pieces), its features are more integrated and well, I fancied a change. The only problem was that Redmine runs on <a href="http://rubyonrails.org/" target="_blank">Ruby on Rails</a> which I&#8217;ve heard very bad things about. So I decided to take a plunge and find out wtf the hassle was all about. It turns out there weren&#8217;t any up-to-date, well written and well maintained HOWTO&#8217;s out there detailing how to get a functional RoR environment configured on CentOS / RHEL. So I wrote my own (after hitting several brick walls)&#8230;</p>
<h3>HOWTO: Install Subversion, Ruby on Rails and Redmine on CentOS5 (&amp; RHEL5)</h3>
<p>NOTES</p>
<ul>
<li>This HOWTO is written for CentOS 5.2 [updates for 5.3 in <span style="color: #800080;">purple text</span>]</li>
<li>Replace [FQDN] with either your IP address or the hostname (or FQDN) which you’ll be using to access the interface.</li>
<li>Replace [user] with the username under whom&#8217;s home directory the Subversion repository database will be located. e.g. /home/[user]/svn-repos</li>
</ul>
<ul>
<li>This HOWTO will be using the following variables:</li>
</ul>
<blockquote>
<ul>
<li>You already have the &#8220;httpd&#8221; (apache) package installed</li>
<li>You will be running apache as the user ‘apache’</li>
<li>The subversion repository root folder will be under /home/[user]/subversion/</li>
<li>The vhost&#8217;s folder locationg will be /var/www/svn</li>
<li>The subversion repository to be created will be called ‘example-repo’</li>
</ul>
</blockquote>
<p>Install and set up Subversion</p>
<pre class="brush: bash; title: ;">yum install mod_dav_svn subversion</pre>
<p>Add the group [user] to the user apache and make the subversion base URL readable and writable&#8230;</p>
<pre class="brush: bash; title: ;">usermod -aG [user] apache
chmod g+x /home/[user]
mkdir /home/[user]/subversion
chmod g+rwx /home/[user]/subversion
chown -R [user]:[user] /home/[user]/subversion</pre>
<p>Make the web directory:</p>
<pre class="brush: bash; title: ;">mkdir /var/www/svn
chown apache.apache /var/www/svn</pre>
<p>Put the following into /etc/httpd/conf.d/svn.conf (this is for a sub-repo called &#8216;example-repo&#8217;)</p>
<pre class="brush: plain; title: ;">NameVirtualHost *:80
&lt;VirtualHost *:80&gt;
        DocumentRoot &quot;/var/www/svn&quot;
        ServerName [FQDN]
        &lt;Location /example-repo&gt;
                DAV svn
                SVNPath /home/[user]/subversion/example-repo
                AuthType Basic
                AuthName &quot;Subversion repo&quot;
                AuthUserFile /var/www/passwd
                Require valid-user
        &lt;/Location&gt;

        &lt;Directory &quot;/var/www/svn&quot;&gt;
        allow from all
        Options +Indexes
        &lt;/Directory&gt;
&lt;/VirtualHost&gt;</pre>
<p>Add an HTTP auth user&#8230;</p>
<pre class="brush: bash; title: ;">htpasswd -cm /var/www/passwd [user]</pre>
<p>Create a proper SVN repository</p>
<pre class="brush: bash; title: ;">cd /home/[user]/subversion
su [user] -c &quot;svnadmin create example-repo&quot;</pre>
<p>Import any SVN repos by doing:</p>
<pre class="brush: bash; title: ;">su [user] -c &quot;svnadmin load example-repo &lt; /path/to/repo/dump/file&quot;</pre>
<p>Make sure the permissions are correct</p>
<pre class="brush: bash; title: ;">chmod g+rwx /home/[user]/subversion
chown -R [user].[user] /home/[user]</pre>
<p><strong><ins>Install Ruby on Rails</ins></strong></p>
<p>*NOTE: Ruby on Rails installation requires the EPEL yum repository (at time of writing).</p>
<pre class="brush: bash; title: ;">su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'</pre>
<p>Let&#8217;s get Ruby up and running first&#8230; [NOTE: not on an SElinux environment cba with that]</p>
<pre class="brush: bash; title: ;">yum install httpd httpd-devel apr make gcc-c++ mysql-server mysql ruby ruby-devel ruby-docs ruby-ri \
ruby-libs ruby-mode ruby-tcltk ruby-irb ruby-rdoc fcgi fcgi-devel mod_fcgid rubygems subversion-ruby</pre>
<p>Now we&#8217;ll install passenger (aka mod_rails)</p>
<pre class="brush: bash; title: ;">gem install passenger
passenger-install-apache2-module</pre>
<p>Create and insert this text into /etc/httpd/conf.d/rails.conf (or alternatively edit the existing svn.conf created when we set up subversion)<br />
NOTE:</p>
<ul>
<li>The below configuration is specific to the installation of redmine (hence the DocumentRoot)</li>
</ul>
<pre class="brush: plain; title: ;">LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so
   PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6
   PassengerRuby /usr/bin/ruby

NameVirtualHost *:80

   &lt;VirtualHost *:80&gt;
     ServerName 192.168.10.17
     DocumentRoot /var/www/rails/redmine/public
   &lt;/VirtualHost&gt;</pre>
<p><strong><ins>Now on to Redmine itself</ins></strong></p>
<p>Get Redmine 0.8 from <a class="external" href="http://www.redmine.org/wiki/redmine/Download">http://www.redmine.org/wiki/redmine/Download</a></p>
<pre class="brush: bash; title: ;">cd /usr/src
svn co http://redmine.rubyforge.org/svn/branches/0.8-stable redmine-0.8
mkdir /var/www/rails/
cd /var/www/rails/
cp -r /usr/src/redmine-0.8/ redmine/
chown -R apache.apache redmine
cd redmine</pre>
<p>Create a clean backup of source files</p>
<pre class="brush: bash; title: ;">tar czf Redmine0.8-clean.tar.gz .</pre>
<p>Initialise mySQL:</p>
<pre class="brush: bash; title: ;">service mysqld start</pre>
<p>To secure mysql:</p>
<pre class="brush: bash; title: ;">mysql_secure_installation</pre>
<p>Create a mysql database for redmine&#8230;</p>
<pre class="brush: bash; title: ;">mysql -u[username] -p</pre>
<p>At the prompt enter:</p>
<pre class="brush: bash; title: ;">create database redmine character set utf8;</pre>
<p>Quit with:</p>
<pre class="brush: bash; title: ;">quit</pre>
<p>Copy the example database file to the &#8220;live&#8221; location</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine
cp config/database.yml.example config/database.yml</pre>
<p>Enter the appropriate settings for the [production] section ensuring that host is set to 127.0.0.1</p>
<pre class="brush: bash; title: ;">vim /var/www/rails/redmine/config/database.yml</pre>
<p>Set up email</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine
cp config/email.yml.example config/email.yml</pre>
<p>Enter the appropriate settings for the [production] section ensuring that &#8220;address&#8221; is set to the <strong>IP address</strong> of the SMTP host</p>
<pre class="brush: bash; title: ;">vim /var/www/rails/redmine/config/email.yml</pre>
<p>Install rails for redmine using gem&#8230;</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine/app/
gem install -v=2.1.2 rails</pre>
<p>Import the redmine database into the live database specified in the above config file</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine/app/
rake db:migrate RAILS_ENV=&quot;production&quot;</pre>
<p>Install default configuration data in database (this is entirely optional, but recommended).</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine/app/
rake redmine:load_default_data RAILS_ENV=&quot;production&quot;</pre>
<p>Bring up the testing webserver, once loaded check your config by browsing to <a class="external" href="http://%5bfqdn%5d:3000/">http://[FQDN]:3000</a></p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine/
ruby script/server -e production</pre>
<p>Make sure your apache config file edits are ok and that the services will start at boot by doing:</p>
<pre class="brush: bash; title: ;">service httpd configtest
service httpd restart
chkconfig httpd on
chkconfig mysqld on</pre>
<p>[Optional:] Add the following to your crontab which will create a database backup in the /home/[user] directory</p>
<pre class="brush: bash; title: ;">/usr/bin/mysqldump -u &lt;user&gt; -p &lt;password&gt; &lt;database&gt; | gzip &gt; /home/[user]/redmine_`date +%y_%m_%d`.gz</pre>
<p><span style="color: #800080;">Make your subversion server configuration accessible to redmine by doing the following:</span></p>
<pre class="brush: bash; title: ;">mkdir /etc/subversion
cp -r /root/.subversion/* /etc/subversion/
vim /var/www/rails/redmine/lib/redmine/scm/adapters/subversion_adapter.rb</pre>
<p><span style="color: #800080;">Change the line:</span></p>
<pre class="brush: bash; title: ;">SVN_BIN = &quot;svn&quot;</pre>
<p><span style="color: #800080;">to:</span></p>
<pre class="brush: bash; title: ;">SVN_BIN = &quot;svn --config-dir /etc/subversion&quot;</pre>
<p><span style="color: #800080;">Then restart apache:</span></p>
<pre class="brush: bash; title: ;">service httpd restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/01/22/howto-install-subversion-and-redmine-on-centos5-rhel5/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Dropbox + eXtplorer: A better web interface</title>
		<link>http://blog.itsmine.co.uk/2009/01/20/dropbox-extplorer-a-better-web-interface/</link>
		<comments>http://blog.itsmine.co.uk/2009/01/20/dropbox-extplorer-a-better-web-interface/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 00:25:18 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[extplorer]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=383</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>Ok, so I found myself online at a workstation without admin access the other day and needed desperately to edit a file on my Dropbox account, it was just a plain text file and the edit was only small, so I set about finding a way of doing it, and came up with this as [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Ok, so I found myself online at a workstation without admin access the other day and needed desperately to edit a file on my Dropbox account, it was just a plain text file and the edit was only small, so I set about finding a way of doing it, and came up with this as a temporary solution until Dropbox have a fully functional, released API&#8230;</p>
<p style="text-align: center;"><small>(Please open the article to see the flash file or player.)</small></p>
<p>P.S. The error was actually caused by a non-standard character in the filename (+). I&#8217;ll be filing a bug with eXtplorer for that <img src='http://blog.itsmine.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: left;">Documentation (Wiki) can also be found <a href="http://svn.bemail.co.uk/wiki/public-code/HOWTO-Dropbox-Apache-and-eXtplorer" target="_blank">here</a>.</p>
<p style="text-align: left;">
<p><strong>NOTE: Replace <em>[user]</em> with the username under which the Dropbox folder is located.<br />
NOTE: Replace <em>[FQDN]</em> with either your IP address or the hostname (or FQDN) which you&#8217;ll be using to access the interface.</strong></p>
<p><strong>NOTE: This HOWTO assumes that you will be running apache as the user &#8216;apache&#8217; and that you have already set up your Dropbox account syncing to your /home/[user]/Dropbox folder</strong></p>
<p>To get Dropbox running with apache and extplorer you need to get the following packages:</p>
<pre>yum install php httpd</pre>
<p>Make the VirtualHost director and get permissions / groups correct:</p>
<pre>mkdir /var/www/dropbox
chown apache:apache /var/www/dropbox
usermod -aG [user] apache
usermod -aG apache [user]</pre>
<p>Now create and populate an apache virtualhost config file:</p>
<pre>vim /etc/httpd/conf.d/dropbox.conf</pre>
<p>Populate it with the following text:</p>
<pre>NameVirtualHost *:80
    &lt;VirtualHost *:80&gt;
        DocumentRoot "/var/www/dropbox"
        ServerName [FQDN]
        &lt;Directory "/var/www/dropbox"&gt;
            allow from all
            Options +Indexes
            AuthType Basic
            AuthName "Dropbox"
            AuthUserFile /var/www/passwd
            Require valid-user
        &lt;/Directory&gt;
    &lt;/VirtualHost&gt;</pre>
<p>Now add a username / password to access your interface via HTTP auth:</p>
<pre>htpasswd -cm /var/www/passwd yourusername
chown apache.apache /var/www/passwd</pre>
<p>Make sure that apache has full group access to your Dropbox folder.</p>
<pre>chmod g+x /home/[user]
chmod g+rw /home/[user]/Dropbox
find /home/[user]/Dropbox -type d -exec chmod g+x {} ;</pre>
<p>Download the latest version of eXtplorer from <a class="external" href="http://extplorer.sourceforge.net/">http://extplorer.sourceforge.net/</a></p>
<pre>cd /var/www/dropbox
wget http://heanet.dl.sourceforge.net/sourceforge/extplorer/eXtplorer_2.0.1.zip
unzip eXtplorer*.zip</pre>
<p>Check we haven&#8217;t made any mistakes and set the services up:</p>
<pre>service httpd configtest
service httpd restart
chkconfig httpd on</pre>
<p>You can now log into http://[FQDN] using a browser and the default credentials (admin/admin) and set up your user, pointing the user&#8217;s &#8220;Home directory:&#8221; at /home/[user]Dropbox. Once you have set up your user you have the choice to remove the HTTP authentication which we included in the VirtualHost configuration above. Simply comment out (or delete) the following lines from your /etc/httpd/conf.d/dropbox.conf file:</p>
<pre>AuthType Basic
AuthName "Dropbox"
AuthUserFile /var/www/passwd
Require valid-user</pre>
<p>That&#8217;s it, you&#8217;re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/01/20/dropbox-extplorer-a-better-web-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Songbird sings</title>
		<link>http://blog.itsmine.co.uk/2008/12/12/songbird-sings/</link>
		<comments>http://blog.itsmine.co.uk/2008/12/12/songbird-sings/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 23:49:27 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Songbird]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=344</guid>
		<description><![CDATA[So, as I wrote in my last entry I installed Fedora 10 on my main desktop earlier in the week and I have to say, I can really see it staying there. The reasons behind my switch over from Windows are too numerous to detail &#8211; predominantly Fedora 10 will be used as the bedrock [...]]]></description>
			<content:encoded><![CDATA[<p>So, as I wrote in my last entry I installed Fedora 10 on my main desktop earlier in the week and I have to say, I can really see it staying there. The reasons behind my switch over from Windows are too numerous to detail &#8211; predominantly Fedora 10 will be used as the bedrock from which RHEL 6 will be carved, moulded and created and I&#8217;ve been stuck in RHEL 5 land for a long time without keeping up with the changes that have been going on in the world of Fedora. The past few Fedora releases have been a little shakey (imo) however Fedora 10 got some special love with regard to bug tracking and resolution. And <a href="http://www.theregister.co.uk/2008/11/25/fedora_10_review/" target="_blank">it shows</a> with <a href="http://arstechnica.com/news.ars/post/20081125-fedora-10-released-brimming-with-new-features.html" target="_blank">reviews</a> coming in from left right and centre praising the release.</p>
<p>The main reason I can see myself sticking with linux this time around is due to the fact that there are now real, viable alternative apps for the &#8220;killer&#8221; apps which I use on a Windows desktop &#8211; the best example of this (as you&#8217;ve probably guessed already from the title) is <a href="http://getsongbird.com/" target="_blank">Songbird</a>. This is the killer app for me when it comes to music management on linux. As much as I hate Apple I have to admit, I do use iTunes on Windows to organise all my music. The last time I tried Fedora 9 I gave Songbird a spin, which back then was still in &#8216;beta&#8217;, i.e. pre-version 1.</p>
<p style="text-align: center;"><a href="http://blog.itsmine.co.uk/wp-content/uploads/2008/12/songbird.png" rel="shadowbox[post-344];player=img;"><img class="size-medium wp-image-345 aligncenter" title="songbird" src="http://blog.itsmine.co.uk/wp-content/uploads/2008/12/songbird-515x365.png" alt="songbird" width="515" height="365" /></a></p>
<p>As you can see Songbird v1 is very much like iTunes, from a layout perspective, however it far far excels, as it&#8217;s based on the Mozilla platform, it gains from the inherent web-based functionality which comes with including a web page rendering engine. The result is a completely integrated audio application. The best function (imo) is the ability for artist info to be displayed in the window, along with youtube videos, news and photos. Also Songbird takes the best from Firefox in that the application is highly extensible &#8211; for example the album art carosel you see at the top of the window is an extension, you can either choose to install it, or not. Customisation is key, and Songbird use it very very effectively. Songbird has all the functionality of iTunes and then some. I should probably add that I don&#8217;t have an iPod and don&#8217;t use Songbird to sync an iPod, however there is an extension available which will do that very thing. For more info you might want to read their <a href="http://blog.songbirdnest.com/2008/12/02/songbird-10-is-here/" target="_blank">version 1 release blog post</a> which details the major features / improvements made recently.</p>
<p>Being cross-platform, I&#8217;m 100% certain that I will not be switching back to iTunes, since I&#8217;ll be able to simply port everything between OS&#8217;s. Sterling work Songbird &#8211; keep up the awesomeness!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2008/12/12/songbird-sings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RHEL vs Fedora</title>
		<link>http://blog.itsmine.co.uk/2008/10/02/rhel-vs-fedora/</link>
		<comments>http://blog.itsmine.co.uk/2008/10/02/rhel-vs-fedora/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 13:58:17 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=304</guid>
		<description><![CDATA[In the past I&#8217;ve been asked a lot about what the difference is between RHEL and Fedora &#8211; a lot of people think that Fedora is just a &#8216;free&#8217; version of RHEL with pretty much the same features with the only difference being that you have to pay for support with RHEL whereas Fedora is [...]]]></description>
			<content:encoded><![CDATA[<p>In the past I&#8217;ve been asked a lot about what the difference is between RHEL and Fedora &#8211; a lot of people think that Fedora is just a &#8216;free&#8217; version of RHEL with pretty much the same features with the only difference being that you have to pay for support with RHEL whereas Fedora is only community supported. Unfortunately there are more differences between Fedora and RHEL than just support. The best way I can describe it is a comparison between a Formula 1 car (Fedora) and a well-cared-for Mercedes road car (RHEL). The F1 car has all the latest gadgets and technology and is on the bleeding edge of design, but unfortunately things can go wrong, and things like the tires wear down and sometimes the car flies off the track after a corner (update). If there&#8217;s a design flaw (bug) the chances are they won&#8217;t re-design a new car mid-season just to fix it &#8211; they&#8217;ll rather fix it in the next design.<br />
The F1 car design gets a new release each season with a new paint job and better performing spoilers etc and unfortunately accidents still happen. After a year or so, the old car design is scrapped completely and parts aren&#8217;t made specially for it any more (it&#8217;s reached End-Of-Life and is no longer supported).</p>
<p>On the other hand however we have the Mercedes road car which has drawn all of the experience of building the engines and parts for the F1 car, but have had the time to mature the technology used in F1, make it extremely resilient and safe and put it all into a stable car. You can be confident driving the road car that nothing will break unexpectedly and that even if it does, you can take it to the garage and they&#8217;ll figure out what&#8217;s wrong and make it right again (bug fixes). You get air bags (RHCE&#8217;s <img src='http://blog.itsmine.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). You also get the peace of mind knowing that the car has a warranty and will last for a long time to come, and that parts will always be available for it, and that the tyres won&#8217;t wear down quickly etc. All because you know the car has been safety tested and engineered to withstand a crash and a break-down.</p>
<p>I think that&#8217;s about as far as I can take the analogy &#8211; but I&#8217;m sure you get the drift <img src='http://blog.itsmine.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2008/10/02/rhel-vs-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
