<?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>Yun Fu&#039;s Worklog &#187; setup</title>
	<atom:link href="http://fuyun.org/category/setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://fuyun.org</link>
	<description>a system engineer&#039;s blog</description>
	<lastBuildDate>Mon, 02 Jan 2012 05:43:21 +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>Install WinRAR on Fedora</title>
		<link>http://fuyun.org/2010/03/install-winrar-on-fedora/</link>
		<comments>http://fuyun.org/2010/03/install-winrar-on-fedora/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 07:22:44 +0000</pubDate>
		<dc:creator>yfu</dc:creator>
				<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://www.fuyun.org/?p=289</guid>
		<description><![CDATA[Simply put, to install WinRar on Fedora: The first command adds rpmfusion into your yum repository. Then, the yum command installs unrar from rpmfusion. Now you can extract rar files by &#8216;unrar e filename&#8217;. During the installation of unrar, yum &#8230; <a href="http://fuyun.org/2010/03/install-winrar-on-fedora/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Simply put, to install WinRar on Fedora:</p>
<pre class="brush: plain; title: ; notranslate">
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install unrar
</pre>
<p>The first command adds rpmfusion into your yum repository. Then, the yum command installs unrar from rpmfusion. Now you can extract rar files by &#8216;unrar e filename&#8217;. During the installation of unrar, yum may prompt you if it is OK to import GPG key from RPM Fusion nonfree repository? Type y to add it.</p>
<p>WinRAR is provided by RARLAB. Its <a href="http://www.rarlab.com/rar_add.htm">download page</a> points to <a href="http://rpm.livna.org/">rpm.livna.org</a> for Linux version unrar. However,  livna has been merged to <a href="http://rpmfusion.org">rpmfusion</a>. Thus, you should add rpmfusion into your yum repository instead. To do that, either follow the section &#8220;command line setup using rpm&#8221; on its <a href="http://rpmfusion.org/Configuration"> config page</a> or only add the nonfree repository (WinRAR is not open sourced) as I did above.</p>
]]></content:encoded>
			<wfw:commentRss>http://fuyun.org/2010/03/install-winrar-on-fedora/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install Ruby On Rails and Django on Fedora</title>
		<link>http://fuyun.org/2010/02/install-ruby-on-rails-and-django-on-fedora/</link>
		<comments>http://fuyun.org/2010/02/install-ruby-on-rails-and-django-on-fedora/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 07:42:30 +0000</pubDate>
		<dc:creator>yfu</dc:creator>
				<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://www.fuyun.org/?p=278</guid>
		<description><![CDATA[Some notes about installing ruby on rails and django on fedora 11. To install ROR on Fedora: Later, I found the gem installed by yum is 1.3.1, which is lower than required by rake. So I downloaded rubygems-1.3.5.tgz from http://rubyforge.org/frs/?group_id=126, &#8230; <a href="http://fuyun.org/2010/02/install-ruby-on-rails-and-django-on-fedora/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some notes about installing ruby on rails and django on fedora 11.</p>
<p><strong>To install ROR on Fedora:</strong></p>
<pre class="brush: plain; title: ; notranslate">
yum install mysql
yum install mysql-devel
yum install ruby
yum install rubygems
gem install rails
gem install mysql
</pre>
<p>Later, I found the gem installed by yum is 1.3.1, which is lower than required by rake. So I downloaded rubygems-1.3.5.tgz from http://rubyforge.org/frs/?group_id=126, and installed it by</p>
<pre class="brush: plain; title: ; notranslate">
&gt; ruby setup.rb
</pre>
<p>To test the installation of mysql, write a ruby script with</p>
<pre class="brush: ruby; title: ; notranslate">
require &quot;mysql&quot;
</pre>
<p>But I got this error,</p>
<pre class="brush: plain; title: ; notranslate">
mysqltestst.rb:1:in `require': no such file to load -- mysql (LoadError)
</pre>
<p>To fix it, add environment variable  RUBYOPT=rubygems</p>
<p>Another way is as follows</p>
<pre class="brush: ruby; title: ; notranslate">
require &quot;rubygems&quot;
require &quot;mysql&quot;
</pre>
<p><strong>To install Django on Fedora:</strong></p>
<pre class="brush: plain; title: ; notranslate">
yum install Django
yum install MySQL-python.i586
</pre>
]]></content:encoded>
			<wfw:commentRss>http://fuyun.org/2010/02/install-ruby-on-rails-and-django-on-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

