<?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>THE ENCYCLOPEDIA &#187; Linux</title>
	<atom:link href="http://blog.mrcongwang.com/category/the-way-of-learning/linux-the-way-of-learning/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mrcongwang.com</link>
	<description>Of A Young Computer Science Graduate Student</description>
	<lastBuildDate>Mon, 17 May 2010 03:58:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>hadoop cluster notes</title>
		<link>http://blog.mrcongwang.com/2010/04/05/hadoop-cluster-notes/</link>
		<comments>http://blog.mrcongwang.com/2010/04/05/hadoop-cluster-notes/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 04:48:00 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=460</guid>
		<description><![CDATA[namenode : app port: 9000, web server: 50070
jobtracker: app port:9001, web server:50030
datanode, tasktracker 运行于slaves上
core-sites.xml 用fs-default-name指定namenode
hdfs-sites.xml 指定namenode存放临时文件地址，指定datanode存放临时文件地址
临时文件夹必须存在，启动namenode前需要先先hadoop namenode -format一下
运行输入数据和输出数据都位于hdfs上，需要用hadoop fs -put或者-get 来获取，输出目录不能已存在，需要用-rmr来删除
用ip地址指示机器的话需要在hosts里填上对应关系 不然reduce的时候会出错
]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2010/04/05/hadoop-cluster-notes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>virtual memory management</title>
		<link>http://blog.mrcongwang.com/2009/09/09/virtual-memory-management/</link>
		<comments>http://blog.mrcongwang.com/2009/09/09/virtual-memory-management/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 19:24:19 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=402</guid>
		<description><![CDATA[virtual memory address 
VMA
&#124;virtual page number n bits&#124;virtual page offset mbits&#124;
VPN is used as index to find an entry in the address table which contains the physical page number
&#8230;&#8230;&#8230;&#8230;.
&#8230;&#8230;&#8230;&#8230;
&#8230;&#8230;&#8230;&#8230;
physical page number p bits
&#8230;&#8230;&#8230;&#8230;
&#8230;&#8230;&#8230;&#8230;
then PPN is concatencated with VPO to form the entire Physical Address
in fact, N bits in virtual address is transformed into P bits [...]]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2009/09/09/virtual-memory-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[程序员七武器]之Makefile</title>
		<link>http://blog.mrcongwang.com/2009/08/03/%e7%a8%8b%e5%ba%8f%e5%91%98%e4%b8%83%e6%ad%a6%e5%99%a8%e4%b9%8bmakefile/</link>
		<comments>http://blog.mrcongwang.com/2009/08/03/%e7%a8%8b%e5%ba%8f%e5%91%98%e4%b8%83%e6%ad%a6%e5%99%a8%e4%b9%8bmakefile/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 07:26:25 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MAKEFILE]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=344</guid>
		<description><![CDATA[跟我一起来学makefile.pdf
]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2009/08/03/%e7%a8%8b%e5%ba%8f%e5%91%98%e4%b8%83%e6%ad%a6%e5%99%a8%e4%b9%8bmakefile/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Learning Sed</title>
		<link>http://blog.mrcongwang.com/2009/07/28/learning-sed/</link>
		<comments>http://blog.mrcongwang.com/2009/07/28/learning-sed/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 11:21:13 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=323</guid>
		<description><![CDATA[
?View Code SHELLsed 's/day/night/'

s	  Substitute command
/../../	  Delimiter
day	  Regular Expression Pattern Search Pattern
night	  Replacement string
Using &#038; as the matched string

?View Code SHELL% echo &#34;123 abc&#34; &#124; sed 's/[0-9]*/&#38; &#38;/'
123 123 abc

Using \1 to keep part of the pattern

?View Code SHELLsed 's/\([a-z]*\) \([a-z]*\)/\2 \1/'

/g &#8211; Global replacement

?View Code SHELLsed 's/[^ ][^ ]*/(&#38;)/g' &#60;old [...]]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2009/07/28/learning-sed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning Linux IPC, Part II FIFO</title>
		<link>http://blog.mrcongwang.com/2009/07/21/learning-linux-ipc-part-ii-fifo/</link>
		<comments>http://blog.mrcongwang.com/2009/07/21/learning-linux-ipc-part-ii-fifo/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 16:28:14 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[FIFO]]></category>
		<category><![CDATA[IPC]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=289</guid>
		<description><![CDATA[FIFO is a named pipe, which can be created by processes.

?View Code C#include &#60;stdio.h&#62;
#include &#60;stdlib.h&#62;
#include &#60;sys/stat.h&#62;
#include &#60;unistd.h&#62;
&#160;
#include &#60;linux/stat.h&#62;
&#160;
#define FIFO_FILE       &#34;MYFIFO&#34;
&#160;
int main&#40;void&#41;
&#123;
        FILE *fp;
        char readbuf&#91;80&#93;;
&#160;
        /* Create the [...]]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2009/07/21/learning-linux-ipc-part-ii-fifo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning Linux IPC, part I Pipes</title>
		<link>http://blog.mrcongwang.com/2009/07/21/learning-linux-ipc-part-i-pipes/</link>
		<comments>http://blog.mrcongwang.com/2009/07/21/learning-linux-ipc-part-i-pipes/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 16:00:44 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[IPC]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pipe]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=287</guid>
		<description><![CDATA[pipe is two file descriptors, one for reading and the other for writing.
since all file descriptors are inherited by child processes, pipe can
provide a way for communication between parent and child processes.

?View Code C        #include &#60;stdio.h&#62;
        #include &#60;unistd.h&#62;
    [...]]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2009/07/21/learning-linux-ipc-part-i-pipes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim</title>
		<link>http://blog.mrcongwang.com/2009/07/16/vim/</link>
		<comments>http://blog.mrcongwang.com/2009/07/16/vim/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 13:56:12 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=196</guid>
		<description><![CDATA[这次一定要学会用vim了
http://blog.interlinked.org/tutorials/vim_tutorial.html
]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2009/07/16/vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good place to find missing packages</title>
		<link>http://blog.mrcongwang.com/2009/07/16/good-place-to-find-missing-packages/</link>
		<comments>http://blog.mrcongwang.com/2009/07/16/good-place-to-find-missing-packages/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 13:17:26 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=187</guid>
		<description><![CDATA[http://packages.ubuntu.com/
]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2009/07/16/good-place-to-find-missing-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to search files in Linux system</title>
		<link>http://blog.mrcongwang.com/2009/07/13/how-to-search-files-in-linux-system/</link>
		<comments>http://blog.mrcongwang.com/2009/07/13/how-to-search-files-in-linux-system/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 12:58:43 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=146</guid>
		<description><![CDATA[$ find /home/david -amin -10 -name &#8216;*.c&#8217;
$ find /home/david -atime -2 -name &#8216;*.c&#8217;
$ find /home/david -mmin -10 -name &#8216;*.c&#8217;
$ find /home/david -mtime -2 -name &#8216;*.c&#8217;


]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2009/07/13/how-to-search-files-in-linux-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[程序员七武器]之正则表达式</title>
		<link>http://blog.mrcongwang.com/2009/07/09/%e7%a8%8b%e5%ba%8f%e5%91%98%e4%b8%83%e6%ad%a6%e5%99%a8%e4%b9%8b%e6%ad%a3%e5%88%99%e8%a1%a8%e8%be%be%e5%bc%8f/</link>
		<comments>http://blog.mrcongwang.com/2009/07/09/%e7%a8%8b%e5%ba%8f%e5%91%98%e4%b8%83%e6%ad%a6%e5%99%a8%e4%b9%8b%e6%ad%a3%e5%88%99%e8%a1%a8%e8%be%be%e5%bc%8f/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 12:32:30 +0000</pubDate>
		<dc:creator>silwings</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PCRE]]></category>
		<category><![CDATA[regx]]></category>

		<guid isPermaLink="false">http://blog.mrcongwang.com/?p=108</guid>
		<description><![CDATA[比较常用的PCRE规则：
modifier:

m
Treat string as multiple lines. That is, change &#8220;^&#8221; and &#8220;$&#8221; from matching the start or end of the string to matching the start or end of any line anywhere within the string.

s
Treat string as single line. That is, change &#8220;.&#8221; to match any character whatsoever, even a newline, which normally it would not match.
Used [...]]]></description>
		<wfw:commentRss>http://blog.mrcongwang.com/2009/07/09/%e7%a8%8b%e5%ba%8f%e5%91%98%e4%b8%83%e6%ad%a6%e5%99%a8%e4%b9%8b%e6%ad%a3%e5%88%99%e8%a1%a8%e8%be%be%e5%bc%8f/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
