<?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>Spind.net Blog &#187; Sun</title>
	<atom:link href="http://blog.spind.net/tag/sun/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spind.net</link>
	<description>Stories from the trenches of System Administration</description>
	<lastBuildDate>Mon, 19 Dec 2011 09:21:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>CentOS 5 (64) on Sun VirtualBox on Fedora 10 (64)</title>
		<link>http://blog.spind.net/2009/05/21/centos-5-64-on-sun-virtualbox-on-fedora-10-64/</link>
		<comments>http://blog.spind.net/2009/05/21/centos-5-64-on-sun-virtualbox-on-fedora-10-64/#comments</comments>
		<pubDate>Thu, 21 May 2009 14:20:32 +0000</pubDate>
		<dc:creator>hc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://blog.spind.net/?p=141</guid>
		<description><![CDATA[I&#8217;ve been playing around with Sun VirtualBox. Installation of both Windows XP and CentOS 5 went smooth, but installing the guest OS tweaks &#8211; in the VirtualBox world referred to as Additions &#8211; gave me a little trouble on CentOS. It&#8217;s done the same way as on VMWare, by mounting an ISO with the scripts [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing around with <a href="http://www.virtualbox.org/">Sun VirtualBox</a>. Installation of both Windows XP and CentOS 5 went smooth, but installing the guest OS tweaks &#8211; in the VirtualBox world referred to as <em>Additions</em> &#8211; gave me a little trouble on CentOS. It&#8217;s done the same way as on VMWare, by mounting an ISO with the scripts and drivers required. It&#8217;s not as painless as on VMWare though.</p>
<p>For starters, you have to find the ISO yourself &#8211; but I&#8217;ll give you a hint: look in <tt>/usr/share/virtualbox/</tt> <img src='http://blog.spind.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  After mounting the ISO image, a directory popped up. I tried double clicking on <tt>autorun.sh</tt> but nothing ever comes easy, does it? I tried running it in the terminal, and was somewhat enlightened as I realized it was looking in vain for <tt>gksu</tt> &#8211; probably a Gnome frontend for <tt>su</tt>. Luckily there seemed to be another script I could run &#8211; <tt>VBoxLinuxAdditions-amd64.run</tt> &#8211; but it whined about OpenGL direct rendering:</p>
<div class="codebox">
Verifying archive integrity&#8230; All good.<br />
Uncompressing VirtualBox 2.2.2 Guest Additions for Linux Installation&#8230;&#8230;<br />
VirtualBox 2.2.2 Guest Additions installation<br />
Please install the build and header files for your current Linux kernel.<br />
The current kernel version is 2.6.18-128.el5<br />
This system does not seem to have support for OpenGL direct rendering.<br />
VirtualBox requires Linux 2.6.27 or later for this.  Please see the log.<br />
file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you still see this message.<br />
Problems were found which would prevent the Guest Additions from installing.<br />
Please correct these problems and try again.
</div>
<p>Before I ran the script, I made sure the newly installed CentOS was crispy by running <tt>yum upgrade</tt>. I also had a sneaking suspicion that a C compiler was required, so I made sure the system also sported <tt>gcc</tt>. The only thing I personally noticed by reading the message above, was that some missing OpenGL crap prevented the additions to be installed. As I was typing the message in this blog, I also noticed something about kernel headers. Rather embarrassing, but I really didn&#8217;t see it until now. Anyway, obviously the thing needed was kernel goodness, so I ran <tt>yum install kernel-devel</tt>. That seemed to make the VirtualBox additions script more happy and now it seems to be running flawlessly.</p>
<p>So, to summarize &#8211; what to do to make the damned thing work:</p>
<div class="codebox">
$ yum upgrade -y<br />
$ yum install -y gcc kernel-devel<br />
$ ln -s /usr/src/kernels/2.6.18-128.1.10.el5-i686 /usr/src/linux<br />
$ cd /media/VBOXADDITIONS_2.2.2_46594/<br />
$ sh VBoxLinuxAdditions-amd64.run
</div>
<p>I rebooted as I was told to, but mouse integration didn&#8217;t seem to work. Probably due to the kernel being upgraded without rebooting and actually utilizing it. So, I ran the additions script again, rebooted again and woo &#8211; mouse integration seems to work. The clipboard doesn&#8217;t though, and the maching is still creating some really nasty spikes on my CPU graph every three seconds or so:</p>
<p><a href="/uploads/2009/05/VirtualBox-CPUUsage1.png"><img src="/uploads/2009/05/VirtualBox-CPUUsage1-600x497.png" alt="VirtualBox-CPUUsage" title="VirtualBox-CPUUsage" width="600" height="497" class="alignnone size-medium wp-image-146" /></a></p>
<p>It&#8217;s worth mentioning that when I&#8217;m running my Windows XP guest in VirtualBox, the CPU graphs on the host system are nice and flat.</p>
<p>I&#8217;m not entirely pleased, but I think VirtualBox will eventually win me over from VMWare.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spind.net/2009/05/21/centos-5-64-on-sun-virtualbox-on-fedora-10-64/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Sun JRE on Firefox</title>
		<link>http://blog.spind.net/2009/02/19/sun-jre-on-firefox/</link>
		<comments>http://blog.spind.net/2009/02/19/sun-jre-on-firefox/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 11:48:31 +0000</pubDate>
		<dc:creator>hc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Fedora10]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://blog.spind.net/?p=94</guid>
		<description><![CDATA[I rarely need a Java plugin for my 64-bit Firefox browser, but once in a rare while I need to use certain government services that require a digital signature and the original Sun Java plugin &#8211; OpenJDK just doesn&#8217;t cut it. Sun changed a couple of things recently, so many of the howto&#8217;s are outdated [...]]]></description>
			<content:encoded><![CDATA[<p>I rarely need a Java plugin for my 64-bit Firefox browser, but once in a rare while I need to use certain government services that require a digital signature and the original Sun Java plugin &#8211; <a href="http://www.openjdk.org/">OpenJDK</a> just doesn&#8217;t cut it. Sun changed a couple of things recently, so many of the howto&#8217;s are outdated &#8211; this will work though:</p>
<p>Make sure you remove/disable OpenJDK:</p>
<div class="codebox">
$ rpm -e java-1.6.0-openjdk-plugin
</div>
<p>Get the latest <b>Java SE Runtime Environment (JRE)</b> <a href="http://java.sun.com/javase/downloads/">here</a>. Make sure it&#8217;s the 64-bit non-RPM version. The RPM might work too, I just didn&#8217;t test it. We&#8217;ll assume it&#8217;s version 1.6.0-12. Execute the following commands to unpack it:</p>
<div class="codebox">
$ umask 022<br />
$ chmod +x jre-6u12-linux-x64.bin<br />
$ ./jre-6u12-linux-x64.bin
</div>
<p>Accept the license agreement. The directory <tt>jre1.6.0_12</tt> is created. Execute the following commands to move JRE and make a symbolic link to the plugin:</p>
<div class="codebox">
$ mv jre1.6.0_12 /opt<br />
$ cd /usr/lib64/mozilla/plugins<br />
$ ln -s /opt/jre1.6.0_12/lib/amd64/libnpjp2.so .
</div>
<p>The new thing here is that they recently renamed the plugin from <tt>libjavaplugin_oji.so</tt> to <tt>libnpjp2.so</tt> &#8211; that set me off track for a while.</p>
<p>Restart Firefox and type in <tt>about:plugins</tt> and look for Java &#8211; if it&#8217;s there, you&#8217;re all set.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spind.net/2009/02/19/sun-jre-on-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

