<?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>Jtanium's Notebook &#187; CentOS</title>
	<atom:link href="http://www.jtanium.com/category/linux/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jtanium.com</link>
	<description>I jot things down, in hopes of finding them later...</description>
	<lastBuildDate>Wed, 21 Dec 2011 23:21:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>(update-)alternatives install java</title>
		<link>http://www.jtanium.com/2008/01/28/update-alternatives-install-java/</link>
		<comments>http://www.jtanium.com/2008/01/28/update-alternatives-install-java/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 23:52:42 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/blog/?p=60</guid>
		<description><![CDATA[Here&#8217;s the command to install an alternative installation of Java: alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_04/bin/java 99 In this case I used the self extracting file (not the RPM) from Sun, and moved the directory to /usr/lib/jvm/jdk1.6.0_04. Update: To finish it off, you need to do this: alternatives --config java There are 2 programs which provide [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the command to install an alternative installation of Java:</p>
<pre>alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_04/bin/java 99</pre>
<p>In this case I used the self extracting file (not the RPM) from Sun, and moved the directory to <code>/usr/lib/jvm/jdk1.6.0_04</code>.</p>
<p>Update:<br />
To finish it off, you need to do this:</p>
<pre>alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
   2           /usr/lib/jvm/jdk1.6.0_04/bin/java

Enter to keep the current selection[+], or type selection number: 2
[root@localhost jvm]# java -version
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)</pre>
<p>Sometimes SELinux will prevent something from launching (e.g. Eclipse), and you&#8217;ll have to run a command like:</p>
<pre>chcon -t textrel_shlib_t /usr/lib/jvm/jdk1.6.0_04/jre/lib/i386/clientlibjvm.so</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2008/01/28/update-alternatives-install-java/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CentOS 5 / MySQL 5.0.x / Ruby</title>
		<link>http://www.jtanium.com/2007/09/05/centos-5-mysql-50x-ruby/</link>
		<comments>http://www.jtanium.com/2007/09/05/centos-5-mysql-50x-ruby/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 18:31:07 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/blog/?p=42</guid>
		<description><![CDATA[I installed MySQL from the binaries on dev.mysql.com, here&#8217;s how I was able to build the native bindings. First, I installed the MySQL &#8220;Server&#8221;, &#8220;Client&#8221;, and &#8220;Headers and Libraries&#8221; binaries. Next, after Ruby and RubyGems were installed, I did this: sudo gem install mysql -- --with-mysql-include=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql Voila!]]></description>
			<content:encoded><![CDATA[<p>I installed MySQL from the binaries on dev.mysql.com, here&#8217;s how I was able to build the native bindings.</p>
<p>First, I installed the MySQL &#8220;Server&#8221;, &#8220;Client&#8221;, and &#8220;Headers and Libraries&#8221; binaries.  Next, after Ruby and RubyGems were installed, I did this:</p>
<pre>sudo gem install mysql --  --with-mysql-include=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql</pre>
<p>Voila!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2007/09/05/centos-5-mysql-50x-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

