<?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>Tairan&#039;s Story &#187; Linux Mint</title>
	<atom:link href="http://www.tairan.net/index.php/tag/linux-mint/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tairan.net</link>
	<description>「知之真切笃实处即是行，行之明觉精察处即是知，知行工夫不可离。」</description>
	<lastBuildDate>Fri, 02 Dec 2011 08:08:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>基于(LFS)构建一个属于自己的Linux(一)</title>
		<link>http://www.tairan.net/index.php/2010/02/22/building-the-linux-for-myself/</link>
		<comments>http://www.tairan.net/index.php/2010/02/22/building-the-linux-for-myself/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 09:22:27 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[实践手札]]></category>
		<category><![CDATA[我的声音]]></category>
		<category><![CDATA[LFS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux Mint]]></category>

		<guid isPermaLink="false">http://www.tairan.net/?p=791</guid>
		<description><![CDATA[想挑战LFS很久了，终于从今天开始动工制作了。以前虽然没有动手开始创建LFS，但是也积累了不少的相关信息，一切都还算顺利。 今天是第一天，主要的工作是编译工具链和一些系统工具为Building the LFS System作准备。 准备HOST(宿主)系统，没有使用LFS-LiveCD, 而是在虚拟机中安装LinuxMint(没有特殊的含义)，在开始之前需要在LinuxMint中安装编译LFS的相关工具。 sudo apt-get install build-essential bison LFS 的版本为 6.5 LFS 提供了一个文件, 其中包含了构建LFS所有用到的源码下载链接 LFS-BOOK-6.5-wget-list 可以使用wget下载这些源码 wget -c -t 2 -i LFS-BOOK-6.5-wget-list -o down.log 需要注意的是，Perl-5.10.0 的路径已经被移除，取而代之的是Perl-5.10.1。采用了新的版本Perl后，原来针对5.10.0的patch就不用了。 依照LFS-BOOK的指示，编译起来还是很顺利的。如果英文不好可以对照着金步国翻译的中文版的LFS-BOOK-6.2 通常编译的步骤如下，先解压源码包，如果有patch则应用patch patch -Np1 -i path_of_the_patch 之后就是念咒语 ./configure --prefix=/tools #需要根据文档指示 make make install 具体的编译还是应该参照文档，除非你运气真的很背，否则都会通过的。 编译是一件苦力活，根据机器的性能，也许会耗费你一天甚至更长的时间。其实也有自动化的操作，但是动手敲上一段咒语还是有很多额外的收获。 到此，编译了N个程序后准备工作就告一段落了，编译的这些程序是新世界的基础，很重要、也很费时！ 接下来进入 Building the LFS System © Daniel Wang for [...]]]></description>
			<content:encoded><![CDATA[<p>想挑战LFS很久了，终于从今天开始动工制作了。以前虽然没有动手开始创建LFS，但是也积累了不少的相关信息，一切都还算顺利。</p>
<p>今天是第一天，主要的工作是编译工具链和一些系统工具为Building the LFS System作准备。</p>
<p>准备HOST(宿主)系统，没有使用<a href="http://www.linuxfromscratch.org/livecd/" target="_blank">LFS-LiveCD</a>, 而是在虚拟机中安装<a href="http://www.linuxmint.com" target="_blank">LinuxMint</a>(没有特殊的含义)，在开始之前需要在LinuxMint中安装编译LFS的相关工具。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential <span style="color: #c20cb9; font-weight: bold;">bison</span></pre></div></div>

<p>LFS 的版本为 6.5</p>
<p>LFS 提供了一个文件, 其中包含了构建LFS所有用到的源码下载链接 <a href="http://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-6.5-wget-list" target="_blank">LFS-BOOK-6.5-wget-list</a></p>
<p>可以使用wget下载这些源码</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-c</span> <span style="color: #660033;">-t</span> <span style="color: #000000;">2</span> <span style="color: #660033;">-i</span> LFS-BOOK-<span style="color: #000000;">6.5</span>-wget-list <span style="color: #660033;">-o</span> down.log</pre></div></div>

<p>需要注意的是，Perl-5.10.0 的路径已经被移除，取而代之的是Perl-5.10.1。采用了新的版本Perl后，原来针对5.10.0的patch就不用了。</p>
<p>依照LFS-BOOK的指示，编译起来还是很顺利的。如果英文不好可以对照着<a href="http://www.google.cn/search?hl=zh-CN&#038;newwindow=1&#038;rlz=1B6_____enCN355CN356&#038;q=%E9%87%91%E6%AD%A5%E5%9B%BD&#038;btnG=Google+%E6%90%9C%E7%B4%A2&#038;aq=f&#038;oq=">金步国</a>翻译的中文版的<a href="http://lamp.linux.gov.cn/Linux/LFS-6.2/index.html">LFS-BOOK-6.2</a></p>
<p>通常编译的步骤如下，先解压源码包，如果有patch则应用patch</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-Np1</span> <span style="color: #660033;">-i</span> path_of_the_patch</pre></div></div>

<p>之后就是念咒语</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>tools <span style="color: #666666; font-style: italic;">#需要根据文档指示</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>具体的编译还是应该参照文档，除非你运气真的很背，否则都会通过的。</p>
<p>编译是一件苦力活，根据机器的性能，也许会耗费你一天甚至更长的时间。其实也有自动化的操作，但是动手敲上一段咒语还是有很多额外的收获。</p>
<p>到此，编译了N个程序后准备工作就告一段落了，编译的这些程序是新世界的基础，很重要、也很费时！ 接下来进入 <b>Building the LFS System</b></p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2010. |
<a href="http://www.tairan.net/index.php/2010/02/22/building-the-linux-for-myself/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2010/02/22/building-the-linux-for-myself/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2010/02/22/building-the-linux-for-myself/&title=基于(LFS)构建一个属于自己的Linux(一)">del.icio.us</a>
<br/>
Post tags: <a href="http://www.tairan.net/index.php/tag/lfs/" rel="tag">LFS</a>, <a href="http://www.tairan.net/index.php/tag/linux/" rel="tag">linux</a>, <a href="http://www.tairan.net/index.php/tag/linux-mint/" rel="tag">Linux Mint</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2010/02/22/building-the-linux-for-myself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TMD还是Linux的桌面好用</title>
		<link>http://www.tairan.net/index.php/2009/10/10/linux-destop-is-very-nice/</link>
		<comments>http://www.tairan.net/index.php/2009/10/10/linux-destop-is-very-nice/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 13:31:46 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[我的声音]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux Mint]]></category>

		<guid isPermaLink="false">http://www.tairan.net/?p=644</guid>
		<description><![CDATA[本人过着双重生活，白天在MS讨生活，夜晚沉浸在Linux的世界中。一直以来总是认为Windows的桌面环境，尤其是WIN7要比Linux的桌面要易用一些，毕竟Windows是傻瓜化的操作。可今天我才发现Linux的桌面其实更好用。 在本人的双重世界中，Linux的运行时的硬件总是距今有3－4年之久，而Windows的硬件却是当今主流中端配置。所以在在Linux上运行桌面时总感觉没那么的流畅，没有Windows的方便。当我给Linux一个当今低端配置时，Linux世界发生了翻天覆地的变化。输入法也不迟钝了，窗口切换也流畅了，高清电影播放ok了，再跑个Virtual Box玩XP也绰绰有余了。 如此的好处只能自己亲自体验才行，如果你不相信的话，赶紧装个Linux试试！ 废话少说，有图为证： © Daniel Wang for Tairan&#039;s Story, 2009. &#124; Permalink &#124; No comment &#124; Add to del.icio.us Post tags: linux, Linux Mint Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>本人过着双重生活，白天在MS讨生活，夜晚沉浸在Linux的世界中。一直以来总是认为Windows的桌面环境，尤其是WIN7要比Linux的桌面要易用一些，毕竟Windows是傻瓜化的操作。可今天我才发现Linux的桌面其实更好用。</p>
<p>在本人的双重世界中，Linux的运行时的硬件总是距今有3－4年之久，而Windows的硬件却是当今主流中端配置。所以在在Linux上运行桌面时总感觉没那么的流畅，没有Windows的方便。当我给Linux一个当今低端配置时，Linux世界发生了翻天覆地的变化。输入法也不迟钝了，窗口切换也流畅了，高清电影播放ok了，再跑个Virtual Box玩XP也绰绰有余了。</p>
<p>如此的好处只能自己亲自体验才行，如果你不相信的话，赶紧装个Linux试试！</p>
<p>废话少说，有图为证：<br />
<a href="http://www.tairan.net/wp-content/uploads/2009/10/Screenshot.png" target="_blank"><img src="http://www.tairan.net/wp-content/uploads/2009/10/Screenshot-300x187.png" alt="Linux Mint desktop " title="Linux Mint desktop " width="300" height="187" class="aligncenter size-medium wp-image-645" /></a></p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2009. |
<a href="http://www.tairan.net/index.php/2009/10/10/linux-destop-is-very-nice/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2009/10/10/linux-destop-is-very-nice/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2009/10/10/linux-destop-is-very-nice/&title=TMD还是Linux的桌面好用">del.icio.us</a>
<br/>
Post tags: <a href="http://www.tairan.net/index.php/tag/linux/" rel="tag">linux</a>, <a href="http://www.tairan.net/index.php/tag/linux-mint/" rel="tag">Linux Mint</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2009/10/10/linux-destop-is-very-nice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

