<?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>Diznix Blog &#187; Centos</title>
	<atom:link href="http://diznix.com/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://diznix.com</link>
	<description>News from Nowhere</description>
	<lastBuildDate>Sun, 05 Feb 2012 05:58:36 +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>Kickstart and DHCP</title>
		<link>http://diznix.com/2012/01/18/kickstart-and-dhcp/</link>
		<comments>http://diznix.com/2012/01/18/kickstart-and-dhcp/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 05:49:13 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[Kickstart]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1794</guid>
		<description><![CDATA[Here&#8217;s a tangled web to unpick at your leisure! Back in December, I finally switched off my 7 year-old laptop (a sturdy Thinkpad X40) that had been doing practically nothing except running Windows XP, on which was running my ISP&#8217;s &#8230; <a href="http://diznix.com/2012/01/18/kickstart-and-dhcp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a tangled web to unpick at your leisure!</p>
<p>Back in December, I finally switched off my 7 year-old laptop (a sturdy Thinkpad X40) that had been doing practically nothing except running Windows XP, on which was running my ISP&#8217;s Internet Connection software, and also sharing that Internet connection with Microsoft&#8217;s built-in ICS (&#8220;Internet Connection Sharing&#8221;). Effectively, my Thinkpad had been running as a router for years. In its place, I plugged the wireless Internet USB device into a Scientific Linux server and switched on IP forwarding: a little bit of re-configuration of my various clients (laptops, netbooks, desktops) and all could still access the Internet, but now without a flaky laptop (or a flaky XP installation) in the path.</p>
<p>So far so good.</p>
<p>Cut to today, when I&#8217;m building a Centos 6.2 virtual machine, using my now-standard technique of &#8220;installation over the network&#8221; (as described <a href="http://diznix.com/2011/07/14/network-linux-installs-2/">here</a>). Every time I started the installation, it bombed out with a warning that &#8216;Network Manager couldn&#8217;t configure the eth0 interface&#8217;. I tried Scientific Linux 6.1, which I&#8217;ve used a bazillion times in the past&#8230; same story.</p>
<p>So I fiddled. Since it was apparently a networking problem, I switched my virtual machine from &#8220;bridged&#8221; to &#8220;NAT&#8221; and tried Scientific Linux 6.1 again: and it worked! I didn&#8217;t pause to think <em>why</em> NAT worked when bridged didn&#8217;t, but simply ticked it off as &#8216;fixed&#8217;.</p>
<p>Back, therefore, to trying to build a Centos 6.2 VM, this time using the now-proven &#8220;NAT&#8221; technique. Except that this time, it <em>didn&#8217;t</em> work. It <strong>started</strong> to, sure enough: at least I didn&#8217;t get the &#8216;Network Manager can&#8217;t configure&#8217; error again. Indeed, the installation process correctly read my kickstart file and a couple of the installation files as stored on my web server. But then it failed to read the install.img file:</p>
<p><a href="http://diznix.com/wp-content/uploads/2012/01/error011.jpg"><img class=" wp-image-1795 alignnone" title="error01" src="http://diznix.com/wp-content/uploads/2012/01/error011.jpg" alt="" width="341" height="209" /></a></p>
<p>Now that just made no sense to me: the path mentioned was absolutely, 100% guaranteed to be correct&#8230; and I checked it multiple times to be certain of that. What&#8217;s more, &#8220;install.img&#8221; is merely the <em>third</em> file read during the installation process (updates.img and product.img are read first). So how come the network was fine for two files but bombed out on the third?!</p>
<p>I spent the best part of a day checking and triple-checking my entire setup: physical host to virtual web server connectivity was fine; paths as specified in my kickstart file were fine; IP configuration as specified in the kickstart file was fine&#8230; all dead-ends.</p>
<p>And then, for no particular reason that I can now recall, I decided to do a quick <strong>yum install dhcp</strong> on my web server. A slightly less quick edit of <strong>/etc/dhcp/dhcpd.conf</strong> and I had myself a working DHCP server.</p>
<p>And guess what? The Centos 6.2 install worked perfectly!</p>
<p>What&#8217;s more, I then went back and tried both Centos 6.2 and Scientific Linux 6.1 installations with the &#8220;bridged&#8221; network option, and both of them worked fine too!</p>
<p>Apparently, therefore, DHCP is essential for network installs of Linux. Why hadn&#8217;t I ever noticed this before? Because of Microsoft, that&#8217;s why!! (They have to be responsible for all the bad things that happen, right?) The Internet Connection Sharing software my faithful Thinkpad had been using to act as a router automatically switches on both DNS and DHCP. That ancient laptop had, in fact, been this house&#8217;s DHCP server without me ever really worrying about it. When I retired it in December, therefore, I lost DHCP -and although I&#8217;d been sharing the Internet connection on the Linux box, I&#8217;d not installed DHCP anywhere to take its place. I knew all of that: but it didn&#8217;t concern me.</p>
<p>The reason I wasn&#8217;t concerned is that we simply don&#8217;t use DHCP in this house! (Not knowingly, anyway!!) All my servers, desktops, laptops and what-have-you are carefully assigned fixed IP addresses. I even have a spreadsheet showing which addresses have been allocated and which are free! So, since we don&#8217;t use DHCP, losing a DHCP server by retiring ICS really didn&#8217;t bother me.</p>
<p>But suddenly, today we have proof that DHCP was necessary after all <img src='http://diznix.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Now, thinking about this with 20-20 hindsight , it&#8217;s all a bit obvious. How can a server you&#8217;re trying to build talk to a remote web server unless it <em>already</em> has acquired an IP address? Sure, the kickstart file it finds on the web server will <em>eventually</em> grant a proper, static IP address&#8230; but how does it get to read that file in the first place unless it already has some form of network communication with the remote server on which it&#8217;s stored?</p>
<p>That initial IP address is acquired easily in NAT mode: it&#8217;s the same address your physical host uses. Hence both builds in NAT mode at least started off fine, and Scientific Linux&#8217;s was completely successful. When you run in bridged network mode, though, your VMs have to acquire that initial IP address the same way any physical machine would: from a DHCP server. And since I didn&#8217;t have a DHCP server any more, not even a non-obvious one from Microsoft that&#8217;s surreptitiously switched on by enabling ICS, all my bridged builds started to fail.</p>
<p>The moral of the story: <strong>you need a DHCP server if you&#8217;re going to do networked installs of Linux</strong>, even if you don&#8217;t intend using DHCP after the initial installation has completed.</p>
<p>Now, a trawl around Google tells me that this is not necessarily a cast-iron rule: apparently, <a href="http://www.linuxquestions.org/questions/red-hat-31/network-kickstart-without-dhcp-server-379580/">there are non-DHCP ways around this</a>. But I&#8217;ve not tried the workaround suggested -and DHCP is so trivially easy to get going anyway that it&#8217;s not something I&#8217;m desperate to avoid using.</p>
<p>Of course, one mystery remains: in NAT mode without a DHCP server, the Centos installation started well enough and then bombed out; in exactly the same configuration, the Scientific Linux install sailed through the whole thing without incident. It would seem as if Centos starts off by using the physical host&#8217;s IP address (thanks to NAT) but then tries to switch to acquiring its own address (which, without a DHCP server, it can&#8217;t do), whereas Scientific Linux appears to make do with its initial IP address just fine.</p>
<p>Why this difference in behaviour? As I say, it&#8217;s a mystery at this stage -which makes this sort of thing fun and infuriating in equal measure, I guess!</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2012/01/18/kickstart-and-dhcp/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2012/01/18/kickstart-and-dhcp/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2012/01/18/kickstart-and-dhcp/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2012/01/18/kickstart-and-dhcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox Installations on Scientific Linux</title>
		<link>http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/</link>
		<comments>http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 19:39:13 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Scientific Linux]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1712</guid>
		<description><![CDATA[I&#8217;ve mentioned previously that my preferred virtualization platform is VMware Workstation. That remains true &#8230;but VirtualBox does have the distinct advantage of being free-of-charge. So unless I want to insist that my readers find AU$291.50 for VMware&#8217;s offering, it behooves me instead, &#8230; <a href="http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve mentioned previously that my <em>preferred</em> virtualization platform is <a href="http://www.vmware.com/a/buylink/231">VMware Workstation</a>. That remains true &#8230;but <a href="https://www.virtualbox.org/wiki/Downloads">VirtualBox</a> does have the distinct advantage of being free-of-charge. So unless I want to insist that my readers find AU$291.50 for VMware&#8217;s offering, it behooves me instead, from time to time, to use the virtualization platform I know we can all afford.</p>
<p>So here is my two-minute recipe guide to getting the latest VirtualBox product installed (for zero dollars!) on Scientific Linux 6.1. (You could always just download the relevant rpm and install it directly, but I prefer to do all my package management via yum wherever possible, so that&#8217;s the approach described here).</p>
<h1>1. Get the gpg key</h1>
<p>VirtualBox is supplied as a bunch of rpm packages which have been digitally signed. By checking the signature, you know no-one&#8217;s messed about with the packages before they reached you. It therefore makes sense to obtain and install the digital key needed to do that signature check. It&#8217;s easy to do, as root, at a command prompt, by issuing these two commands:</p>
<pre>wget http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
rpm --import oracle_vbox.asc</pre>
<h1>2. Create the yum repository</h1>
<p>Again as root, issue this command to create a new, blank repository file:</p>
<pre>gedit /etc/yum.repos.d/virtualbox.repo</pre>
<p>Now paste in these contents to the empty file:</p>
<pre>[virtualbox]
name=RHEL/CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/rhel/6.0/$basearch
enabled=1
gpgcheck=1
gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc</pre>
<p>Save the file changes and close down gedit. Just in passing, you might note that I&#8217;ve changed this file from the version which Oracle themselves makes available on the VirtualBox website. Specifically, their <strong>baseurl</strong> uses an environment variable, called <strong>$releasever</strong>, where I have hard-coded in the number <strong>6.0</strong>. The trouble, of course, is that if you are using the latest versions of Scientific Linux or Centos, you&#8217;ll be picking up a releasever of 6.1 or 6.2 &#8230;and no such directory exists on the VirtualBox servers. You&#8217;d need to manually check out <a href="http://download.virtualbox.org/virtualbox/rpm/rhel/">those server&#8217;s directory structure</a> to see if that situation changes over time.</p>
<h1>3. Install the Software</h1>
<p>As root once more, the following one-liner will display all the different versions of VirtualBox that are available for installation:</p>
<pre>yum search VirtualBox</pre>
<p>You might see this sort of output in return:</p>
<pre>Loaded plugins: refresh-packagekit
virtualbox | 951 B 00:00
virtualbox/primary | 4.4 kB 00:00
virtualbox 17/17
============== N/S Matched: VirtualBox ==============
VirtualBox-3.2.x86_64 : Oracle VM VirtualBox
VirtualBox-4.0.x86_64 : Oracle VM VirtualBox
VirtualBox-4.1.x86_64 : Oracle VM VirtualBox</pre>
<p>This shows that Oracle keeps a couple of older versions of the software alive and available, should you need to use them. Most people, though, will really only need the latest version, so pick that from the list and issue an appropriate &#8220;yum install&#8221; command. In my case, given the above output, this command will do the right thing:</p>
<pre>yum -y install VirtualBox-4.1.x86_64</pre>
<p>It&#8217;s a 58MB download or so, and as it&#8217;s installed you might see this message appear:</p>
<pre>Running Transaction
 Installing : VirtualBox-4.1-4.1.8_75467_rhel6-1.x86_64 1/1

Creating group 'vboxusers'. VM users must be member of that group!</pre>
<p>This gives you the clue to the last stage of the installation process&#8230;</p>
<h1>4. Assigning Group Privileges</h1>
<p>The software installation has created a new O/S group, called <strong>vboxusers</strong>, but it won&#8217;t have made your user account a member of that group. That needs to be fixed.</p>
<p>From the Gnome top panel, clieck <em>System &gt; Administration &gt; Users and Groups</em>. Find your user details on the Users tab and double-click the entry. Switch to the Groups tab, scroll down and check the vboxusers group name:</p>
<p><a href="http://diznix.com/wp-content/uploads/2012/01/vbox01.png"><img class="alignnone size-full wp-image-1713" title="vbox01" src="http://diznix.com/wp-content/uploads/2012/01/vbox01.png" alt="" width="411" height="368" /></a></p>
<p>Click [OK] to save the change, and you&#8217;re done, though you&#8217;ll need to log off and back on before the group membership changes take practical effect.</p>
<p>If you prefer doing everything at the command line, just edit /etc/group (as root, of course) and add a <strong>:your-username</strong> entry to the end of the vboxusers line, which will probably be the last line of the file. In my case, for example, the line ended up reading <strong>vboxusers:x:501:hjr</strong> -which simply means that user &#8216;hjr&#8217; is now a member of the vboxusers group. (Again, it&#8217;ll take a log off and fresh log on before the new group membership actually takes effect).</p>
<p>Either way, you&#8217;re now done and can run the VirtualBox program successfully, with the program launcher being found in <em>Applications &gt; System Tools</em>.</p>
<h1>5. USB Support</h1>
<p>The version of VirtualBox installed by the above procedure will be unable to access USB 2.0 devices that might be plugged into your physical host. However, this shortcoming can be fixed by installing the &#8220;Oracle/VirtualBox Extension Pack&#8221;. <a href="http://download.virtualbox.org/virtualbox/4.1.8/Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.vbox-extpack">Download it from the VirtualBox website</a> and then just double-click the file when the download completes. You should see the following appear:</p>
<p><a href="http://diznix.com/wp-content/uploads/2012/01/vbox02.png"><img class="alignnone size-full wp-image-1715" title="vbox02" src="http://diznix.com/wp-content/uploads/2012/01/vbox02.png" alt="" width="452" height="278" /></a></p>
<p>Click the [Install] button there, agree to the license, authenticate as root and all should be done in a matter of seconds. You&#8217;re now ready to build and run fully-functional virtual machines.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2012/01/16/virtualbox-installations-on-scientific-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A Phoenix?</title>
		<link>http://diznix.com/2012/01/03/a-phoenix/</link>
		<comments>http://diznix.com/2012/01/03/a-phoenix/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 18:30:31 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Gladstone]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1675</guid>
		<description><![CDATA[There was a time, and not so very many months ago, when it looked as if the CentOS project -producers of a binary clone of Red Hat Enterprise Server- was in technical and social/community disarray. Red Hat released RHEL 6.0 &#8230; <a href="http://diznix.com/2012/01/03/a-phoenix/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://diznix.com/wp-content/uploads/2012/01/centoslogo.jpg"><img class="alignleft size-full wp-image-1676" title="centoslogo" src="http://diznix.com/wp-content/uploads/2012/01/centoslogo.jpg" alt="" width="160" height="160" /></a>There was a time, and not so very many months ago, when it looked as if the CentOS project -producers of a binary clone of Red Hat Enterprise Server- was in technical and social/community disarray.</p>
<p>Red Hat released RHEL 6.0 on 10th November 2010; it took the CentOS developers until 10th July 2011 before they had an equivalent distro available. Red Hat had by then released RHEL 6.1 on 19th May 2011&#8230; CentOS achieved a clone of that only on 9th December 2011. There thus appeared to be a systematic <em>technical </em>inability to produce a clone except after a lengthy lag of six months or more.</p>
<p>Over on the social side of things, if someone dared make mention of the fact that the CentOS release dates were lagging the RHEL originals, with no transparency regarding progress or process, <a href="https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32027&amp;viewmode=flat&amp;order=ASC&amp;start=73#threadtop">they generally got shouted at for their temerity.</a> Not to mention little disasters like <a href="http://www.zdnet.com/blog/perlow/centos-getting-their-st-together-is-a-top-priority/10790">the lead developer going missing with the keys to the kingdom</a>.</p>
<p>Meanwhile, Scientific Linux -another clone of Red Hat, this time produced by a small team of developers at places like CERN and Fermilab- appeared to be having no such technical or social problems, managing a 6.0 release on 3rd March 2011 (so, about 3.5 months after Red Hat&#8217;s original and four months ahead of CentOS), and a 6.1 on 28th July 2011 (2 months after Red Hat, 5 months ahead of CentOS).</p>
<p>Given these timelines, I don&#8217;t think it was much of a surprise that many people appeared to switch away from CentOS to Scientific Linux. I did myself, anyway -and am happily running a bunch of file servers, Oracle boxes, laptops, netbooks and my main desktop PC on SL6.1 as a result.</p>
<p>However, I was pleased (and a bit surprised, to be honest) to note that the CentOS team appear to have sorted out their technical issues, managing to produce<a href="http://mirror.aarnet.edu.au/pub/centos/6.2/isos/x86_64/CentOS-6.2-x86_64-bin-DVD1.iso"> a clone of Red Hat&#8217;s 6.2 release on December 20th</a>, just two <strong><em>weeks</em></strong> after Red Hat released the original. That is one of their best &#8216;lag efforts&#8217; since they were producing clones of version 4.x back around 2007. If it is indicative of a generally more capable, streamlined and efficient cloning operation that can achieve similarly effective results as future RHEL releases are made, I for one shall be very happy. And now the developers seem to have mastered the technical arts of cloning RHEL 6+, maybe they&#8217;ll become a little less defensive and much more transparent about the whole development process in the future. Fingers crossed, anyway.</p>
<p>As to the new distro itself&#8230; well, not really much to report there if visual bling is your thing: all the changes from 6.1 are under-the-hood things which may or may not make much difference to you, depending on the way you specifically use the OS. The introduction of asynchronous writes for CIFS (i.e., Samba shares), thereby improving the performance of network shares by maybe 200%, is pretty significant if you have Windows machines on your network, for example, but is not a new feature that is likely to set the world on fire otherwise. Loads of other such techie changes are listed <a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/6.2_Release_Notes/index.html">in Red Hat&#8217;s original release notes</a>. The bottom line, however, is that if you are happily running Scientific Linux 6.1, you aren&#8217;t missing out on anything particularly major as you wait for the Scientific 6.2 release (probably due in around March or April this year).</p>
<p>Anyway, it&#8217;s good to see the CentOS project apparently back in business in earnest, and hopefully it will stay that way for a long time to come. Personally, I&#8217;ll be sticking with Scientific Linux for a good while yet: it&#8217;s a more placid and predictable experience, I think! But it&#8217;s nice to know there are viable alternatives out there.</p>
<p>Oh, and incidentally, the <a href="http://dl.dropbox.com/u/30619235/gladstone.sh">Gladstone Oracle Preinstaller</a> has been updated to work with the new Centos release.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2012/01/03/a-phoenix/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2012/01/03/a-phoenix/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2012/01/03/a-phoenix/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2012/01/03/a-phoenix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Linux Installs</title>
		<link>http://diznix.com/2011/07/14/network-linux-installs-2/</link>
		<comments>http://diznix.com/2011/07/14/network-linux-installs-2/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 01:04:22 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1424</guid>
		<description><![CDATA[I&#8217;ve just put up a short, new article about performing installations of Enterprise-class Linux (i.e., Centos 5.6, Centos 6.0, Scientific Linux 6.1 and so on) via a network. The basic principle is that you set up your Apache server once &#8230; <a href="http://diznix.com/2011/07/14/network-linux-installs-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just put up <a href="http://diznix.com/articles/installing-linux-via-the-network/">a short, new article about performing installations</a> of Enterprise-class Linux (i.e., Centos 5.6, Centos 6.0, Scientific Linux 6.1 and so on) via a network.</p>
<p>The basic principle is that you set up your Apache server once to serve up any or all of these distro/version combinations, boot your main server with a small net install CD and then have the main distro install itself by shipping files over the network from the Apache box.</p>
<p>The twist is that if you combine this with Kickstart technology to automate the main installation process, you basically have instant auto-install capability anywhere on the network, with no need to muck about with full-blown installation disks or ISOs. We once had a server at work which only shipped with a CD-ROM drive, whereas I&#8217;d downloaded the DVD installation media&#8230; this fixes that sort of mess!</p>
<p>As usual, make of it what you will!</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/07/14/network-linux-installs-2/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/07/14/network-linux-installs-2/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/07/14/network-linux-installs-2/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/07/14/network-linux-installs-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Apache Server on Centos 6</title>
		<link>http://diznix.com/2011/07/12/an-apache-server-on-centos-6/</link>
		<comments>http://diznix.com/2011/07/12/an-apache-server-on-centos-6/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 00:12:30 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1370</guid>
		<description><![CDATA[Now that we finally have a complete complement of zero-cost Enterprise Linux 6.0 clones available, I thought it might be time to revisit the idea of building a very small, very lightweight Apache server using nothing but Centos (or Scientific &#8230; <a href="http://diznix.com/2011/07/12/an-apache-server-on-centos-6/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Now that we finally have a complete complement of zero-cost Enterprise Linux 6.0 clones available, I thought it might be time to revisit the idea of building a very small, very lightweight Apache server using nothing but Centos (or Scientific Linux) 6.</p>
<p>My <a href="http://diznix.com/articles/getting-started-with-oracle/building-an-apache-web-server/">existing article</a> on building such an Apache server uses Ubuntu as its base distro, because I know of nothing that has smaller minimum hardware requirements -but this is a bit annoying, because if you go on to use RHEL-clones for an Oracle server, you have to master both RPM-based and apt-get-based distros. Life would be a lot simpler if you could use the one distro for everything, wouldn&#8217;t it?</p>
<p>Well, that&#8217;s what I thought too, so here&#8217;s my recipe for Apache + PHP talking to an Oracle database with the entire software stack running on two virtual machines running Centos 6 or Scientific Linux 6.</p>
<h1>Creating the Server</h1>
<p>I won&#8217;t detail the actual construction of a suitable web-server-capable virtual machine or the installation of its operating system here. The <a href="http://diznix.com/articles/getting-started-with-oracle/building-an-apache-web-server/">Ubuntu-based article</a> I mentioned before does that quite adequately, I think. There are a couple of Centos/Scientific-specific issues that arise, though.</p>
<p>First thing to note, then, is that you can&#8217;t install Centos 6 (or Scientific Linux 6) in a virtual machine that&#8217;s configured with less than 512MB of memory. You can <em>run</em> Centos 6 in just 128MB, but the installer will bomb out at those sorts of RAM allocations. So the basic rule is: <strong>install your OS when your VM has 512MB then shut the thing down, reduce the allocated RAM, and re-start</strong>.</p>
<p>Second, you only need the 32-bit version of <a href="http://mirror.aarnet.edu.au/pub/centos/6.0/isos/i386/CentOS-6.0-i386-bin-DVD.iso">Centos</a> or <a href="http://mirror.aarnet.edu.au/pub/scientific/6.0/i386/iso/SL-60-i386-2011-03-03-Install-DVD.iso">Scientific</a>: 64-bits for running a trivial web server are completely unnecessary.</p>
<p>Third, if you&#8217;re using Scientific Linux, you&#8217;ll have to <em>select</em> to perform a minimal install. If you&#8217;re using Centos, that is the default option anyway.</p>
<p>Fourth: once the O/S is installed, make sure the network itself is working (see <a href="http://diznix.com/2011/07/11/network-configuration-in-minimal-linux-installs/">my last post </a>on how to do this). It won&#8217;t be by default, so you need to edit the <strong>/etc/sysconfig/network-scripts/ifcfg-eth0</strong> script to make it function properly.</p>
<p>Additionally, and very importantly, you should disable SELinux by editing the <strong>/etc/sysconfig/selinux</strong> configuration file. By default, it will have a line that says <strong>SELINUX=enforcing</strong>. Change that to read <strong>SELINUX=disabled</strong>. You can&#8217;t get PHP talking to an Oracle database without doing this. Reboot to make the change take effect.</p>
<p>Finally, the commands you want to install the relevant Apache/PHP software bits and pieces are:</p>
<pre>yum -y install httpd php nano unzip make
yum -y install gcc wget openssh php-devel php-pear libaio</pre>
<p>The &#8216;httpd&#8217; bit is the name for the Apache package itself; the other bits and pieces allow Apache to serve up something useful later on!</p>
<h1>Configuring the Server</h1>
<p>You first need to start the Apache service:</p>
<pre>service httpd start</pre>
<p>If you ever need to re-start the service (to pick up configuration changes, etc), the command is:</p>
<pre>service httpd restart</pre>
<p>To make the Apache bits start automatically at every reboot, issue this command:</p>
<pre>chkconfig --level 23 httpd on</pre>
<p>By default, despite having done all of the above, you won&#8217;t be able to connect to your new server from a remote browser: Centos/Scientific slap a firewall on that blocks access. You can completely disable the firewall with the command:</p>
<pre>service iptables stop</pre>
<p>That only works per re-boot, though, so to switch the firewall off completely, use this:</p>
<pre>chkconfig iptables off</pre>
<p>The more subtle approach, of course, would be to reconfigure the firewall to allow http traffic through -but that&#8217;s beyond the scope of this article and, in any case, I don&#8217;t need a firewall when I&#8217;m connecting one internal VM to another, so it&#8217;s probably overkill at this stage. If you insist on this approach, however, <a href="http://www.cyberciti.biz/tips/linux-iptables-11-how-to-block-or-open-httpweb-service.html">the advice given here</a> would seem useful.</p>
<p>You&#8217;ll now be in a position to check that everything is working fine, provided you know your web server&#8217;s IP address. Assuming it&#8217;s 192.168.0.37 for the moment, then visiting <strong>http://192.168.0.37</strong> in a remote browser should net you some sort of &#8220;it&#8217;s working&#8221; page (the Centos version is quite elaborate and is entitled &#8220;Apache 2 Test Page&#8221;; Scientific&#8217;s equivalent is a barebones &#8220;it works!&#8221; message).</p>
<p>You&#8217;ll also need to check that PHP is working OK, and for that I suggest you create a file called <strong>phpdata.php</strong> in the <strong>/var/www/html</strong> directory containing the following:</p>
<pre>&lt;?php
phpinfo();
?&gt;</pre>
<p>&#8230;which is just the code needed to display PHP&#8217;s configuration data. Then you can visit <strong>http://192.168.0.37/phpdata.php</strong> and you should see this sort of result:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/06/apache18.png?w=265&amp;h=300"><img class="alignnone" src="http://diznix.com/wp-content/uploads/2011/06/apache18.png?w=265&amp;h=300" alt="" width="265" height="299" /></a></p>
<h1>Connecting the Server to an Oracle database</h1>
<p>Installing OCI8 so that you can connect to Oracle via Apache is pretty much the same process as for Ubuntu:</p>
<p>Copy both the <strong>instantclient-basic</strong> and <strong>instantclient-sdk</strong> packages (<a href="http://www.oracle.com/technetwork/topics/linuxsoft-082809.html">available from the OTN website</a>) to /var/www/html using something like Filezilla. As root, unzip both packages and create a necessary symbolic link:</p>
<pre>cd /var/www/html
unzip instantclient-basic-linux32-11.2.0.2.0.zip
unzip instantclient-sdk-linux32-11.2.0.2.0.zip

cd instantclient_11_2
ln -s libclntsh.so.11.1 libclntsh.so</pre>
<p>Download the relevant OCI8 library (the version numbers are specific, so check <a href="http://pecl.php.net/package/oci8">http://pecl.php.net/package/oci8</a> to make sure you get the latest):</p>
<pre>cd /var/www/html
wget http://pecl.php.net/get/oci8-1.4.5.tgz</pre>
<p>Install that new download:</p>
<pre>pecl install oci8-1.4.5.tgz</pre>
<p>This last command will prompt you to specify “the path to the ORACLE_HOME directory…”. At this point, you type in the following:</p>
<pre>instantclient,/var/www/html/instantclient_11_2</pre>
<p>…which tells the installer (a) that you’re using the instant client and not a full-blown Oracle client; and (b) that the path to the instant client files is /var/www/html/instantclient_11_2. Note that there are no spaces in any of that lot: just a comma separates the two components.</p>
<p>Finish off with some final configuration steps:</p>
<pre>echo extension=oci8.so &gt;&gt; /etc/php.d/oci8.ini
echo /var/www/html/instantclient_11_2 &gt;&gt; /etc/ld.so.conf
ldconfig
echo ORACLE_HOME=/var/www/html/instantclient_11_2 &gt;&gt; /etc/profile
export ORACLE_HOME=/var/www/html/instantclient_11_2
service httpd restart</pre>
<p>When you now visit your web server&#8217;s phpdata.php URL, you should see an OCI8 section appear in the PHP configuration information display.</p>
<p>After that, it should be relatively plain sailing: you just need to create a file which explains how to connect to an Oracle database and fetch some data. I suggest you create a file called <strong>oracle.php</strong> in the <strong>/var/www/html</strong> directory, containing this:</p>
<pre>&lt;?php
$myselect = "select * from scott.emp";
$oraconn = oci_connect('system', 'password', '//192.168.0.145/lindb');
$doquery = OCIparse($oraconn, $myselect) or die("Couldn't parse statement.");
OCIexecute($doquery) or die("Couldn't execute statement.");

while (OCIfetch($doquery))
 {$surname = OCIresult($doquery, ENAME);
  $salval = OCIresult($doquery, SAL);
  print '&lt;b&gt;'.$surname.'&lt;/b&gt; '.$salval.'&lt;br&gt;';
 }
?&gt;</pre>
<p>That assumes my Oracle server is running at IP address 192.168.0.145; that my SYSTEM password is &#8220;password&#8221; (which would be extremely dumb if true!); and that I&#8217;ve got the SCOTT schema created within that database containing ye olde EMP table. If you now visit the URL <strong>http://192.168.0.37/oracle.php</strong>, you should get 14 rows returned in your web browser.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/07/12/an-apache-server-on-centos-6/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/07/12/an-apache-server-on-centos-6/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/07/12/an-apache-server-on-centos-6/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/07/12/an-apache-server-on-centos-6/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Network Configuration in minimal Linux installs</title>
		<link>http://diznix.com/2011/07/11/network-configuration-in-minimal-linux-installs/</link>
		<comments>http://diznix.com/2011/07/11/network-configuration-in-minimal-linux-installs/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 02:17:31 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Network configuration]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1365</guid>
		<description><![CDATA[By default, the new Centos 6.0 distro performs a &#8220;minimal&#8221; install, as I mentioned last time. This is good because you end up with a very small footprint O/S (no Gnome, for example), leaving the server more resources to run &#8230; <a href="http://diznix.com/2011/07/11/network-configuration-in-minimal-linux-installs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>By default, the new Centos 6.0 distro performs a &#8220;minimal&#8221; install, as I mentioned last time. This is good because you end up with a very small footprint O/S (no Gnome, for example), leaving the server more resources to run the things you actually use servers for (like Oracle).</p>
<p>The downside to it, however, is that a feature of Red Hat Enterprise Server 6 (and therefore of all its clones -so this stuff applies to Scientific Linux 6, too) is that it defaults to managing your network connections with NetworkManager, which isn&#8217;t actually installed as part of a minimal install. The net result (no pun intended) is that your network doesn&#8217;t work when you first boot into your new, slimline O/S.</p>
<p>The fix is to run the command <strong>system-config-network-tui</strong>, which allows you to specify a fixed IP address manually. In Centos 6, however, even this tool is not installed as part of a minimal install (I guess they took the word &#8216;minimal&#8217; literally), so you&#8217;ll end up having to edit by hand the <strong>/etc/sysconfig/network-scripts/ifcfg-eth0</strong> file.</p>
<p>You&#8217;ll need to end up with something looking like this:</p>
<pre>IPADDR=192.168.0.33
BOOTPROTO=none
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1=192.168.0.1
DNS2=192.168.0.2
USERCTL=yes</pre>
<p>Obviously, you replace those specific IP addresses with whatever suits your local environment. The USERCTL=yes line is optional: it lets non-root users control the interface. Once the file has the appropriate entries, a reboot will do to make the new settings take effect.</p>
<p>In Scientific Linux 6, the system-config-network-tui tool exists, so you could use that&#8230; or you can achieve all these edits with the <strong>nano</strong> text editor. The Centos 6 minimal install is less forgiving, however, and you&#8217;ll have to use <strong>vi</strong> (because nano is not installed as part of its minimal install option).</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/07/11/network-configuration-in-minimal-linux-installs/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/07/11/network-configuration-in-minimal-linux-installs/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/07/11/network-configuration-in-minimal-linux-installs/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/07/11/network-configuration-in-minimal-linux-installs/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>CentOS 6&#8230; finally</title>
		<link>http://diznix.com/2011/07/11/centos-6-finally/</link>
		<comments>http://diznix.com/2011/07/11/centos-6-finally/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 23:41:52 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1351</guid>
		<description><![CDATA[The first question about when CentOS 6 would be released, contained in this thread on the CentOS forums, was asked on December 2nd 2010. 42 pages and 8½ months later, there is finally an answer: it&#8217;s out now. Of course, &#8230; <a href="http://diznix.com/2011/07/11/centos-6-finally/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The first question about when CentOS 6 would be released, contained <a href="https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&amp;topic_id=29147&amp;forum=14">in this thread</a> on the CentOS forums, was asked on December 2nd 2010. 42 pages and 8½ months later, there is finally an answer: <a href="http://mirror.aarnet.edu.au/pub/centos/6.0/isos/x86_64/CentOS-6.0-x86_64-bin-DVD1.iso">it&#8217;s out now</a>.</p>
<p>Of course, Red Hat themselves (and Oracle&#8217;s Enterprise Linux equivalent) have moved on in the meantime to version 6.1 -and Scientific Linux already have <a href="http://mirror.aarnet.edu.au/pub/scientific/6rolling/x86_64/iso/SL-61-x86_64-2011-07-08-Install-DVD.iso">a matching 6.1 beta</a> out, as I&#8217;ve mentioned before. Still, better late than never, I guess.</p>
<p>Personally, I think the CentOS devs have blown this, badly -and the tone of their commentary on the forums has been sniffy, at best: not exactly calculated to win friends and influence people, anyway. There have been &#8216;defections&#8217; in droves to Scientific (count me amongst them), and I don&#8217;t see that being reversed any time soon.</p>
<p>There&#8217;s not a lot to say about the OS itself, of course (especially since we&#8217;ve been using its Scientific binary equivalents for months!), but I have to say I really dislike the fact that it <em>defaults</em> to doing a &#8220;minimal&#8221; install (not even a &#8220;minimal desktop&#8221;). It means you get this once the install has finished:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/07/centos-6.png"><img class="alignnone size-full wp-image-1352" title="Centos 6" src="http://diznix.com/wp-content/uploads/2011/07/centos-6.png" alt="" width="584" height="367" /></a></p>
<p>I realise you could argue this is actually a good thing: very Ubuntu Server-like, svelte and exactly what an enterprise-class Server ought to be doing. None of your fancy GUI stuff required etc. I&#8217;d certainly vote for (and my kickstart efforts have tried to create) a very much slimmed-down installation. Oracle users will, however, know that an X Server is pretty much a requirement (yup, I know it doesn&#8217;t <em>have</em> to be running on the actual Oracle server, but it&#8217;s simpler when it does), short of getting into response files and silent installs, so starting off <em>this</em> svelte is a bit of a problem!</p>
<p>Scientific Linux 6.0, by the way, defaults to a standard Desktop install -and, at this stage, I think that&#8217;s an easier way to go than CentOS&#8217; choice. It&#8217;s also mildly interesting to note that Scientific Linux doesn&#8217;t have a &#8220;minimal install&#8221; option: they call it a &#8220;basic server&#8221; install instead. What&#8217;s more, that installs 514 packages, which is way more than the Centos 6 basic install does. Why supposedly binary-compatible distros vary like this, I can&#8217;t say, but I wish they wouldn&#8217;t!</p>
<p>There are other niggles with CentOS, too. The GUI installer has not had the Red Hat trademarks cleaned particularly well. Here&#8217;s what you see in Centos:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/07/centos-602.png"><img class="alignnone size-full wp-image-1353" title="Centos 602" src="http://diznix.com/wp-content/uploads/2011/07/centos-602.png" alt="" width="584" height="438" /></a></p>
<p>Notice the weird blank, blue bar stretching across the top of the screen? Compare that to Scientific&#8217;s installer:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/07/centos-6031.png"><img class="alignnone size-full wp-image-1355" title="Centos 603" src="http://diznix.com/wp-content/uploads/2011/07/centos-6031.png" alt="" width="584" height="437" /></a></p>
<p>They got the &#8216;de-branding&#8217; right, CentOS didn&#8217;t&#8230; which seems a bit slack. I know it&#8217;s not a particularly important thing, but I suspect that when the little details like this are wrong, there are &#8216;polishing&#8217; problems elsewhere. I could, of course, be wrong (probably).</p>
<p>Anyway, it&#8217;s things like this, together with the mammoth amount of time taken for the distro to get even this far, which mean I&#8217;m deeply suspicious of the quality of this particular release. (Yeah, I know I don&#8217;t pay for it, but my expectations are rational, if not reasonable).</p>
<p>Your mileage might vary, of course. And in the meantime, <a href="http://diznix.com/2011/03/21/gladstone/">Gladstone</a> has been updated to work on Centos 6.0.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/07/11/centos-6-finally/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/07/11/centos-6-finally/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/07/11/centos-6-finally/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/07/11/centos-6-finally/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Good News/Bad News</title>
		<link>http://diznix.com/2011/07/07/good-newsbad-news/</link>
		<comments>http://diznix.com/2011/07/07/good-newsbad-news/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 02:05:03 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1301</guid>
		<description><![CDATA[Good News: Scientific Linux 6.1 is out in (very stable) Beta. I get mine here. Bad News: Centos 6.0 still hasn&#8217;t been released. Good News: Scientific Linux 6.1 has a network install boot ISO (as SL 6.0 did, but SL &#8230; <a href="http://diznix.com/2011/07/07/good-newsbad-news/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Good News</strong>: Scientific Linux 6.1 is out in (very stable) Beta. I get mine <a href="http://mirror.aarnet.edu.au/pub/scientific/6rolling/x86_64/iso/SL-61-x86_64-2011-07-01-Install-DVD.iso">here</a>.</p>
<p><strong>Bad News</strong>: Centos 6.0 <a href="http://www.centos.org/modules/newbb/viewtopic.php?topic_id=29147&amp;viewmode=flat&amp;order=ASC&amp;start=800"><em>still</em> hasn&#8217;t been released</a>.</p>
<p><strong>Good News</strong>: Scientific Linux 6.1 has a <a href="http://mirror.aarnet.edu.au/pub/scientific/6rolling/x86_64/iso/SL-61-x86_64-2011-07-01-boot.iso">network install boot ISO</a> (as SL 6.0 did, but SL 5.6 didn&#8217;t)</p>
<p><strong>Bad News</strong>: the Scientific Linux network install boot ISO is over 200MB in size -so you almost might as well install from the original CDs or DVDs! By way of comparison, the <a href="http://mirror.aarnet.edu.au/pub/centos/5.6/isos/x86_64/CentOS-5.6-x86_64-netinstall.iso">Centos 5.6 netinstall boot ISO</a> was only 10MB in size. Maybe not so important when $4 USB drives come in 2GB sizes and up, but annoying nonetheless. I notice Fedora 15&#8242;s net install ISO is similarly huge&#8230; progress, I guess!</p>
<p><strong>Even Badder News</strong>: you can&#8217;t use the Centos 5.6 netinstall boot ISO to kick off a Scientific Linux 6.1 install. (At least, I&#8217;ve not managed it yet!)</p>
<p><strong>Good News</strong>: <a href="http://diznix.com/2011/03/21/gladstone/">Gladstone has been updated</a> to work with the 6.1 version of Scientific Linux.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/07/07/good-newsbad-news/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/07/07/good-newsbad-news/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/07/07/good-newsbad-news/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/07/07/good-newsbad-news/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Oracle Article</title>
		<link>http://diznix.com/2011/06/29/oracle-article/</link>
		<comments>http://diznix.com/2011/06/29/oracle-article/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 20:55:32 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Gladstone]]></category>
		<category><![CDATA[Kickstart]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1274</guid>
		<description><![CDATA[As a follow-up to the article on building an Apache box is a new article explaining how you can use it to help automate the build of an Oracle database server. The new article takes you from building a virtual &#8230; <a href="http://diznix.com/2011/06/29/oracle-article/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As a follow-up to <a href="http://diznix.com/2011/06/25/apache-article/">the article on building an Apache box</a> is a new article explaining how you can use it to help automate the build of an Oracle database server.</p>
<p>The new article takes you from building a virtual machine, installing the operating system using Kickstart configuration files, running Gladstone to get all the Oracle prerequisites right through to getting Firefox displaying Flash properly and setting a fixed IP address.</p>
<p><a href="http://diznix.com/articles/building-an-oracle-database-server/">Available in the usual place</a>.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/06/29/oracle-article/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/06/29/oracle-article/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/06/29/oracle-article/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/06/29/oracle-article/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Scientific Gladstone (5.6)</title>
		<link>http://diznix.com/2011/05/22/new-scientific-gladstone/</link>
		<comments>http://diznix.com/2011/05/22/new-scientific-gladstone/#comments</comments>
		<pubDate>Sat, 21 May 2011 22:06:32 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Gladstone]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=956</guid>
		<description><![CDATA[My Gladstone pre-installation script for those intending to install the Oracle 10gR2 or 11gR2 RDBMS has been updated to take account of the fact that there is now a beta version of Scientific Linux 5.6 out. I downloaded the O/S &#8230; <a href="http://diznix.com/2011/05/22/new-scientific-gladstone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My Gladstone pre-installation script for those intending to install the Oracle 10gR2 or 11gR2 RDBMS has been updated to take account of the fact that there is now a beta version of Scientific Linux 5.6 out.</p>
<p>I downloaded the O/S itself <a href="http://mirror.aarnet.edu.au/pub/scientific/5rolling/iso/x86_64/dvd/">from here</a>, and a modified version of Gladstone that can cope with the new O/S is available <a href="http://dl.dropbox.com/u/30619235/gladstone.sh">from the usual place</a>.</p>
<p>It&#8217;s interesting to see how the cloners are handling their release schedules, what with Red Hat having just released version 6.1 of the &#8220;real&#8221; Enterprise O/S. Centos decided to concentrate on getting version 5.6 out of the door and worrying about getting a version 6 later; Scientific Linux did exactly the opposite. Their version 6 has been out quite a while whilst their 5.6 is, as this post has already mentioned, still in beta.</p>
<p>Where the Scientific Linux community gets my vote is that their 5.6 is obviously not far away (the beta I linked to above is incredibly stable), and their 6.0 has been a pleasure to use for months. Centos, meanwhile, managed to be late with their 5.6 release and still hasn&#8217;t got a 6.0 release planned for, as far as anyone can tell, any time soon.</p>
<p>From the outside, it looks like Centos as a project is really struggling -from internal politics? lack of developers? lack of other resources? I don&#8217;t know, and <a href="https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&amp;topic_id=29147&amp;forum=14">they&#8217;re not exactly communicative</a>. But the net result from my perspective is that I&#8217;ve given up on Centos and will be using Scientific as my RHEL clone of choice from here on. I have mentioned this before, but now I&#8217;m getting serious about it: there will be no more Centos-compatible releases of Gladstone, even if they finally get version 6.0 out in the next couple of weeks.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/05/22/new-scientific-gladstone/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/05/22/new-scientific-gladstone/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/05/22/new-scientific-gladstone/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/05/22/new-scientific-gladstone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: diznix.com @ 2012-02-05 23:19:30 -->
