<?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>Jimey’s Life &#38;&#38; Jimey’s World &#187; Linux</title>
	<atom:link href="http://jimey.com/category/c/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://jimey.com</link>
	<description>Learning something new everyday</description>
	<lastBuildDate>Thu, 05 Aug 2010 08:03:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar</title>
		<link>http://jimey.com/2010/05/06/ubuntu10-04-compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-3-dev-eclipse-plugin-jar-download.html</link>
		<comments>http://jimey.com/2010/05/06/ubuntu10-04-compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-3-dev-eclipse-plugin-jar-download.html#comments</comments>
		<pubDate>Thu, 06 May 2010 07:30:20 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[build.xml]]></category>
		<category><![CDATA[eclipse-plugin]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hadoop-0.20.2]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://jimey.com/2010/05/06/ubuntu10-04-%e7%bc%96%e8%af%91hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-3-dev-eclipse-plugin-jar-download.html</guid>
		<description><![CDATA[&#160;  先是准备工作,需要java5和apache-forrest-0.8  基本上也是问题一堆,因为ubuntu9.10开始不支持java-5-sun所以装java5-sun-jdk稍微麻烦了一下  可以参考这篇文章 http://blog.csdn.net/sunrock/archive/2010/04/29/5542989.aspx  修改源改成9.04的源然后安装java5-sun-jdk  接着  安装apache-forrest-0.8  http://for..... ]]></description>
			<content:encoded><![CDATA[<p>先是准备工作,需要java5和apache-forrest-0.8</p>
<p>基本上也是问题一堆,因为ubuntu9.10开始不支持java5所以装java5-sun-<a href="http://jimey.com/tag/jdk" class="st_tag internal_tag" rel="tag" title="Posts tagged with jdk">jdk</a>稍微麻烦了一下</p>
<p>可以参考这篇文章 <a title="http://blog.csdn.net/sunrock/archive/2010/04/29/5542989.aspx" href="http://blog.csdn.net/sunrock/archive/2010/04/29/5542989.aspx">http://blog.csdn.net/sunrock/archive/2010/04/29/5542989.aspx</a></p>
<p>修改源改成9.04的源然后安装java5-sun-<a href="http://jimey.com/tag/jdk" class="st_tag internal_tag" rel="tag" title="Posts tagged with jdk">jdk</a></p>
<p>接着</p>
<p>安装apache-forrest-0.8</p>
<p><a href="http://forrest.apache.org/mirrors.cgi">http://forrest.apache.org/mirrors.cgi</a> For UNIX operating systems: apache-forrest-0.8.tar.gz<br />
解压后 我放在 /home/cloud/apache-forrest-0.8</p>
<p>直接下载来hadoop-0.20.2+228.tar.gz 解压缩即可</p>
<p>然后修改3个地方</p>
<p>1.修改$HADOOP_HOME/src/contrib/build-contrib.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a><br />
增加一行：&lt;property name=&#8221;eclipse.home&#8221; location=&#8221;/usr/lib/eclipse&#8221;/&gt;</p>
<p>2.修改 $HADOOP_HOME/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java<br />
注释掉原来的//import org.eclipse.jdt.internal.<a href="http://jimey.com/tag/debug" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debug">debug</a>.ui.launcher.JavaApplicationLaunchShortcut;<br />
改为import org.eclipse.jdt.<a href="http://jimey.com/tag/debug" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debug">debug</a>.ui.launchConfigurations.JavaApplicationLaunchShortcut;</p>
<p>3.修改$HADOOP_HOME/build.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a></p>
<p>增加</p>
<p>&lt;property name=&#8221;java5.home&#8221; location=&#8221;/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/&#8221;/&gt;<br />
&lt;property name=&#8221;forrest.home&#8221; location=&#8221;/home/cloud/apache-forrest-0.8/&#8221;/&gt;</p>
<p>这2行</p>
<p>然后ant compile</p>
<p>ant package 应该是没问题了</p>
<p>生成的eclipse plugin是在$HADOOP_HOME/build/contrib/eclipse-plugin/</p>
<p>或者直接去 http://hadoop-eclipse-plugin.googlecode.com/files/hadoop-0.20.3-dev-eclipse-plugin.jar 下载吧</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-1-eclipse-plugin-jar-download.html" title="编译hadoop-${version}-eclipse-plugin.jar and hadoop-0.20.1-eclipse-plugin.jar download">编译hadoop-${version}-eclipse-plugin.jar and hadoop-0.20.1-eclipse-plugin.jar download</a> (3)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2010-04-22 -- <a href="http://jimey.com/2010/04/22/several-articles-on-twitter-hadoop-cassandra-pig-flockdbu002639s-slide.html" title="几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide">几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide</a> (0)</li><li>2009-12-02 -- <a href="http://jimey.com/2009/12/02/karmasphere-studio-for-hadoop.html" title="Karmasphere Studio for Hadoop">Karmasphere Studio for Hadoop</a> (0)</li><li>2009-05-01 -- <a href="http://jimey.com/2009/05/01/hadoop-0-20-0.html" title="hadoop-0.20.0">hadoop-0.20.0</a> (0)</li><li>2009-04-28 -- <a href="http://jimey.com/2009/04/28/hadoop-mysql-combination-of.html" title="Hadoop+MySQL结合">Hadoop+MySQL结合</a> (0)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/midnight.html" title="半夜">半夜</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/eclipse-based-application-development-environment-configuration-of-hadoop.html" title="基于Eclipse的Hadoop应用开发环境的配置">基于Eclipse的Hadoop应用开发环境的配置</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/cloud-computing-on-the-next-week-to-discuss-the-curriculum-some-of-the-ideas.html" title="关于下下周cloud computing讨论课程的一些想法">关于下下周cloud computing讨论课程的一些想法</a> (0)</li><li>2008-11-12 -- <a href="http://jimey.com/2008/11/12/sunday-the-day-to-do-the-wordcount-screenshots-mapreduce.html" title="周日那天做的mapreduce中的wordcount测试截图">周日那天做的mapreduce中的wordcount测试截图</a> (0)</li><li>2008-11-11 -- <a href="http://jimey.com/2008/11/11/hadoop-hbase-performance-evaluation.html" title="Hadoop HBase Performance Evaluation">Hadoop HBase Performance Evaluation</a> (0)</li><li>2008-11-10 -- <a href="http://jimey.com/2008/11/10/another-week-passed-and-concluded.html" title="又一周过去了，总结">又一周过去了，总结</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2010/05/06/ubuntu10-04-compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-3-dev-eclipse-plugin-jar-download.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu 10.04安装sun的jdk</title>
		<link>http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html</link>
		<comments>http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html#comments</comments>
		<pubDate>Tue, 04 May 2010 12:18:06 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javac]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[LTS]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://jimey.com/2010/05/04/ubuntu-10-04%e5%ae%89%e8%a3%85sun%e7%9a%84jdk.html</guid>
		<description><![CDATA[在ubuntu10.04版本里面，sun的jdk已经被排除在标准库里面，标准库的只有openJDK了  为了装sun的jdk  先是编译个源文件  比如     sudo vim /etc/apt/sources.list.d/partner.list   然后添加     deb http://archive.canonical.com/ lucid partner   然后保存之后     sudo apt-get update   然后就     sudo apt-get insta..... ]]></description>
			<content:encoded><![CDATA[<p>在ubuntu10.04版本里面，sun的<a href="http://jimey.com/tag/jdk" class="st_tag internal_tag" rel="tag" title="Posts tagged with jdk">jdk</a>已经被排除在标准库里面，标准库的只有openJDK了</p>
<p>为了安装sun的<a href="http://jimey.com/tag/jdk" class="st_tag internal_tag" rel="tag" title="Posts tagged with jdk">jdk</a></p>
<p>先是编译个源文件</p>
<p><code>比如</code></p>
<blockquote><p><code>sudo vim /etc/apt/sources.list.d/partner.list</code></p></blockquote>
<p><code>然后添加</code></p>
<blockquote><p><code>deb <a href="http://archive.canonical.com/">http://archive.canonical.com/</a> lucid partner</code></p></blockquote>
<p><code>然后保存之后</code></p>
<blockquote><p><code>sudo apt-get update</code></p></blockquote>
<p><code>然后就</code></p>
<blockquote><p>sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-<a href="http://jimey.com/tag/jdk" class="st_tag internal_tag" rel="tag" title="Posts tagged with jdk">jdk</a></p></blockquote>
<p>基本上就可以了.只是源实在是太慢了.. 用习惯10M的源,突然变成100多k真受不了</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2010-05-06 -- <a href="http://jimey.com/2010/05/06/ubuntu10-04-compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-3-dev-eclipse-plugin-jar-download.html" title="Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar">Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar</a> (0)</li><li>2009-10-28 -- <a href="http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html" title="ubuntu 8.04版本编译rtorrent 0.85篇">ubuntu 8.04版本编译rtorrent 0.85篇</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-10-08 -- <a href="http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html" title="Ubuntu系统下格式化windows 分区">Ubuntu系统下格式化windows 分区</a> (0)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html" title="Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex">Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html" title="perl的CPAN权限问题">perl的CPAN权限问题</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html" title="Ubuntu Ubuntu 8.04 LTS 配置笔记">Ubuntu Ubuntu 8.04 LTS 配置笔记</a> (0)</li><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html" title="Disabling Your PC Speaker in Ubuntu">Disabling Your PC Speaker in Ubuntu</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/install-and-configuration-vsftpd-ftp-service-on-ubuntu-linux.html" title="install and configuration vsftpd ftp service on Ubuntu Linux">install and configuration vsftpd ftp service on Ubuntu Linux</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/in-the-ubuntu-install-configure-subversion-aapache.html" title="在Ubuntu上安装配置Subversion + Aapache">在Ubuntu上安装配置Subversion + Aapache</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html" title="How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04">How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Linux Command Line: 一本介绍 Linux 命令行的好书</title>
		<link>http://jimey.com/2010/04/27/the-linux-command-line-a-good-book-describes-linux-command-line.html</link>
		<comments>http://jimey.com/2010/04/27/the-linux-command-line-a-good-book-describes-linux-command-line.html#comments</comments>
		<pubDate>Tue, 27 Apr 2010 01:59:01 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[Line]]></category>

		<guid isPermaLink="false">http://jimey.com/2010/04/27/the-linux-command-line-%e4%b8%80%e6%9c%ac%e4%bb%8b%e7%bb%8d-linux-%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%9a%84%e5%a5%bd%e4%b9%a6.html</guid>
		<description><![CDATA[《The Linux Command Line》由 William E. Shotts, Jr. 所著，William E. Shotts. Jr. 是著名的 LinuxCommand.org 网站的维护者，相信资深的 Linux CLI 控都不会陌生。这本《The Linux Command Linux》有 500 多页，对 Linux 命令行进行了全面的介绍，但是写得深入浅出，不仅适合 Linux CLI 新手阅读，就算是老鸟也能从中有..... ]]></description>
			<content:encoded><![CDATA[<p>《The <a href="http://jimey.com/tag/linux" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">Command</a> Line》由 William E. Shotts, Jr. 所著，William E. Shotts. Jr. 是著名的 <a href="http://linuxcommand.org/">LinuxCommand.org</a> 网站的维护者，相信资深的 <a href="http://jimey.com/tag/linux" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> CLI 控都不会陌生。这本《The <a href="http://jimey.com/tag/linux" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">Command</a> <a href="http://jimey.com/tag/linux" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a>》有 500 多页，对 <a href="http://jimey.com/tag/linux" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> 命令行进行了全面的介绍，但是写得深入浅出，不仅适合 <a href="http://jimey.com/tag/linux" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> CLI 新手阅读，就算是老鸟也能从中有所崭获。</p>
<p>&#160;</p>
<p>本书是免费的，为 PDF 格式，可从<a href="http://linuxcommand.org/tlcl.php">这里下载</a>。</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-04-09 -- <a href="http://jimey.com/2009/04/09/p2psim-installation.html" title="P2PSim安装">P2PSim安装</a> (0)</li><li>2009-03-30 -- <a href="http://jimey.com/2009/03/30/currently-in-use-firefox-ubiquity-command.html" title="目前在用的Firefox的Ubiquity Command">目前在用的Firefox的Ubiquity Command</a> (0)</li><li>2009-03-18 -- <a href="http://jimey.com/2009/03/18/glftpd-and-zipscript-install-guide.html" title="glftpd and zipscript install guide">glftpd and zipscript install guide</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2008-12-06 -- <a href="http://jimey.com/2008/12/06/from-the-u0026quotsun-released-javafx-1-0u0026quot-look-at-the-embarrassment-of-the-current-status-linux.html" title="从&quot;Sun发布JavaFX 1.0&ldquo;来看linux目前的尴尬地位">从&quot;Sun发布JavaFX 1.0&ldquo;来看linux目前的尴尬地位</a> (0)</li><li>2008-10-14 -- <a href="http://jimey.com/2008/10/14/diy-filing-cabinet-linux-server-cluster.html" title="DIY Filing Cabinet Linux Server Cluster">DIY Filing Cabinet Linux Server Cluster</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2010/04/27/the-linux-command-line-a-good-book-describes-linux-command-line.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>继续微博客，继续同步消息</title>
		<link>http://jimey.com/2009/10/31/to-continue-to-micro-blog-to-continue-to-sync-messages.html</link>
		<comments>http://jimey.com/2009/10/31/to-continue-to-micro-blog-to-continue-to-sync-messages.html#comments</comments>
		<pubDate>Sat, 31 Oct 2009 04:50:32 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[oAuth]]></category>
		<category><![CDATA[Ping.fm]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Twitterfead]]></category>
		<category><![CDATA[新浪微博]]></category>
		<category><![CDATA[火兔]]></category>
		<category><![CDATA[豆瓣]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/10/31/%e7%bb%a7%e7%bb%ad%e5%be%ae%e5%8d%9a%e5%ae%a2%ef%bc%8c%e7%bb%a7%e7%bb%ad%e5%90%8c%e6%ad%a5%e6%b6%88%e6%81%af.html</guid>
		<description><![CDATA[太多微博客，懒得每个都更新，但是每个地方都有不同的朋友   想是在一个地方发消息，更新所有的微博客，所以就不得不想这个同步的办法了   目前我是用这样的流程   twitter (主号) -&#62; ping.fm -&#62; custom.url -&#62; 火兔(嘀咕) -&#62; 新浪微博   同时这个ping.fm 也一块更新 我一个备份我发过twitter的另外一个账号&#1..... ]]></description>
			<content:encoded><![CDATA[<p>太多微博客，懒得每个都更新，但是每个地方都有不同的朋友 </p>
<p>想是在一个地方发消息，更新所有的微博客，所以就不得不想这个同步的办法了 </p>
<p>目前我是用这样的流程 </p>
<p>twitter (主号) -&gt; ping.fm -&gt; custom.url -&gt; 火兔(嘀咕) -&gt; 新浪微博 </p>
<p>同时这个ping.fm 也一块更新 我一个备份我发过twitter的另外一个账号&#160; 以及facebook </p>
<p>主号往ping.fm发消息的时候过滤了RT 和 @ , 这样我的主号跟人聊天打屁 扯蛋 八卦的内容就不会传播出去了 </p>
<p>我养了3个twitter的账号 目的有几个 </p>
<p>1.主号 ：&#160; 发一些有价值的，有营养的 ， 顺便跟人打屁 RT 扯蛋 聊天 吹牛 八卦的   <br />2.机器人号 ： 用twitterfeed 抓取我博客的comment rss 然后加上前缀 @ 主号&#160; 的方式 发放消息， 这样如果有人在我博客评论，我在我的主号上查看 @me 就可以知道有评论了， 我加了我的wordpress的评论rss以及live space的 </p>
<p>3.备份消息号 ： 备份主号发的消息，还有一些，比如 我睡觉了，我起床了，我吃饭了 这样无聊的信息，我想这样记录下看看我天天都在干啥的时候，又对别人没任何意义的时候，就把内容保存到这个号就可以了，今后多年以后再看过来，也是蛮有意思的一件事情 </p>
<p>twitter -&gt; ping.fm 主要是用python脚本来实现 </p>
<p>有个ping.fm的python库，安装之后就很简单了 </p>
<p>具体代码可以参看 </p>
<blockquote><p>#!/usr/bin/python </p>
<p>from <a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>.dom.minidom import parseString     <br />import urllib      <br />import urllib2      <br />import sys      <br />from pyngfm import PyngFM </p>
<p>def post_to_pingfm(msg):     <br />&#160;&#160;&#160; pfm = PyngFM() </p>
<p>&#160;&#160;&#160; pfm.setApiKey(&#8216;xxxxxxxxxxxxxxxxx&#8217;)     <br />&#160;&#160;&#160; pfm.setUserAppKey(&#8216;xxxxxxxxxxxxxxxxxxxxxxx&#8217;) </p>
<p>&#160;&#160;&#160; pfm.user_post(&#8216;default&#8217;,'%s&#8217;%msg) </p>
<p>def main():     <br />&#160;&#160;&#160; f = open(&#8216;last.txt&#8217;,'r&#8217;)      <br />&#160;&#160;&#160; maxid = int(f.read())      <br />&#160;&#160;&#160; f.close()      <br />&#160;&#160;&#160; if maxid &lt; 1166717326:      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; print &#8216;error&#8217;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sys.exit(-1)      <br />&#160;&#160;&#160; params = urllib.urlencode({&#8216;since_id&#8217;:maxid})      <br />&#160;&#160;&#160; f = urllib.urlopen(&quot;<a href="http://twitter.com/statuses/user_timeline/jimey.xml?%s&quot;">http://twitter.com/statuses/user_timeline/jimey.xml?%s&quot;</a> % params)      <br />&#160;&#160;&#160; xmltext = f.read()      <br />&#160;&#160;&#160; dom = parseString(xmltext)      <br />&#160;&#160;&#160; statuses = dom.childNodes[0]      <br />&#160;&#160;&#160; messages = []      <br />&#160;&#160;&#160; s = 0      <br />&#160;&#160;&#160; for node in statuses.childNodes:      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if node.nodeName == &#8216;status&#8217;:      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; status = node      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; for snode in status.childNodes:      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if snode.nodeName == &#8216;id&#8217;:      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; n = int(snode.childNodes[0].nodeValue)      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if n &gt; maxid:      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; maxid = n      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; elif snode.nodeName == &#8216;text&#8217; and snode.childNodes[0].nodeValue[0:2] != &#8216;RT&#8217; and snode.childNodes[0].nodeValue[0] != &#8216;@&#8217;:      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; messages.append(snode.childNodes[0].nodeValue.encode(&#8216;utf-8&#8242;))      <br />&#160;&#160;&#160; while len(messages) &gt; 0:      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; post_to_pingfm(messages.pop())      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; s = s + 1      <br />&#160;&#160;&#160; f = open(&#8216;last.txt&#8217;,'w&#8217;)      <br />&#160;&#160;&#160; f.write(str(maxid))      <br />&#160;&#160;&#160; f.close()      <br />if __name__ == &quot;__main__&quot;:      <br />&#160;&#160;&#160; main()      <br />&#160;</p>
</blockquote>
<p>ping.fm 到自定义网页 </p>
<p>可以查看这个网页&#160; <a href="http://www.williamlong.info/archives/1961.html">http://www.williamlong.info/archives/1961.html</a></p>
<p>修改那个microblog.php 添加你的火兔帐号密码，然后随便丢到一个支持php的网站去就好了 </p>
<p>在ping.fm cunstom url添加这个microblog.php 即可同步更新 </p>
<p>然后在火兔那边添加 新浪微波即可 </p>
<p>目前唯一比较麻烦的是豆瓣的我说 </p>
<p>我想把豆瓣的我说 广播也一并给同步了 </p>
<p>搞了一天的oauth 还不是很得法&#8230; </p>
<p>python俺那个认证header实在是不知道咋弄了.. </p>
<p>php版本的好像得自己的php服务器了因为还要装Zend Gdata，网上的php网站好像都不支持这玩意..</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-04-06 -- <a href="http://jimey.com/2009/04/06/twitter-micro-blog-to-spread-to-other-steps-of-the-python-and-other.html" title="散布twitter到其他微博客的python脚步及其他">散布twitter到其他微博客的python脚步及其他</a> (2)</li><li>2009-12-18 -- <a href="http://jimey.com/2009/12/18/twitter-rss-reminder.html" title="twitter rss 提醒">twitter rss 提醒</a> (0)</li><li>2009-12-18 -- <a href="http://jimey.com/2009/12/18/feedburner-to-be-more-social.html" title="feedburner &#8211; To be more social">feedburner &#8211; To be more social</a> (0)</li><li>2009-04-02 -- <a href="http://jimey.com/2009/04/02/after-the-rice-has-reply-u0026gt-twitter-to-remind-the-script.html" title="饭否@回复后->Twitter提醒脚本">饭否@回复后->Twitter提醒脚本</a> (0)</li><li>2009-04-01 -- <a href="http://jimey.com/2009/04/01/twitter-protected-mode-to-open-the-message-authentication-twitter-messages-if-synchronization-rice.html" title="Twitter开启消息保护模式后认证Twitter消息同步饭否">Twitter开启消息保护模式后认证Twitter消息同步饭否</a> (0)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/sync-twitter-to-rice-has.html" title="同步twitter到饭否">同步twitter到饭否</a> (0)</li><li>2009-03-16 -- <a href="http://jimey.com/2009/03/16/web-2-0-era-sfile-development-outlook.html" title="web 2.0时代的sfile发展展望">web 2.0时代的sfile发展展望</a> (0)</li><li>2010-05-05 -- <a href="http://jimey.com/2010/05/05/mocospace-architecture-3-billion-mobile-page-views-a-month.html" title="MocoSpace Architecture &#8211; 3 Billion Mobile Page Views a Month">MocoSpace Architecture &#8211; 3 Billion Mobile Page Views a Month</a> (0)</li><li>2010-04-22 -- <a href="http://jimey.com/2010/04/22/several-articles-on-twitter-hadoop-cassandra-pig-flockdbu002639s-slide.html" title="几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide">几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide</a> (0)</li><li>2010-04-03 -- <a href="http://jimey.com/2010/04/03/marketing-in-twitter.html" title="Marketing in Twitter">Marketing in Twitter</a> (0)</li><li>2010-04-01 -- <a href="http://jimey.com/2010/04/01/foolu002639s-day.html" title="愚人节">愚人节</a> (2)</li><li>2010-03-30 -- <a href="http://jimey.com/2010/03/30/the-garden-of-eden-subtitle-blog-station-uses-the-approach.html" title="伊甸园字幕博客站利用办法">伊甸园字幕博客站利用办法</a> (2)</li><li>2010-03-24 -- <a href="http://jimey.com/2010/03/24/twittersleepingtime.html" title="TwitterSleepingtime">TwitterSleepingtime</a> (0)</li><li>2009-12-26 -- <a href="http://jimey.com/2009/12/26/nateu002639s-twitter-business-model.html" title="NATE的twitter商业模式">NATE的twitter商业模式</a> (0)</li><li>2009-12-25 -- <a href="http://jimey.com/2009/12/25/twitter-search-result-u0026gt-language-filter.html" title="twitter search result -&gt; language filter">twitter search result -&gt; language filter</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/10/31/to-continue-to-micro-blog-to-continue-to-sync-messages.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ubuntu 8.04版本编译rtorrent 0.85篇</title>
		<link>http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html</link>
		<comments>http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html#comments</comments>
		<pubDate>Wed, 28 Oct 2009 07:53:07 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[P2P]]></category>
		<category><![CDATA[Compiler]]></category>
		<category><![CDATA[rTorrent]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 8.04]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/10/28/ubuntu-8-04%e7%89%88%e6%9c%ac%e7%bc%96%e8%af%91rtorrent-0-85%e7%af%87.html</guid>
		<description><![CDATA[开头篇     wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.5.tar.gz    wegt http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.5.tar.gz    tar zxvf libtorrent-0.12.5.tar.gz    tar zxvf rtorrent-0.8.5.tar.gz    svn co https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable/ xmlrpc..... ]]></description>
			<content:encoded><![CDATA[<p>开头篇</p>
<blockquote><p>wget <a title="http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.5.tar.gz" href="http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.5.tar.gz">http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.5.tar.gz</a></p>
<p>wegt <a title="http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.5.tar.gz" href="http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.5.tar.gz">http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.5.tar.gz</a></p>
<p>tar zxvf libtorrent-0.12.5.tar.gz</p>
<p>tar zxvf rtorrent-0.8.5.tar.gz</p>
<p>svn co <a title="https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable/" href="https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable/">https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable/</a> xmlrpc-c</p>
</blockquote>
<blockquote><p>cd xmlrpc-c      <br />./configure &#8211;disable-cplusplus       <br />make       <br />sudo make install</p>
</blockquote>
<p>&#160;</p>
<blockquote><p>cd ..      <br />cd libtorrent-0.12.5/       <br />rm -f scripts/{libtool,lt*}.m4       <br />./autogen.sh       <br />./configure       <br />make       <br />sudo make install       <br />cd ..</p>
</blockquote>
<blockquote><p>cd rtorrent-0.8.5/      <br />rm -f scripts/{libtool,lt*}.m4       <br />./autogen.sh       <br />./configure &#8211;with-xmlrpc-c       <br />after that <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> make sure you see &quot;checking for XMLRPC&#8230;. OK&quot; near the end of the outputted text**       <br />make       <br />sudo make install       <br />cd ..</p>
</blockquote>
<p>以上2步骤中rm -f scripts/{libtool,lt*}.m4 是因为 libtool的问题 具体可以看 <a title="http://libtorrent.rakshasa.no/ticket/1852" href="http://libtorrent.rakshasa.no/ticket/1852">http://libtorrent.rakshasa.no/ticket/1852</a></p>
<blockquote><pre>/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include     -I/usr/local/include     -o rtorrent command_download.o command_dynamic.o command_events.o command_file.o command_helpers.o command_local.o command_network.o command_object.o command_peer.o command_tracker.o command_scheduler.o command_ui.o control.o globals.o main.o option_parser.o signal_handler.o ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncurses  -lsigc-2.0   -lcurl   -L/usr/local/lib -ltorrent
../libtool: line 841: X--tag=CXX: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 874: libtool: ignoring unknown tag : <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 841: X--mode=link: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 1008: *** Warning: inferring the mode of operation is deprecated.: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 1009: *** Future versions of Libtool will require --mode=MODE be specified.: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
gcc: no input files
gcc: no input files
gcc: no input files
gcc: no input files
../libtool: line 2253: X-g: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 2253: X-O2: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 2253: X-g: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 2253: X-DDEBUG: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 2253: X-I/usr/include/sigc++-2.0: No such file or directory
../libtool: line 2253: X-I/usr/lib/sigc++-2.0/include: No such file or directory
../libtool: line 2253: X-I/usr/local/include: No such file or directory
../libtool: line 1967: X-L/usr/local/lib: No such file or directory
../libtool: line 2422: Xrtorrent: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 2427: X: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 2434: Xrtorrent: <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> not found
../libtool: line 2442: mkdir /.libs: No such file or directory</pre>
</blockquote>
<pre>如果不这么搞，会出现变异错误，这个错误郁闷了我很久 –_-!!</pre>
<pre>之后就完全没问题了。。</pre>
<pre>编译运行很正常</pre>
<pre>在用screen 运行很流畅 –_-!!</pre>
<pre>reference: [<a href="http://www.torrent-invites.com/tutorials/23981-ubuntu-rtorrent-wtorrent-rutorrent-tutorial.html" target="_blank">via</a>]</pre>
<pre>另外还有一个脚步一步实现版本： <a title="http://ubuntuforums.org/showthread.php?t=1064377" href="http://ubuntuforums.org/showthread.php?t=1064377">http://ubuntuforums.org/showthread.php?t=1064377</a>  <strong>wTorrent + rTtorrent installation script: Installing wTorrent on Ubuntu in 3 steps</strong></pre>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html" title="Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex">Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html" title="perl的CPAN权限问题">perl的CPAN权限问题</a> (0)</li><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html" title="Disabling Your PC Speaker in Ubuntu">Disabling Your PC Speaker in Ubuntu</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-10-08 -- <a href="http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html" title="Ubuntu系统下格式化windows 分区">Ubuntu系统下格式化windows 分区</a> (0)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html" title="Ubuntu Ubuntu 8.04 LTS 配置笔记">Ubuntu Ubuntu 8.04 LTS 配置笔记</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/install-and-configuration-vsftpd-ftp-service-on-ubuntu-linux.html" title="install and configuration vsftpd ftp service on Ubuntu Linux">install and configuration vsftpd ftp service on Ubuntu Linux</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/in-the-ubuntu-install-configure-subversion-aapache.html" title="在Ubuntu上安装配置Subversion + Aapache">在Ubuntu上安装配置Subversion + Aapache</a> (0)</li><li>2009-02-26 -- <a href="http://jimey.com/2009/02/26/rtorrent-nix.html" title="rTorrent (*nix)">rTorrent (*nix)</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse+Hadoop 全linux环境开发</title>
		<link>http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html</link>
		<comments>http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html#comments</comments>
		<pubDate>Fri, 09 Oct 2009 09:42:58 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[eclipse-plugin]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hadoop-0.20.1-eclipse-plugin.jar]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/10/09/eclipsehadoop-%e5%85%a8linux%e7%8e%af%e5%a2%83%e5%bc%80%e5%8f%91.html</guid>
		<description><![CDATA[http://trac.nchc.org.tw/cloud/wiki/waue/2009/0617  这篇文章已经叙述的很不错了  采用eclipse3.3 暂时是不会有任何问题，执行run as hadoop 那个wordcount会有错误提示     09/10/09 17:17:25 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. I..... ]]></description>
			<content:encoded><![CDATA[<p><a title="http://trac.nchc.org.tw/cloud/wiki/waue/2009/0617" href="http://trac.nchc.org.tw/cloud/wiki/waue/2009/0617">http://trac.nchc.org.tw/cloud/wiki/waue/2009/0617</a></p>
<p>这篇文章已经叙述的很不错了</p>
<p>采用eclipse3.3 暂时是不会有任何问题，执行run as hadoop 那个wordcount会有错误提示</p>
<p><a href="http://jimey.com/blog/wp-content/uploads/2009/10/hadoop.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="hadoop" src="http://jimey.com/blog/wp-content/uploads/2009/10/hadoop_thumb.jpg" border="0" alt="hadoop" width="622" height="484" /></a></p>
<p>09/10/09 17:17:25 WARN conf.Configuration: DEPRECATED: hadoop-site.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a> found in the classpath. Usage of hadoop-site.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a> is deprecated. Instead use core-site.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>, mapred-site.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a> and <a href="http://jimey.com/tag/hdfs" class="st_tag internal_tag" rel="tag" title="Posts tagged with hdfs">hdfs</a>-site.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a> to override</p>
<p>properties of core-default.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>, mapred-default.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a> and <a href="http://jimey.com/tag/hdfs" class="st_tag internal_tag" rel="tag" title="Posts tagged with hdfs">hdfs</a>-default.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a> respectively<br />
Usage: wordcount &lt;in&gt; &lt;out&gt;</p>
<p>代码问题，可以暂时不用管</p>
<p>另外文章中给出的</p>
<blockquote>
<pre>JarFile="sample-0.1.jar"
MainFunc="Sample.WordCount"
LocalOutDir="/tmp/output"

all:help
jar:
  jar -cvf ${JarFile} -C bin/ .

run:
  hadoop jar ${JarFile} ${MainFunc} input output

clean:
  hadoop fs -rmr output

output:
  rm -rf ${LocalOutDir}
  hadoop fs -get output ${LocalOutDir}
  gedit ${LocalOutDir}/part-r-00000 &amp; 

help:
  @echo "Usage:"
  @echo " make jar     - Build Jar File."
  @echo " make clean   - Clean up Output directory on <a href="http://jimey.com/tag/hdfs" class="st_tag internal_tag" rel="tag" title="Posts tagged with hdfs">HDFS</a>."
  @echo " make run     - Run your MapReduce code on Hadoop."
  @echo " make output  - Download and show output file"
  @echo " make help    - Show Makefile options."
  @echo " "
  @echo "Example:"
  @echo " make jar; make run; make output; make clean"</pre>
</blockquote>
<pre>这个makefile很不错，复制的时候注意使用tab</pre>
<pre>然后运行编译在eclipse3.3和3.4版本都很正常</pre>
<pre>目前有几个问题就是eclipse3.4版用hadoop-0.20.0-eclipse-plugin.jar 我这边出错，读不到这个插件，
用hadoop-0.19.2-eclipse-plugin.jar的时候连接不到本地的hadoop服务</pre>
<pre>还好用我最新编译的<a href="http://jimey.com/tag/hadoop-0-20-1-eclipse-plugin-jar" class="st_tag internal_tag" rel="tag" title="Posts tagged with hadoop-0.20.1-eclipse-plugin.jar">hadoop-0.20.1-eclipse-plugin.jar</a> 可以正常使用，不过蛮搞笑的是用了这个，
在perspective添加了MapReduce的时候那个Map/Reduce Locations不会显示出来，要手动添加，
我不知道是我个人问题，还是普遍情况</pre>
<pre><a href="http://jimey.com/blog/wp-content/uploads/2009/10/hadoop2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="hadoop2" src="http://jimey.com/blog/wp-content/uploads/2009/10/hadoop2_thumb.jpg" border="0" alt="hadoop2" width="622" height="484" /></a></pre>
<pre>目前都可以连接到我的hadoop服务上，可以在eclipse里面查看上传文件</pre>
<pre>eclipse3.3版本我是用0.20.0的eclipse-plugin</pre>
<pre>eclipse3.4版本我是用我自己编译的0.20.1的plugin  下载<a href="http://code.google.com/p/hadoop-eclipse-plugin/downloads/list">hadoop-0.20.1-eclipse-plugin.jar</a></pre>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2010-05-06 -- <a href="http://jimey.com/2010/05/06/ubuntu10-04-compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-3-dev-eclipse-plugin-jar-download.html" title="Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar">Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-1-eclipse-plugin-jar-download.html" title="编译hadoop-${version}-eclipse-plugin.jar and hadoop-0.20.1-eclipse-plugin.jar download">编译hadoop-${version}-eclipse-plugin.jar and hadoop-0.20.1-eclipse-plugin.jar download</a> (3)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/midnight.html" title="半夜">半夜</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/eclipse-based-application-development-environment-configuration-of-hadoop.html" title="基于Eclipse的Hadoop应用开发环境的配置">基于Eclipse的Hadoop应用开发环境的配置</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2008-11-12 -- <a href="http://jimey.com/2008/11/12/sunday-the-day-to-do-the-wordcount-screenshots-mapreduce.html" title="周日那天做的mapreduce中的wordcount测试截图">周日那天做的mapreduce中的wordcount测试截图</a> (0)</li><li>2008-11-10 -- <a href="http://jimey.com/2008/11/10/cluster-configuration-with-hadoop-introduction.html" title="Hadoop用cluster配置简介">Hadoop用cluster配置简介</a> (1)</li><li>2008-11-10 -- <a href="http://jimey.com/2008/11/10/hadoop-cluster-to-do-with-the-composition-of-cluster-machines.html" title="用Hadoop做集群机器构成的cluster">用Hadoop做集群机器构成的cluster</a> (0)</li><li>2008-10-31 -- <a href="http://jimey.com/2008/10/31/then-boil-for-one-night-the-outcome-is-still-a-significant-drop.html" title="又熬一晚，成果还是显著滴">又熬一晚，成果还是显著滴</a> (0)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2010-04-27 -- <a href="http://jimey.com/2010/04/27/the-linux-command-line-a-good-book-describes-linux-command-line.html" title="The Linux Command Line: 一本介绍 Linux 命令行的好书">The Linux Command Line: 一本介绍 Linux 命令行的好书</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>编译hadoop-${version}-eclipse-plugin.jar and hadoop-0.20.1-eclipse-plugin.jar download</title>
		<link>http://jimey.com/2009/10/09/compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-1-eclipse-plugin-jar-download.html</link>
		<comments>http://jimey.com/2009/10/09/compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-1-eclipse-plugin-jar-download.html#comments</comments>
		<pubDate>Fri, 09 Oct 2009 07:00:23 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[build.xml]]></category>
		<category><![CDATA[eclipse-plugin]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Code]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hadoop-0.20.0]]></category>
		<category><![CDATA[hadoop-0.20.1]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/10/09/%e7%bc%96%e8%af%91hadoop-version-eclipse-plugin-jar.html</guid>
		<description><![CDATA[hadoop最新的0.20.1包里面已经没带eclipse的plugin了  之前用0.20.0的pluggin偶尔会出问题  所以想自编译之  从http://wiki.apache.org/hadoop/EclipsePlugIn  查阅  To build the Eclipse plug-in, you need the Hadoop source files and a working Eclipse environment (version 3.3+). When compiling Hadoop, the Eclip..... ]]></description>
			<content:encoded><![CDATA[<p>hadoop最新的0.20.1包里面已经没带eclipse的plugin了</p>
<p>之前用0.20.0的pluggin偶尔会出问题</p>
<p>所以想自编译之</p>
<p>从<a title="http://wiki.apache.org/hadoop/EclipsePlugIn" href="http://wiki.apache.org/hadoop/EclipsePlugIn">http://wiki.apache.org/hadoop/EclipsePlugIn</a></p>
<p>查阅</p>
<p>To build the Eclipse plug-in, you need the Hadoop source files and a working Eclipse environment (version 3.3+). When compiling Hadoop, the Eclipse plug-in will be built if it founds the Eclipse environment path in the ant property &quot;eclipse.home&quot;. The build framework looks for this property in ${hadoop-src-root}/src/contrib/eclipse-plugin/build.properties and in $HOME/eclipse-plugin.build.properties. </p>
<p>A typical $HOME/eclipse-plugin.build.properties file would contain the following entry: eclipse.home=/path/to/eclipse </p>
<p>Then the plug-in should be built when compiling Hadoop: ant clean package (from the ${hadoop-src-root} directory), which will produce {hadoop-src-root}/build/contrib/eclipse-plugin/hadoop-${version}-eclipse-plugin.jar </p>
<p>To install the generated plug-in in your Eclipse environment, remove first all previous versions of the plug-in from your Eclipse environment and copy the hadoop-${version}-eclipse-plugin.jar file generated as described above in your ${eclipse.home}/plugins/ directory. When you restart Eclipse, the Map/Reduce perspective should be available. </p>
<p>得知 只需要在 eclipse-plugin.build.properties 添加eclipse的路径 即可，没找到这个eclipse-plugin.build.properties 只找到了build.properties 添加了eclipse的安装路径</p>
<p>然后在hadoop的根目录 ant clean package 生成 (需要loading一些classpath) 难道不能单独ant?? 在eclipse-plus下也有build.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>&#160; 用ant compile之&#160; 会出现classpath错误生成60多个错误…</p>
<p>所以目前比较奇怪..</p>
<p>&#160;</p>
<p>update:</p>
<p>换了个思路,不跟着那个网站的走 不用那个ant clean package的命令</p>
<p>先在hadoop根目录下ant compile </p>
<p>再到src/contrib/eclipse-plugin/下</p>
<p>ant compile然后ant jar</p>
<p>这个时候会提示</p>
<p>BUILD FAILED    <br />/home/hadoop/hadoop-0.20.1/src/contrib/eclipse-plugin/build.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>:69: Warning: Could not find file /home/hadoop/hadoop-0.20.1/build/hadoop-${version}-core.jar to copy.</p>
<p>再去src/contrib/ 编辑build-contrib.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>&#160;&#160; 添加 </p>
<p>&lt;property name=&quot;version&quot; value=&quot;0.20.1&quot;/&gt; </p>
<p>然后保存后</p>
<p>修改之前我习惯性的把hadoop-${version}目录改为hadoop再改回原来的，即/home/hadoop/hadoop/ 改为/home/hadoop/hadoop-0.20.1/</p>
<p>复制hadoop根目录下的hadoop-0.20.1-core.jar 到build/下</p>
<p>然后再去src/contrib/eclipse-plugin/下&#160; ant jar 即可/home/hadoop/hadoop-0.20.1/build/contrib/eclipse-plugin/<a href="http://jimey.com/tag/hadoop-0-20-1-eclipse-plugin-jar" class="st_tag internal_tag" rel="tag" title="Posts tagged with hadoop-0.20.1-eclipse-plugin.jar">hadoop-0.20.1-eclipse-plugin.jar</a> 生成</p>
<p>下载<a href="http://code.google.com/p/hadoop-eclipse-plugin/downloads/list" target="_blank">hadoop-0.20.1-eclipse-plugin.jar</a></p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2010-05-06 -- <a href="http://jimey.com/2010/05/06/ubuntu10-04-compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-3-dev-eclipse-plugin-jar-download.html" title="Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar">Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-05-01 -- <a href="http://jimey.com/2009/05/01/hadoop-0-20-0.html" title="hadoop-0.20.0">hadoop-0.20.0</a> (0)</li><li>2010-04-22 -- <a href="http://jimey.com/2010/04/22/several-articles-on-twitter-hadoop-cassandra-pig-flockdbu002639s-slide.html" title="几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide">几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide</a> (0)</li><li>2009-12-18 -- <a href="http://jimey.com/2009/12/18/feedburner-to-be-more-social.html" title="feedburner &#8211; To be more social">feedburner &#8211; To be more social</a> (0)</li><li>2009-12-02 -- <a href="http://jimey.com/2009/12/02/karmasphere-studio-for-hadoop.html" title="Karmasphere Studio for Hadoop">Karmasphere Studio for Hadoop</a> (0)</li><li>2009-10-23 -- <a href="http://jimey.com/2009/10/23/read-the-paper-scaling-online-social-networks-without-pains.html" title="阅读paper:Scaling Online Social Networks without Pains">阅读paper:Scaling Online Social Networks without Pains</a> (0)</li><li>2009-10-06 -- <a href="http://jimey.com/2009/10/06/try-google-wave.html" title="Google Wave试用">Google Wave试用</a> (11)</li><li>2009-04-28 -- <a href="http://jimey.com/2009/04/28/hadoop-mysql-combination-of.html" title="Hadoop+MySQL结合">Hadoop+MySQL结合</a> (0)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/get-rid-of-live-mail-for-gmail-offline.html" title="干掉live mail换gmail offline">干掉live mail换gmail offline</a> (4)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/midnight.html" title="半夜">半夜</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/eclipse-based-application-development-environment-configuration-of-hadoop.html" title="基于Eclipse的Hadoop应用开发环境的配置">基于Eclipse的Hadoop应用开发环境的配置</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/how-to-use-google-appengine-free-space-to-do.html" title="如何利用GOOGLE APPENGINE来做免费空间">如何利用GOOGLE APPENGINE来做免费空间</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/10/09/compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-1-eclipse-plugin-jar-download.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu系统下格式化windows 分区</title>
		<link>http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html</link>
		<comments>http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html#comments</comments>
		<pubDate>Wed, 07 Oct 2009 21:11:13 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[fstab]]></category>
		<category><![CDATA[gparted]]></category>
		<category><![CDATA[mkfs]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[sdb]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[umount]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/10/08/ubuntu%e7%b3%bb%e7%bb%9f%e4%b8%8b%e6%a0%bc%e5%bc%8f%e5%8c%96windows-%e5%88%86%e5%8c%ba.html</guid>
		<description><![CDATA[ubuntu系统默认是不加载的  所以不用umount设备之后再格式化  首先可以查看设备  sudo fdisk –l  然后用命令  硬盘格式化   #危险！将第二个硬盘的第一个分区格式化为 ext3 分区, mkfs.reiserfs mkfs.xfs mkfs.vfat
sudo mkfs.ext3 /dev/sdb1

然后用mount加载即可

不过我发现格式了好几次那个NTFS分区还在，重启也没用，..... ]]></description>
			<content:encoded><![CDATA[<p>ubuntu系统默认是不加载的</p>
<p>所以不用umount设备之后再格式化</p>
<p>首先可以查看设备</p>
<p>sudo <a href="http://jimey.com/tag/fdisk" class="st_tag internal_tag" rel="tag" title="Posts tagged with fdisk">fdisk</a> –l</p>
<p>然后用命令</p>
<h5>硬盘格式化 </h5>
<pre>#危险！将第二个硬盘的第一个分区格式化为 ext3 分区, mkfs.reiserfs mkfs.xfs mkfs.vfat
sudo mkfs.ext3 /dev/sdb1</pre>
<pre>然后用mount加载即可</pre>
<pre>不过我发现格式了好几次那个NTFS分区还在，重启也没用，依然无法格式化</pre>
<pre>后来找到硬盘管理图形软件gparted</pre>
<pre>用命令安装即可</pre>
<pre>sudo apt-get install gparted</pre>
<pre>然后在本地的terminal里面输入 sudo gparted即可开启</pre>
<pre>之后就类似pq 一样的硬盘分区管理了</pre>
<pre>分区格式化即可</pre>
<pre>然后修改/etc/<a href="http://jimey.com/tag/fstab" class="st_tag internal_tag" rel="tag" title="Posts tagged with fstab">fstab</a>文件</pre>
<pre>/dev/sdb1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /mnt/hd&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ext3&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; defaults&#160;&#160; </pre>
<pre>这样每次开机都自动加载硬盘到/mnt/hd下了</pre>
<pre>然后再修改权限</pre>
<pre>sudo chmod -R 777 /mnt/hd 即可</pre>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2008-10-31 -- <a href="http://jimey.com/2008/10/31/how-to-clone-your-bootable-ubuntu-install-to-another-drive.html" title="How to clone your bootable Ubuntu install to another drive">How to clone your bootable Ubuntu install to another drive</a> (0)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2009-10-28 -- <a href="http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html" title="ubuntu 8.04版本编译rtorrent 0.85篇">ubuntu 8.04版本编译rtorrent 0.85篇</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html" title="Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex">Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html" title="perl的CPAN权限问题">perl的CPAN权限问题</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html" title="Ubuntu Ubuntu 8.04 LTS 配置笔记">Ubuntu Ubuntu 8.04 LTS 配置笔记</a> (0)</li><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html" title="Disabling Your PC Speaker in Ubuntu">Disabling Your PC Speaker in Ubuntu</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/install-and-configuration-vsftpd-ftp-service-on-ubuntu-linux.html" title="install and configuration vsftpd ftp service on Ubuntu Linux">install and configuration vsftpd ftp service on Ubuntu Linux</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/in-the-ubuntu-install-configure-subversion-aapache.html" title="在Ubuntu上安装配置Subversion + Aapache">在Ubuntu上安装配置Subversion + Aapache</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html" title="How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04">How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WinSSHD使用配置即win系统下SSH服务器软件对比</title>
		<link>http://jimey.com/2009/09/22/winsshd-using-the-configuration-that-win-under-the-ssh-server-software-system-comparison.html</link>
		<comments>http://jimey.com/2009/09/22/winsshd-using-the-configuration-that-win-under-the-ssh-server-software-system-comparison.html#comments</comments>
		<pubDate>Tue, 22 Sep 2009 09:38:38 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[Control Panel]]></category>
		<category><![CDATA[Copssh]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Vshell]]></category>
		<category><![CDATA[WinSSHD]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/09/22/winsshd%e4%bd%bf%e7%94%a8%e9%85%8d%e7%bd%ae%e5%8d%b3win%e7%b3%bb%e7%bb%9f%e4%b8%8bssh%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bd%af%e4%bb%b6%e5%af%b9%e6%af%94.html</guid>
		<description><![CDATA[想做ssh的服务器，但是由于俺的*unix有其他用处，所以暂时找了一台win来做  先是用了Copssh 界面很简洁，但是管理上不是很方便，尤其是多用户多账号的情况下要在windows开启n个用户，监控上也不是很便捷  后来改vshell，看起来操作很复杂，具体没仔细研究，然后直接跳去用WinSSHD   WinSSHD目前有4/5 版本，4版本界面也不是..... ]]></description>
			<content:encoded><![CDATA[<p>想做<a href="http://jimey.com/tag/ssh" class="st_tag internal_tag" rel="tag" title="Posts tagged with ssh">ssh</a>的服务器，但是由于俺的*unix有其他用处，所以暂时找了一台win来做</p>
<p>先是用了Copssh 界面很简洁，但是管理上不是很方便，尤其是多用户多账号的情况下要在windows开启n个用户，监控上也不是很便捷</p>
<p>后来改vshell，看起来操作很复杂，具体没仔细研究，然后直接跳去用WinSSHD </p>
<p>WinSSHD目前有4/5 版本，4版本界面也不是非常的友好</p>
<p>而5个人版在限制了一些使用量，比如开虚拟用户数10个以内，还有几个功能之外，并无任何限制</p>
<p>先是安装了试用版，功能完全版，在研究了一段之后，终于明白4那些功能究竟是怎么用了的，因为5有个实时的event提示功能，如果哪里出错可以明白</p>
<p>最终试用之后</p>
<p>决定采用5的个人版本</p>
<p>1.在win那边开一个账号</p>
<p>2.打开WinSSHD <a href="http://jimey.com/tag/control-panel" class="st_tag internal_tag" rel="tag" title="Posts tagged with Control Panel">Control Panel</a>最下面的Password Cache 把win的那个新建账号和密码输入</p>
<p>这步的主要目的是后面的虚拟用户建立的时候都是通过这个真实用户来登陆验证访问的</p>
<p>3.进入Edit setting</p>
<p>window group&#160; windows accouts&#160; 一步一步按自己需求设置</p>
<p>virtual group 也是一样一步一步设置即可</p>
<p>virtual accouts 这边基本设置都跟virtual group 账号和密码自己设置即可</p>
<p>以上……</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-07-13 -- <a href="http://jimey.com/2009/07/13/south-korea-to-see-youkuu002639s-ssh-proxy-ip-address.html" title="韩国ip看youku之ssh代理解决">韩国ip看youku之ssh代理解决</a> (0)</li><li>2008-11-10 -- <a href="http://jimey.com/2008/11/10/hadoop-cluster-to-do-with-the-composition-of-cluster-machines.html" title="用Hadoop做集群机器构成的cluster">用Hadoop做集群机器构成的cluster</a> (0)</li><li>2008-10-31 -- <a href="http://jimey.com/2008/10/31/then-boil-for-one-night-the-outcome-is-still-a-significant-drop.html" title="又熬一晚，成果还是显著滴">又熬一晚，成果还是显著滴</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/09/22/winsshd-using-the-configuration-that-win-under-the-ssh-server-software-system-comparison.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install torrentflux-b4rt on Ubuntu</title>
		<link>http://jimey.com/2009/05/16/install-torrentflux-b4rt-on-ubuntu.html</link>
		<comments>http://jimey.com/2009/05/16/install-torrentflux-b4rt-on-ubuntu.html#comments</comments>
		<pubDate>Sat, 16 May 2009 06:29:47 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[seedbox]]></category>
		<category><![CDATA[torrentflux]]></category>
		<category><![CDATA[torrentflux-b4rt]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/05/16/install-torrentflux-b4rt-on-ubuntu.html</guid>
		<description><![CDATA[[via]  安裝 unrar     unrar 2.71 下載網頁    tar zxf unrar-2.71.tar.gz      cd unrar-2.71       make       cp unrar /usr/local/bin   安裝 Check SFV (cksfv)     cksfv 下載網頁    tar jxf cksfv-1.3.12.tar.bz2      cd cksfv-1.3.12       ./configure       make &#38;&#38; make install   安裝 UUDeview    ..... ]]></description>
			<content:encoded><![CDATA[<p>[<a href="http://cha.homeip.net/blog/archives/2007/10/web_bt_client_t.html" target="_blank">via</a>]</p>
<p>安裝 unrar</p>
<blockquote><p><a href="http://www.tucows.com/preview/8753">unrar 2.71 下載網頁</a></p>
<p>tar zxf unrar-2.71.tar.gz      <br />cd unrar-2.71       <br />make       <br />cp unrar /usr/local/bin</p>
</blockquote>
<p>安裝 Check SFV (cksfv)</p>
<blockquote><p><a href="http://zakalwe.fi/%7Eshd/foss/cksfv/">cksfv 下載網頁</a></p>
<p>tar jxf cksfv-1.3.12.tar.bz2      <br />cd cksfv-1.3.12       <br />./configure       <br />make &amp;&amp; make install</p>
</blockquote>
<p>安裝 UUDeview</p>
<blockquote><p><a href="http://fpx.de/fp/Software/UUDeview/">UUDeview 下載網頁</a></p>
<p>tar zxf uudeview-0.5.20.tar.gz      <br />cd uudeview-0.5.20       <br />./configure       <br />make &amp;&amp; make install</p>
</blockquote>
<p>安裝 Perl Modules</p>
<blockquote><p><a href="http://jimey.com/tag/cpan" class="st_tag internal_tag" rel="tag" title="Posts tagged with CPAN">cpan</a></p>
<p><a href="http://jimey.com/tag/cpan" class="st_tag internal_tag" rel="tag" title="Posts tagged with CPAN">cpan</a>&gt; install Time::HiRes      <br /><a href="http://jimey.com/tag/cpan" class="st_tag internal_tag" rel="tag" title="Posts tagged with CPAN">cpan</a>&gt; install <a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">XML</a>::Simple       <br /><a href="http://jimey.com/tag/cpan" class="st_tag internal_tag" rel="tag" title="Posts tagged with CPAN">cpan</a>&gt; install <a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">XML</a>::DOM       <br /><a href="http://jimey.com/tag/cpan" class="st_tag internal_tag" rel="tag" title="Posts tagged with CPAN">cpan</a>&gt; install Digest::SHA1</p>
</blockquote>
<p>安裝 torrentflux-b4rt</p>
<p>[<a href="http://server-servers.com/install-torrentflux-b4rt-on-ubuntu/" target="_blank">via</a>]</p>
<p>用phpmyadmin新建用户的时候 记得选择localhost</p>
<p>然后torrentflux web配置的时候也要选择localhost</p>
<p>有一个权限的问题</p>
<p>chown -R www-data:www-data ftp</p>
<p>否则 web页面的wget和rss torrent 还有上传文件都无效</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/life-hanging-net.html" title="挂网人生">挂网人生</a> (2)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/install-and-configuration-vsftpd-ftp-service-on-ubuntu-linux.html" title="install and configuration vsftpd ftp service on Ubuntu Linux">install and configuration vsftpd ftp service on Ubuntu Linux</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/05/16/install-torrentflux-b4rt-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>散布twitter到其他微博客的python脚步及其他</title>
		<link>http://jimey.com/2009/04/06/twitter-micro-blog-to-spread-to-other-steps-of-the-python-and-other.html</link>
		<comments>http://jimey.com/2009/04/06/twitter-micro-blog-to-spread-to-other-steps-of-the-python-and-other.html#comments</comments>
		<pubDate>Mon, 06 Apr 2009 08:37:30 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[ANSCII]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[Ping.fm]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Python2.6]]></category>
		<category><![CDATA[simplejson]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Unicode]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[同步]]></category>
		<category><![CDATA[微博客]]></category>
		<category><![CDATA[饭否]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/04/06/%e6%95%a3%e5%b8%83twitter%e5%88%b0%e5%85%b6%e4%bb%96%e5%be%ae%e5%8d%9a%e5%ae%a2%e7%9a%84python%e8%84%9a%e6%ad%a5%e5%8f%8a%e5%85%b6%e4%bb%96.html</guid>
		<description><![CDATA[学了一周的python 写了这些应用，得到了几位大牛的帮助，在此不提名感谢啦~   实现效果:    一.以twitter为中心散布出去     二.必须要有ssh     三.读取twitter的xml然后散布     四.目前可以散布到饭否,ping.fm     五.可以借鉴ping.fm散布到豆瓣广播     六.可以把饭否有人@你id 发消息提示回twitter   现在twitter已经成..... ]]></description>
			<content:encoded><![CDATA[<p>学了一周的python 写了这些应用，得到了几位大牛的帮助，在此不提名感谢啦~ </p>
<p>实现效果:    <br />一.以twitter为中心散布出去     <br />二.必须要有<a href="http://jimey.com/tag/ssh" class="st_tag internal_tag" rel="tag" title="Posts tagged with ssh">ssh</a>     <br />三.读取twitter的<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>然后散布     <br />四.目前可以散布到饭否,ping.fm     <br />五.可以借鉴ping.fm散布到豆瓣广播     <br />六.可以把饭否有人@你id 发消息提示回twitter </p>
<p>现在twitter已经成为主力 IM + 提醒 + 应用 了，只开twitter的客户端即可，以twitter为中心散布出去，有实时提醒功能，比如大家可以利用twitterfeed.com之类的来做一个rss的订阅提醒，或者自己写一个python的自动订阅更新提醒 </p>
<p>待考虑功能：既然有bot就可以做出来一些bot功能    <br /><a href="http://twitter.pbwiki.com/Bots">http://twitter.pbwiki.com/Bots</a>     <br />这有一些bot应用 </p>
<p>前期准备   <br />1.发twitter消息到ping.fm,需要 http://code.google.com/p/pyngfm/    <br />2.需要<a href="http://jimey.com/tag/python26" class="st_tag internal_tag" rel="tag" title="Posts tagged with Python2.6">python2.6</a>以上版本 因为五 中 那个format代码实现的问题 lol 俺实在没啥好办法鸟</p>
<p>二.必须要有<a href="http://jimey.com/tag/ssh" class="st_tag internal_tag" rel="tag" title="Posts tagged with ssh">ssh</a>    <br />主要是用crontab的每隔多久执行一次程序的功能    <br />我是用2分钟一次的，至今还没被饭否和twitter封ip.    <br />解决办法：    <br />1.自己有机器挂着最好    <br />2.如果有dreamhost账户的话，可以用dreamhost的<a href="http://jimey.com/tag/ssh" class="st_tag internal_tag" rel="tag" title="Posts tagged with ssh">ssh</a>……不过小心被封……</p>
<p>四.发twitter消息到饭否的代码    <br />last.txt 需要手动建立，然后编辑添加某条消息的id值 这样以后更新只会更新至此，然后把最新的id写入last.txt</p>
<pre lang="python">#!/usr/bin/python
from <a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>.dom.minidom import parseString
import urllib2
import urllib
import sys
def post_to_fanfou(msg):
    url = 'http://<a href="http://jimey.com/tag/api" class="st_tag internal_tag" rel="tag" title="Posts tagged with API">api</a>.fanfou.com/statuses/update.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>'
    data = urllib.urlencode({'status':msg})
    req = urllib2.Request(url,data)
    username = 'jimey'
    password = 'password'
    passman = urllib2.HTTPPasswordMgrWithDefaultRealm()
    passman.add_password(None, url, username, password)
    authhandler = urllib2.HTTPBasicAuthHandler(passman)
    opener = urllib2.build_opener(authhandler)
    urllib2.install_opener(opener)
    response = urllib2.urlopen(req)
def main():
    f = open('last.txt','r')
    maxid = int(f.read())
    f.close()
    if maxid &lt; 1166717326:
        print 'error'
        sys.exit(-1)
    params = urllib.urlencode({'since_id':maxid})
    url = ";http://twitter.com/statuses/user_timeline/jimey.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>?%s";
    username = 'jimey'
    password = 'password'
    passman = urllib2.HTTPPasswordMgrWithDefaultRealm()
    passman.add_password(None, url, username, password)
    authhandler = urllib2.HTTPBasicAuthHandler(passman)
    opener = urllib2.build_opener(authhandler)
    urllib2.install_opener(opener)
    f = urllib2.urlopen(url % params)
    xmltext = f.read()
    dom = parseString(xmltext)
    statuses = dom.childNodes[0]
    messages = []
    s = 0
    for node in statuses.childNodes:
        if node.nodeName == 'status':
            status = node
            for snode in status.childNodes:
                if snode.nodeName == 'id':
                    n = int(snode.childNodes[0].nodeValue)
                    if n &gt; maxid:
                        maxid = n
                elif snode.nodeName == 'text' and snode.childNodes[0].nodeValue[0:2] != 'RT' and snode.childNodes[0].nodeValue[0] != '@':
                    messages.append(snode.childNodes[0].nodeValue.encode('utf-8'))
    while len(messages) &gt; 0:
        post_to_fanfou(messages.pop())
        s = s + 1
    f = open('last.txt','w')
    f.write(str(maxid))
    f.close()
if __name__ == ";__main__";:
    main() </pre>
<p>四.2 发twitter消息到饭否+ping.fm的代码<br />
  <br />需要在ping.fm申请2个<a href="http://jimey.com/tag/api" class="st_tag internal_tag" rel="tag" title="Posts tagged with API">API</a> KEY&#160; 分别是 </p>
<p>pfm.setApiKey(&#8216;************************&#8217;)&#160; = Application <a href="http://jimey.com/tag/api" class="st_tag internal_tag" rel="tag" title="Posts tagged with API">API</a> Key </p>
<p>pfm.setUserAppKey(&#8216;*********************************&#8217;) = own Ping.fm Application Key. </p>
<pre lang="python">
#!/usr/bin/python
from <a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>.dom.minidom import parseString
import urllib2
import urllib
import sys
from pyngfm import PyngFM 

def post_to_fanfou(msg):
    pfm = PyngFM() 

    pfm.setApiKey('************************')
    pfm.setUserAppKey('*********************************') 

    pfm.user_post('default','%s'%msg)
    url = 'http://<a href="http://jimey.com/tag/api" class="st_tag internal_tag" rel="tag" title="Posts tagged with API">api</a>.fanfou.com/statuses/update.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>'
    data = urllib.urlencode({'status':msg})
    req = urllib2.Request(url,data)
    username = 'jimey'
    password = 'password'
    passman = urllib2.HTTPPasswordMgrWithDefaultRealm()
    passman.add_password(None, url, username, password)
    authhandler = urllib2.HTTPBasicAuthHandler(passman)
    opener = urllib2.build_opener(authhandler)
    urllib2.install_opener(opener)
    response = urllib2.urlopen(req)
def main():
    f = open('last.txt','r')
    maxid = int(f.read())
    f.close()
    if maxid &lt; 1166717326:
        print 'error'
        sys.exit(-1)
    params = urllib.urlencode({'since_id':maxid})
    url = ";http://twitter.com/statuses/user_timeline/jimey.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>?%s";
    username = 'jimey'
    password = 'password'
    passman = urllib2.HTTPPasswordMgrWithDefaultRealm()
    passman.add_password(None, url, username, password)
    authhandler = urllib2.HTTPBasicAuthHandler(passman)
    opener = urllib2.build_opener(authhandler)
    urllib2.install_opener(opener)
    f = urllib2.urlopen(url % params)
    xmltext = f.read()
    dom = parseString(xmltext)
    statuses = dom.childNodes[0]
    messages = []
    s = 0
    for node in statuses.childNodes:
        if node.nodeName == 'status':
            status = node
            for snode in status.childNodes:
                if snode.nodeName == 'id':
                    n = int(snode.childNodes[0].nodeValue)
                    if n &gt; maxid:
                        maxid = n
                elif snode.nodeName == 'text' and snode.childNodes[0].nodeValue[0:2] != 'RT' and snode.childNodes[0].nodeValue[0] != '@':
                    messages.append(snode.childNodes[0].nodeValue.encode('utf-8'))
    while len(messages) &gt; 0:
        post_to_fanfou(messages.pop())
        s = s + 1
    f = open('last.txt','w')
    f.write(str(maxid))
    f.close()
if __name__ == ";__main__";:
    main() </pre>
<p>五 . 发ping.fm消息到豆瓣广播<br />
  <br /><a href="http://www.douban.com/group/topic/4604950/">http://www.douban.com/group/topic/4604950/</a></p>
<p>六.如果有人在饭否回复你，在twitter注册个马甲帐号然后把饭否回复人的id和饭否回复的内容一块发到twitter去，由于你真身帐号已经加了这个马甲帐号的好友，所以在那马甲帐号发消息的时候会有 @饭否id&#160; 如果你饭否id和twitter的id是一样的话，比如我用twhirl会有声音提示，如果含有@id 这样的消息出现的话 </p>
<pre lang="python">#!/usr/bin/<a href="http://jimey.com/tag/python26" class="st_tag internal_tag" rel="tag" title="Posts tagged with Python2.6">python2.6</a>
# -*- coding: utf-8 -*-
'''
Created on 2009-4-2
@author: jimey
'''
from <a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>.dom.minidom import parseString
import urllib2
import urllib
import sys
import twitter
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
def main():
    f = open('/home/jimey/fanfou/fanfoulast.txt','r')
    maxid = str(f.read())
    params = urllib.urlencode({'since_id':maxid})
    url = ";http://<a href="http://jimey.com/tag/api" class="st_tag internal_tag" rel="tag" title="Posts tagged with API">api</a>.fanfou.com/statuses/replies.<a href="http://jimey.com/tag/xml" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>?%s";
    username = 'jimey'
    password = 'password'
    passman = urllib2.HTTPPasswordMgrWithDefaultRealm()
    passman.add_password(None, url, username, password)
    authhandler = urllib2.HTTPBasicAuthHandler(passman)
    opener = urllib2.build_opener(authhandler)
    urllib2.install_opener(opener)
    f = urllib2.urlopen(url % params)
    xmltext = f.read()
    dom = parseString(xmltext)
    statuses = dom.childNodes[0]
    id = []
    messages = []
    name = []
    content = []
    for node in statuses.childNodes:
        if node.nodeName == 'status':
            status = node
            for snode in status.childNodes:
                if snode.nodeName == 'id':
                   id.append(snode.childNodes[0].nodeValue)
                elif snode.nodeName == 'text':
                    messages.append(snode.childNodes[0].nodeValue)
                elif snode.nodeName == 'user':
                   for unode in snode.childNodes:
                     if unode.nodeName == 'name':
                          name.append(unode.childNodes[0].nodeValue)
    for q, a in zip(name,messages):
      content.append('{0} says {1}'.format(q,a))
    while len(content) &gt; 0:
       <a href="http://jimey.com/tag/api" class="st_tag internal_tag" rel="tag" title="Posts tagged with API">api</a> = twitter.<a href="http://jimey.com/tag/api" class="st_tag internal_tag" rel="tag" title="Posts tagged with API">Api</a>(username='jimeybot', password='password')
       status = <a href="http://jimey.com/tag/api" class="st_tag internal_tag" rel="tag" title="Posts tagged with API">api</a>.PostUpdate(";%s"; %content.pop())
       f = open('fanfoulast.txt','w')
       print id
       maxid = id[0]
       f.write(str(maxid))
       f.close()
if __name__ == ";__main__";:
    main() </pre>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-04-02 -- <a href="http://jimey.com/2009/04/02/after-the-rice-has-reply-u0026gt-twitter-to-remind-the-script.html" title="饭否@回复后->Twitter提醒脚本">饭否@回复后->Twitter提醒脚本</a> (0)</li><li>2009-10-31 -- <a href="http://jimey.com/2009/10/31/to-continue-to-micro-blog-to-continue-to-sync-messages.html" title="继续微博客，继续同步消息">继续微博客，继续同步消息</a> (2)</li><li>2009-04-01 -- <a href="http://jimey.com/2009/04/01/twitter-protected-mode-to-open-the-message-authentication-twitter-messages-if-synchronization-rice.html" title="Twitter开启消息保护模式后认证Twitter消息同步饭否">Twitter开启消息保护模式后认证Twitter消息同步饭否</a> (0)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/sync-twitter-to-rice-has.html" title="同步twitter到饭否">同步twitter到饭否</a> (0)</li><li>2009-03-13 -- <a href="http://jimey.com/2009/03/13/twitter-significance-of-the-ecosystem-or.html" title="Twitter的生态系统or 意义">Twitter的生态系统or 意义</a> (4)</li><li>2010-05-05 -- <a href="http://jimey.com/2010/05/05/mocospace-architecture-3-billion-mobile-page-views-a-month.html" title="MocoSpace Architecture &#8211; 3 Billion Mobile Page Views a Month">MocoSpace Architecture &#8211; 3 Billion Mobile Page Views a Month</a> (0)</li><li>2010-04-22 -- <a href="http://jimey.com/2010/04/22/several-articles-on-twitter-hadoop-cassandra-pig-flockdbu002639s-slide.html" title="几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide">几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide</a> (0)</li><li>2010-04-03 -- <a href="http://jimey.com/2010/04/03/marketing-in-twitter.html" title="Marketing in Twitter">Marketing in Twitter</a> (0)</li><li>2010-04-01 -- <a href="http://jimey.com/2010/04/01/foolu002639s-day.html" title="愚人节">愚人节</a> (2)</li><li>2010-03-30 -- <a href="http://jimey.com/2010/03/30/the-garden-of-eden-subtitle-blog-station-uses-the-approach.html" title="伊甸园字幕博客站利用办法">伊甸园字幕博客站利用办法</a> (2)</li><li>2010-03-24 -- <a href="http://jimey.com/2010/03/24/twittersleepingtime.html" title="TwitterSleepingtime">TwitterSleepingtime</a> (0)</li><li>2009-12-26 -- <a href="http://jimey.com/2009/12/26/nateu002639s-twitter-business-model.html" title="NATE的twitter商业模式">NATE的twitter商业模式</a> (0)</li><li>2009-12-25 -- <a href="http://jimey.com/2009/12/25/twitter-search-result-u0026gt-language-filter.html" title="twitter search result -&gt; language filter">twitter search result -&gt; language filter</a> (0)</li><li>2009-12-18 -- <a href="http://jimey.com/2009/12/18/twitter-rss-reminder.html" title="twitter rss 提醒">twitter rss 提醒</a> (0)</li><li>2009-12-18 -- <a href="http://jimey.com/2009/12/18/feedburner-to-be-more-social.html" title="feedburner &#8211; To be more social">feedburner &#8211; To be more social</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/04/06/twitter-micro-blog-to-spread-to-other-steps-of-the-python-and-other.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing FreeNX in Ubuntu 8.04 Hardy &amp; 8.10 Intrepid &amp; 9.04 jaunty Ibex</title>
		<link>http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html</link>
		<comments>http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html#comments</comments>
		<pubDate>Thu, 26 Mar 2009 16:56:29 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[FreeNX]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[NxClient]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 8.04]]></category>
		<category><![CDATA[Ubuntu 8.10]]></category>
		<category><![CDATA[Ubuntu 9.04]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-804-hardy-810-intrepid-ibex.html</guid>
		<description><![CDATA[STEP #1 - Add the repository in the source file  - edit /etc/apt/sources.list :   sudo gedit /etc/apt/sources.list  - at the end of the file add those 5 lines  # Ubuntu FreeNX Repository for Hardy    deb http://www.datakeylive.com/ubuntu hardy main    deb-src http://www.datakeylive.com/ubuntu hardy ..... ]]></description>
			<content:encoded><![CDATA[<h4>STEP #1 &#8211; Add the repository in the source file</h4>
<p>- edit /etc/apt/sources.list :</p>
<p><em>sudo gedit /etc/apt/sources.list</em></p>
<p>- at the end of the file add those 5 lines</p>
<p><em># Ubuntu FreeNX Repository for Hardy</em><br />
<em>deb <a href="http://www.datakeylive.com/ubuntu">http://www.datakeylive.com/ubuntu</a> hardy main</em><br />
<em>deb-src <a href="http://www.datakeylive.com/ubuntu">http://www.datakeylive.com/ubuntu</a> hardy main</em><br />
<em>deb <a href="http://ppa.launchpad.net/marceloshima/ubuntu">http://ppa.launchpad.net/marceloshima/ubuntu</a> hardy main</em><br />
<em>deb-src <a href="http://ppa.launchpad.net/marceloshima/ubuntu">http://ppa.launchpad.net/marceloshima/ubuntu</a> hardy main</em><br />
<em>deb <a href="http://ppa.launchpad.net/freenx-team/ubuntu">http://ppa.launchpad.net/freenx-team/ubuntu</a> hardy main</em><br />
<em>deb-src <a href="http://ppa.launchpad.net/freenx-team/ubuntu">http://ppa.launchpad.net/freenx-team/ubuntu</a> hardy main</em></p>
<p><em># Ubuntu FreeNX Repository for </em><em>intrepid </em><br />
<em>deb <a href="http://ppa.launchpad.net/marceloshima/ubuntu">http://ppa.launchpad.net/marceloshima/ubuntu</a> intrepid main</em><br />
<em>deb-src <a href="http://ppa.launchpad.net/marceloshima/ubuntu">http://ppa.launchpad.net/marceloshima/ubuntu</a> intrepid main</em><br />
<em>deb <a href="http://ppa.launchpad.net/freenx-team/ubuntu">http://ppa.launchpad.net/freenx-team/ubuntu</a> intrepid main</em><br />
<em>deb-src <a href="http://ppa.launchpad.net/freenx-team/ubuntu">http://ppa.launchpad.net/freenx-team/ubuntu</a> intrepid main</em></p>
<p><em># Ubuntu FreeNX Repository for </em><em> jaunty</em></p>
<p><em>deb http://ppa.launchpad.net/marceloshima/ubuntu jaunty main<br />
deb-src http://ppa.launchpad.net/marceloshima/ubuntu jaunty main<br />
deb http://ppa.launchpad.net/freenx-team/ubuntu jaunty main<br />
deb-src http://ppa.launchpad.net/freenx-team/ubuntu jaunty main<br />
</em></p>
<p>- save and than run the <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a></p>
<p><em>sudo apt-get update &amp;&amp; sudo apt-get upgrade</em></p>
<h4>STEP #2 &#8211; Install the FreeNX packages on your <a href="http://jimey.com/tag/ubuntu-804" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu 8.04">Ubuntu 8.04</a> machine</h4>
<p><em>sudo apt-get install openssh-server tcl8.4 dbus-x11 libxcomp3 libxcompext3 nxlibs nxagent nxproxy  freenx-server expect</em></p>
<h4>STEP #3 &#8211; Install the NX Client for Windows</h4>
<p><a href="http://www.nomachine.com/download-client-windows.php">http://www.nomachine.com/download-client-windows.php</a><br />
Download and install the executable</p>
<p>- to start/stop the server:</p>
<p><em>sudo /etc/init.d/freenx-server -start or –stop</em></p>
<p>[<a href="http://www.drtek.ca/freenx-server-ubuntu-hardy" target="_blank">via</a>]</p>
<p>方法管用，在我的8.04版本上，顺利安装顺利连上</p>
<p>但是在8.10上，无法找到nxclient源，删掉这个nxclient安装的选择，也能安装</p>
<p>但是在windows那login的时候</p>
<p>8.10那台怎么都连不到。认证错误，应该是key的问题……</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-10-28 -- <a href="http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html" title="ubuntu 8.04版本编译rtorrent 0.85篇">ubuntu 8.04版本编译rtorrent 0.85篇</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html" title="perl的CPAN权限问题">perl的CPAN权限问题</a> (0)</li><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html" title="Disabling Your PC Speaker in Ubuntu">Disabling Your PC Speaker in Ubuntu</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-10-08 -- <a href="http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html" title="Ubuntu系统下格式化windows 分区">Ubuntu系统下格式化windows 分区</a> (0)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html" title="Ubuntu Ubuntu 8.04 LTS 配置笔记">Ubuntu Ubuntu 8.04 LTS 配置笔记</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/install-and-configuration-vsftpd-ftp-service-on-ubuntu-linux.html" title="install and configuration vsftpd ftp service on Ubuntu Linux">install and configuration vsftpd ftp service on Ubuntu Linux</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/in-the-ubuntu-install-configure-subversion-aapache.html" title="在Ubuntu上安装配置Subversion + Aapache">在Ubuntu上安装配置Subversion + Aapache</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html" title="How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04">How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>windows环境下eclipse调试远端ubuntu环境的hadoop</title>
		<link>http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html</link>
		<comments>http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html#comments</comments>
		<pubDate>Thu, 26 Mar 2009 12:32:21 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hadoop-0.19.1]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Ubuntu 8.04]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/26/windows%e7%8e%af%e5%a2%83%e4%b8%8beclipse%e8%b0%83%e8%af%95%e8%bf%9c%e7%ab%afubuntu%e7%8e%af%e5%a2%83%e7%9a%84hadoop.html</guid>
		<description><![CDATA[基本上这个link说的很明白  强烈推荐  在run dialog中设置输入参数 这项，我有点sb了  以为是真实环境目录，后来出错才发现应该是hdfs中的虚拟目录……  在run方法中加入下面2句    conf.set(&#34;hadoop.job.ugi&#34;, &#34;hadoop,hadoop&#34;); //设置hadoop server用户名和密码        conf.set(&#34;mapred.syste..... ]]></description>
			<content:encoded><![CDATA[<p>基本上这个<a href="http://www.beoop.com/?p=244" target="_blank">link</a>说的很明白</p>
<p>强烈推荐</p>
<p>在run dialog中设置输入参数 这项，我有点sb了</p>
<p>以为是真实环境目录，后来出错才发现应该是<a href="http://jimey.com/tag/hdfs" class="st_tag internal_tag" rel="tag" title="Posts tagged with hdfs">hdfs</a>中的虚拟目录……</p>
<p>在run方法中加入下面2句</p>
<div style="background: rgb(253,253,253); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"></div>
<div style="background-color: rgb(249,247,237); font-family: &quot;[object HTMLOptionElement]&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;" class="source">conf.<span style="color: rgb(255,0,0)">set</span>(<span style="color: rgb(0,0,255)">&quot;hadoop.job.ugi&quot;</span>, <span style="color: rgb(0,0,255)">&quot;hadoop,hadoop&quot;</span>); <span style="font-style: italic; color: rgb(0,136,0)">//设置hadoop server用户名和密码</span>    </p>
<p>conf.<span style="color: rgb(255,0,0)">set</span>(<span style="color: rgb(0,0,255)">&quot;mapred.system.dir&quot;</span>, <span style="color: rgb(0,0,255)">&quot;/home/hadoop/HadoopInstall/tmp/mapred/system/&quot;</span>); <span style="font-style: italic; color: rgb(0,136,0)">//指定系统路径</span>    </div>
<p>参照之前的 yahoo的<a href="http://public.yahoo.com/gogate/hadoop-tutorial/html/module3.html" target="_blank">教程</a>所述</p>
<p>click on the &quot;Advanced&quot; tab. There are two settings here which must be changed.</a></p>
<p>Scroll down to <tt>hadoop.job.ugi</tt>. It contains your current Windows login credentials. Highlight the first comma-separated value in this list (your username) and replace it with <tt>hadoop-user</tt>.</a></p>
<p>Next, scroll further down to <tt>mapred.system.dir</tt>. Erase the current value and set it to <tt>/hadoop/mapred/system</tt>. </a></p>
<p>在eclipse插件上修改这个参数。。但是完全不在我系统上显示，这个hadoop.job.ugi……所以总是无法连接</p>
<p>当然目前由于这个无法出现，在eclipse直接上传文件的功能暂时就无效了，当然，这个没所谓，还有其他办法，svn put.ftp等等等</p>
<p>重要的是，终于可以在windows 环境下eclipse中debug了。不用再把code put上去再运行了……</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/eclipse-based-application-development-environment-configuration-of-hadoop.html" title="基于Eclipse的Hadoop应用开发环境的配置">基于Eclipse的Hadoop应用开发环境的配置</a> (0)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/midnight.html" title="半夜">半夜</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-05-01 -- <a href="http://jimey.com/2009/05/01/hadoop-0-20-0.html" title="hadoop-0.20.0">hadoop-0.20.0</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2010-05-06 -- <a href="http://jimey.com/2010/05/06/ubuntu10-04-compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-3-dev-eclipse-plugin-jar-download.html" title="Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar">Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar</a> (0)</li><li>2010-04-22 -- <a href="http://jimey.com/2010/04/22/several-articles-on-twitter-hadoop-cassandra-pig-flockdbu002639s-slide.html" title="几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide">几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide</a> (0)</li><li>2009-12-02 -- <a href="http://jimey.com/2009/12/02/karmasphere-studio-for-hadoop.html" title="Karmasphere Studio for Hadoop">Karmasphere Studio for Hadoop</a> (0)</li><li>2009-10-28 -- <a href="http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html" title="ubuntu 8.04版本编译rtorrent 0.85篇">ubuntu 8.04版本编译rtorrent 0.85篇</a> (0)</li><li>2009-10-23 -- <a href="http://jimey.com/2009/10/23/feedsky-feed-plug-in-plug-in-will-lead-to-failure-of-task-execution-wp-booking.html" title="Feedsky Feed 插件插件会导致wp的预订任务执行失败">Feedsky Feed 插件插件会导致wp的预订任务执行失败</a> (0)</li><li>2009-10-21 -- <a href="http://jimey.com/2009/10/21/wordpress-lifestream-plugin.html" title="WordPress Lifestream 插件">WordPress Lifestream 插件</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-1-eclipse-plugin-jar-download.html" title="编译hadoop-${version}-eclipse-plugin.jar and hadoop-0.20.1-eclipse-plugin.jar download">编译hadoop-${version}-eclipse-plugin.jar and hadoop-0.20.1-eclipse-plugin.jar download</a> (3)</li><li>2009-07-13 -- <a href="http://jimey.com/2009/07/13/south-korea-to-see-youkuu002639s-ssh-proxy-ip-address.html" title="韩国ip看youku之ssh代理解决">韩国ip看youku之ssh代理解决</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Linux server clustered HDFS: access from Windows eclipse Java application</title>
		<link>http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html</link>
		<comments>http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html#comments</comments>
		<pubDate>Wed, 25 Mar 2009 13:17:53 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hdfs]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html</guid>
		<description><![CDATA[&#160;  貌似有人也有一样的问题，找不到hadoop.job.ugi  不过我也找不到。。搞了3个小时实在是奇怪  还是用svn put上去好了。。  正常的配置是  You will now be asked to fill in a number of parameters identifying the server. To connect to the VMware image, the values are:    Location name: (Any descriptive n..... ]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>貌似有人也有一样的问题，找不到<b>hadoop</b>.<b>job</b>.<b>ugi</b></p>
<p>不过我也找不到。。搞了3个小时实在是奇怪</p>
<p>还是用svn put上去好了。。</p>
<p>正常的配置是</p>
<p>You will now be asked to fill in a number of parameters identifying the server. To connect to the VMware image, the values are:</a></p>
<pre>Location name: (Any descriptive name you want; e.g., &quot;VMware server&quot;)Map/Reduce Master Host: (The IP address printed at startup)Map/Reduce Master Port: 9001DFS Master Port: 9000User name: hadoop-user</a></pre>
<p>Next, click on the &quot;Advanced&quot; tab. There are two settings here which must be changed.</a></p>
<p>Scroll down to <tt>hadoop.job.ugi</tt>. It contains your current Windows login credentials. Highlight the first comma-separated value in this list (your username) and replace it with <tt>hadoop-user</tt>.</a></p>
<p>Next, scroll further down to <tt>mapred.system.dir</tt>. Erase the current value and set it to <tt>/hadoop/mapred/system</tt>. </a></p>
<p>When you are done, click &quot;Finish.&quot; Your server will now appear in the Map/Reduce Locations panel. If you look in the Project Explorer (upper-left corner of Eclipse), you will see that the MapReduce plugin has added the ability to browse HDFS. Click the [+] buttons to expand the directory tree to see any files already there. If you inserted files into HDFS yourself, they will be visible in this tree.</a></p>
<p>[<a href="http://public.yahoo.com/gogate/hadoop-tutorial/html/module3.html" target="_blank">via</a>]</p>
<p>但是目前比较奇怪找不到这个<tt>hadoop.job.ugi</tt>无法显示。。</p>
<p><span id="more-1541"></span></p>
<p>by <a href="http://www.nabble.com/user/UserProfile.jtp?user=1307677">Alberto Forcén</a> Aug 05, 2008; 06:16pm :: Rate this Message: <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_blocked_gray.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_clear_rating.png" /></a> &#8211; Use ratings to moderate (<a href="http://www.nabble.com/help/Answer.jtp?id=16">?</a>)</p>
<p><a href="http://www.nabble.com/forum/Reply.jtp?post=18827403">Reply</a> | <a href="http://www.nabble.com/user/SendEmail.jtp?type=pm&amp;post=18827403">Reply to Author</a> | <a href="http://www.nabble.com/forum/PrintPost.jtp?post=18827403">Print</a> | <a href="http://www.nabble.com/">View Threaded</a> | <a href="http://www.nabble.com/Linux-server-clustered-HDFS%3A-access-from-Windows-eclipse-Java-application-p18827403.html">Show Only this Message</a></p>
<p>Hi all.<br />
  <br />I&#8217;m running a clustering HDFS on linux and I need to access files (I/O) from eclipse Java application running on Windows. It seems simple, but is it possible? </p>
<p>I have write code using API but I have a problem: when code invokes DistributedFileSystem.initialize() method I receive an exception: java.net.SocketTimeoutException </p>
<p>[code] </p>
<p>String ipStr = &quot;192.168.75.191&quot;; </p>
<p>String portStr = &quot;9000&quot;; </p>
<p>String uriStr = &quot;http://&quot; + ipStr + &quot;:&quot; + portStr; </p>
<p>Configuration conf = new Configuration(); </p>
<p>conf.set(&quot;<b>hadoop</b>.<b>job</b>.<b>ugi</b>&quot;, &quot;user,group&quot;); // Usuario y grupos a los que pertenece </p>
<p>DistributedFileSystem dfs = new DistributedFileSystem(); </p>
<p>dfs.initialize(new URI(uriStr), conf); </p>
<p>[/code] </p>
<p>[trace] </p>
<p>Exception in thread &quot;main&quot; java.net.SocketTimeoutException: timed out waiting for rpc response </p>
<p>at org.apache.<b>hadoop</b>.ipc.Client.call(Client.java:559) </p>
<p>at org.apache.<b>hadoop</b>.ipc.RPC$Invoker.invoke(RPC.java:212) </p>
<p>at org.apache.<b>hadoop</b>.dfs.$Proxy0.getProtocolVersion(Unknown Source) </p>
<p>at org.apache.<b>hadoop</b>.ipc.RPC.getProxy(RPC.java:313) </p>
<p>at org.apache.<b>hadoop</b>.dfs.DFSClient.createRPCNamenode(DFSClient.java:102) </p>
<p>at org.apache.<b>hadoop</b>.dfs.DFSClient.&lt;init&gt;(DFSClient.java:178) </p>
<p>at org.apache.<b>hadoop</b>.dfs.DistributedFileSystem.initialize(DistributedFileSystem.java:68) </p>
<p>at examples.<b>HadoopDFS</b>.main(<b>HadoopDFS</b>.java:153) </p>
<p>[/trace] </p>
<p>&#160;&#160;&#160;&#160;&#160; ______________________________________________ </p>
<p>Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.</p>
<p><img alt="" align="absMiddle" src="http://www.nabble.com/images/icon_tri.png" width="12" height="12" /> </p>
<p><a name="a18830884"></a></p>
<h4><a name="a18830884">Re: Linux server clustered HDFS: access from Windows eclipse Java application</a></h4>
<p><a href="http://www.nabble.com/"><img border="0" alt="Click to flag this post" src="http://www.nabble.com/images/icon_unflagged.png" width="15" height="15" /></a> <img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /> </p>
<p>by <a href="http://www.nabble.com/user/UserProfile.jtp?user=1300241">Qin Gao-2</a> Aug 05, 2008; 10:13pm :: Rate this Message: <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_blocked_gray.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_clear_rating.png" /></a> &#8211; Use ratings to moderate (<a href="http://www.nabble.com/help/Answer.jtp?id=16">?</a>)</p>
<p><a href="http://www.nabble.com/forum/Reply.jtp?post=18830884">Reply</a> | <a href="http://www.nabble.com/user/SendEmail.jtp?type=pm&amp;post=18830884">Reply to Author</a> | <a href="http://www.nabble.com/forum/PrintPost.jtp?post=18830884">Print</a> | <a href="http://www.nabble.com/">View Threaded</a> | <a href="http://www.nabble.com/Re%3A-Linux-server-clustered-HDFS%3A-access-from-Windows-eclipse-Java-application-p18830884.html">Show Only this Message</a></p>
<p>I think IBM has a plugin that can access HDFS, I don&#8217;t know whether it<br />
  <br />contains source code, but maybe it helps. </p>
<p>www.alphaworks.*ibm*.com/tech/mapreducetools </p>
<p>On Tue, Aug 5, 2008 at 5:16 AM, Alberto Forcén &lt;<a href="http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18830884&amp;i=0">otrebla81@&#8230;</a>&gt; wrote: </p>
<p>&gt; Hi all.<br />
  <br />&gt; </p>
<p>&gt; I&#8217;m running a clustering HDFS on linux and I need to access files (I/O) </p>
<p>&gt; from eclipse Java application running on Windows. It seems simple, but is it </p>
<p>&gt; possible? </p>
<p>&gt; </p>
<p>&gt; I have write code using API but I have a problem: when code invokes </p>
<p>&gt; DistributedFileSystem.initialize() method I receive an exception: </p>
<p>&gt; java.net.SocketTimeoutException </p>
<p>&gt; </p>
<p>&gt; </p>
<p>&gt; [code] </p>
<p>&gt; String ipStr = &quot;192.168.75.191&quot;; </p>
<p>&gt; String portStr = &quot;9000&quot;; </p>
<p>&gt; String uriStr = &quot;http://&quot; + ipStr + &quot;:&quot; + portStr; </p>
<p>&gt; </p>
<p>&gt; Configuration conf = new Configuration(); </p>
<p>&gt; conf.set(&quot;<b>hadoop</b>.<b>job</b>.<b>ugi</b>&quot;, &quot;user,group&quot;); // Usuario y grupos a los que </p>
<p>&gt; pertenece </p>
<p>&gt; </p>
<p>&gt; DistributedFileSystem dfs = new DistributedFileSystem(); </p>
<p>&gt; dfs.initialize(new URI(uriStr), conf); </p>
<p>&gt; [/code] </p>
<p>&gt; </p>
<p>&gt; [trace] </p>
<p>&gt; Exception in thread &quot;main&quot; java.net.SocketTimeoutException: timed out </p>
<p>&gt; waiting for rpc response </p>
<p>&gt; at org.apache.<b>hadoop</b>.ipc.Client.call(Client.java:559) </p>
<p>&gt; at org.apache.<b>hadoop</b>.ipc.RPC$Invoker.invoke(RPC.java:212) </p>
<p>&gt; at org.apache.<b>hadoop</b>.dfs.$Proxy0.getProtocolVersion(Unknown Source) </p>
<p>&gt; at org.apache.<b>hadoop</b>.ipc.RPC.getProxy(RPC.java:313) </p>
<p>&gt; at org.apache.<b>hadoop</b>.dfs.DFSClient.createRPCNamenode(DFSClient.java:102) </p>
<p>&gt; at org.apache.<b>hadoop</b>.dfs.DFSClient.&lt;init&gt;(DFSClient.java:178) </p>
<p>&gt; at </p>
<p>&gt; org.apache.<b>hadoop</b>.dfs.DistributedFileSystem.initialize(DistributedFileSystem.java:68) </p>
<p>&gt; at examples.<b>HadoopDFS</b>.main(<b>HadoopDFS</b>.java:153) </p>
<p>&gt; [/trace] </p>
<p>&gt; </p>
<p>&gt; </p>
<p>&gt;&#160;&#160;&#160;&#160;&#160; ______________________________________________ </p>
<p>&gt; Enviado desde Correo Yahoo! La bandeja de entrada más inteligente. </p>
<p>&gt; </p>
<p>&#8230; [<a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#">show rest of quote</a>]</p>
<p><img alt="" align="absMiddle" src="http://www.nabble.com/images/icon_tri.png" width="12" height="12" /> </p>
<p><a name="a18837468"></a></p>
<h4><a name="a18837468">Confusing NameNodeFailover page in Hadoop Wiki</a></h4>
<p><a href="http://www.nabble.com/"><img border="0" alt="Click to flag this post" src="http://www.nabble.com/images/icon_unflagged.png" width="15" height="15" /></a> <img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /> </p>
<p>by <a href="http://www.nabble.com/user/UserProfile.jtp?user=598721">Konstantin Shvachko</a> Aug 06, 2008; 03:42am :: Rate this Message: <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_blocked_gray.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_clear_rating.png" /></a> &#8211; Use ratings to moderate (<a href="http://www.nabble.com/help/Answer.jtp?id=16">?</a>)</p>
<p><a href="http://www.nabble.com/forum/Reply.jtp?post=18837468">Reply</a> | <a href="http://www.nabble.com/user/SendEmail.jtp?type=pm&amp;post=18837468">Reply to Author</a> | <a href="http://www.nabble.com/forum/PrintPost.jtp?post=18837468">Print</a> | <a href="http://www.nabble.com/">View Threaded</a> | <a href="http://www.nabble.com/Confusing-NameNodeFailover-page-in-Hadoop-Wiki-p18837468.html">Show Only this Message</a></p>
<p>I was wondering around <b>Hadoop</b> wiki and found this page dedicated to name-node failover. </p>
<p><a href="http://wiki.apache.org/hadoop/NameNodeFailover">http://wiki.apache.org/<b>hadoop</b>/NameNodeFailover</a> </p>
<p>I think it is confusing, contradicts other documentation on the subject and contains incorrect facts. See </p>
<p><a href="http://hadoop.apache.org/core/docs/current/hdfs_user_guide.html#Secondary+Namenode">http://<b>hadoop</b>.apache.org/core/docs/current/hdfs_user_guide.html#Secondary+Namenode</a> </p>
<p><a href="http://wiki.apache.org/hadoop/FAQ#7">http://wiki.apache.org/<b>hadoop</b>/FAQ#7</a> </p>
<p>Besides it contains some kind of discussion. </p>
<p>It is not that I am against discussions, lets have them on this list. </p>
<p>But I was trying to understand were all the confusion about secondary-node issues comes from lately&#8230; </p>
<p>Imho we either need to correct it or remove. </p>
<p>Thanks, </p>
<p>&#8211;Konstantin </p>
<p><img alt="" align="absMiddle" src="http://www.nabble.com/images/icon_tri.png" width="12" height="12" /> </p>
<p><a name="a18837686"></a></p>
<h4><a name="a18837686">Re: Linux server clustered HDFS: access from Windows eclipse Java application</a></h4>
<p><a href="http://www.nabble.com/"><img border="0" alt="Click to flag this post" src="http://www.nabble.com/images/icon_unflagged.png" width="15" height="15" /></a> <img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /> </p>
<p>by <a href="http://www.nabble.com/user/UserProfile.jtp?user=712397">Michael Bieniosek</a> Aug 06, 2008; 03:56am :: Rate this Message: <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_blocked_gray.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_clear_rating.png" /></a> &#8211; Use ratings to moderate (<a href="http://www.nabble.com/help/Answer.jtp?id=16">?</a>)</p>
<p><a href="http://www.nabble.com/forum/Reply.jtp?post=18837686">Reply</a> | <a href="http://www.nabble.com/user/SendEmail.jtp?type=pm&amp;post=18837686">Reply to Author</a> | <a href="http://www.nabble.com/forum/PrintPost.jtp?post=18837686">Print</a> | <a href="http://www.nabble.com/">View Threaded</a> | <a href="http://www.nabble.com/Re%3A-Linux-server-clustered-HDFS%3A-access-from-Windows-eclipse-Java-application-p18837686.html">Show Only this Message</a></p>
<p>Are you sure both ends are running the same version of <b>hadoop</b>? </p>
<p>On 8/5/08 2:16 AM, &quot;Alberto Forcén&quot; &lt;<a href="http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18837686&amp;i=0">otrebla81@&#8230;</a>&gt; wrote: </p>
<p>Hi all. </p>
<p>I&#8217;m running a clustering HDFS on linux and I need to access files (I/O) from eclipse Java application running on Windows. It seems simple, but is it possible? </p>
<p>I have write code using API but I have a problem: when code invokes DistributedFileSystem.initialize() method I receive an exception: java.net.SocketTimeoutException </p>
<p>[code] </p>
<p>String ipStr = &quot;192.168.75.191&quot;; </p>
<p>String portStr = &quot;9000&quot;; </p>
<p>String uriStr = &quot;http://&quot; + ipStr + &quot;:&quot; + portStr; </p>
<p>Configuration conf = new Configuration(); </p>
<p>conf.set(&quot;<b>hadoop</b>.<b>job</b>.<b>ugi</b>&quot;, &quot;user,group&quot;); // Usuario y grupos a los que pertenece </p>
<p>DistributedFileSystem dfs = new DistributedFileSystem(); </p>
<p>dfs.initialize(new URI(uriStr), conf); </p>
<p>[/code] </p>
<p>[trace] </p>
<p>Exception in thread &quot;main&quot; java.net.SocketTimeoutException: timed out waiting for rpc response </p>
<p>at org.apache.<b>hadoop</b>.ipc.Client.call(Client.java:559) </p>
<p>at org.apache.<b>hadoop</b>.ipc.RPC$Invoker.invoke(RPC.java:212) </p>
<p>at org.apache.<b>hadoop</b>.dfs.$Proxy0.getProtocolVersion(Unknown Source) </p>
<p>at org.apache.<b>hadoop</b>.ipc.RPC.getProxy(RPC.java:313) </p>
<p>at org.apache.<b>hadoop</b>.dfs.DFSClient.createRPCNamenode(DFSClient.java:102) </p>
<p>at org.apache.<b>hadoop</b>.dfs.DFSClient.&lt;init&gt;(DFSClient.java:178) </p>
<p>at org.apache.<b>hadoop</b>.dfs.DistributedFileSystem.initialize(DistributedFileSystem.java:68) </p>
<p>at examples.<b>HadoopDFS</b>.main(<b>HadoopDFS</b>.java:153) </p>
<p>[/trace] </p>
<p>&#160;&#160;&#160;&#160;&#160; ______________________________________________ </p>
<p>Enviado desde Correo Yahoo! La bandeja de entrada más inteligente. </p>
<p><img alt="" align="absMiddle" src="http://www.nabble.com/images/icon_tri.png" width="12" height="12" /> </p>
<p><a name="a18855373"></a></p>
<h4><a name="a18855373">Re: Confusing NameNodeFailover page in Hadoop Wiki</a></h4>
<p><a href="http://www.nabble.com/"><img border="0" alt="Click to flag this post" src="http://www.nabble.com/images/icon_unflagged.png" width="15" height="15" /></a> <img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /> </p>
<p>by <a href="http://www.nabble.com/user/UserProfile.jtp?user=739">Doug Cutting-4</a> Aug 07, 2008; 01:39am :: Rate this Message: <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_blocked_gray.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_clear_rating.png" /></a> &#8211; Use ratings to moderate (<a href="http://www.nabble.com/help/Answer.jtp?id=16">?</a>)</p>
<p><a href="http://www.nabble.com/forum/Reply.jtp?post=18855373">Reply</a> | <a href="http://www.nabble.com/user/SendEmail.jtp?type=pm&amp;post=18855373">Reply to Author</a> | <a href="http://www.nabble.com/forum/PrintPost.jtp?post=18855373">Print</a> | <a href="http://www.nabble.com/">View Threaded</a> | <a href="http://www.nabble.com/Re%3A-Confusing-NameNodeFailover-page-in-Hadoop-Wiki-p18855373.html">Show Only this Message</a></p>
<p>Konstantin Shvachko wrote:<br />
  <br />&gt; Imho we either need to correct it or remove. </p>
<p>+1 </p>
<p>Doug </p>
<p><img alt="" align="absMiddle" src="http://www.nabble.com/images/icon_tri.png" width="12" height="12" /> </p>
<p><a name="a18867760"></a></p>
<h4><a name="a18867760">Re: Confusing NameNodeFailover page in Hadoop Wiki</a></h4>
<p><a href="http://www.nabble.com/"><img border="0" alt="Click to flag this post" src="http://www.nabble.com/images/icon_unflagged.png" width="15" height="15" /></a> <img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /><img border="0" src="http://www.nabble.com/images/icon_star_blue.png" width="12" height="12" /> </p>
<p>by <a href="http://www.nabble.com/user/UserProfile.jtp?user=3094">Steve Loughran</a> Aug 07, 2008; 07:34pm :: Rate this Message: <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_blocked_gray.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a><a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_star_grey.png" width="12" height="12" /></a> <a href="http://www.nabble.com/Linux-server-clustered-HDFS:-access-from-Windows-eclipse-Java-application-td18827403.html#"><img border="0" alt="" src="http://www.nabble.com/images/icon_clear_rating.png" /></a> &#8211; Use ratings to moderate (<a href="http://www.nabble.com/help/Answer.jtp?id=16">?</a>)</p>
<p><a href="http://www.nabble.com/forum/Reply.jtp?post=18867760">Reply</a> | <a href="http://www.nabble.com/user/SendEmail.jtp?type=pm&amp;post=18867760">Reply to Author</a> | <a href="http://www.nabble.com/forum/PrintPost.jtp?post=18867760">Print</a> | <a href="http://www.nabble.com/">View Threaded</a> | <a href="http://www.nabble.com/Re%3A-Confusing-NameNodeFailover-page-in-Hadoop-Wiki-p18867760.html">Show Only this Message</a></p>
<p>Doug Cutting wrote:<br />
  <br />&gt; Konstantin Shvachko wrote: </p>
<p>&gt;&gt; Imho we either need to correct it or remove. </p>
<p>&gt; </p>
<p>&gt; +1 </p>
<p>&gt; </p>
<p>&gt; Doug </p>
<p>I added some pages there on namenode/<b>jobtracker</b>, etc, linking to the </p>
<p>faiover doc, which I didnt compare to the svn docs to see what was </p>
<p>correct. Perhaps the failover page could be set up to say &quot;you can do </p>
<p>some things here&quot; and point to the full docs at SVN or the <b>hadoop</b> site </p>
<p>&#8211; </p>
<p>Steve Loughran&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://www.1060.org/blogxter/publish/5">http://www.1060.org/blogxter/publish/5</a> </p>
<p>Author: Ant in Action&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://antbook.org/">http://antbook.org/</a></p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/midnight.html" title="半夜">半夜</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/eclipse-based-application-development-environment-configuration-of-hadoop.html" title="基于Eclipse的Hadoop应用开发环境的配置">基于Eclipse的Hadoop应用开发环境的配置</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/cloud-computing-on-the-next-week-to-discuss-the-curriculum-some-of-the-ideas.html" title="关于下下周cloud computing讨论课程的一些想法">关于下下周cloud computing讨论课程的一些想法</a> (0)</li><li>2008-11-12 -- <a href="http://jimey.com/2008/11/12/sunday-the-day-to-do-the-wordcount-screenshots-mapreduce.html" title="周日那天做的mapreduce中的wordcount测试截图">周日那天做的mapreduce中的wordcount测试截图</a> (0)</li><li>2008-11-10 -- <a href="http://jimey.com/2008/11/10/cluster-configuration-with-hadoop-introduction.html" title="Hadoop用cluster配置简介">Hadoop用cluster配置简介</a> (1)</li><li>2008-11-10 -- <a href="http://jimey.com/2008/11/10/hadoop-cluster-to-do-with-the-composition-of-cluster-machines.html" title="用Hadoop做集群机器构成的cluster">用Hadoop做集群机器构成的cluster</a> (0)</li><li>2008-10-31 -- <a href="http://jimey.com/2008/10/31/then-boil-for-one-night-the-outcome-is-still-a-significant-drop.html" title="又熬一晚，成果还是显著滴">又熬一晚，成果还是显著滴</a> (0)</li><li>2010-05-06 -- <a href="http://jimey.com/2010/05/06/ubuntu10-04-compiled-hadoop-version-eclipse-plugin-jar-and-hadoop-0-20-3-dev-eclipse-plugin-jar-download.html" title="Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar">Ubuntu10.04 编译hadoop-${version}-eclipse- plugin.jar and hadoop-0.20.3-dev-eclipse-plugin.jar</a> (0)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2010-04-22 -- <a href="http://jimey.com/2010/04/22/several-articles-on-twitter-hadoop-cassandra-pig-flockdbu002639s-slide.html" title="几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide">几篇关于twitter,hadoop,Cassandra,Pig,FlockDB的slide</a> (0)</li><li>2010-04-12 -- <a href="http://jimey.com/2010/04/12/cloud-of-medical-information-systems-immature-idea.html" title="云端医疗信息系统的不成熟构思">云端医疗信息系统的不成熟构思</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>glftpd and zipscript install guide</title>
		<link>http://jimey.com/2009/03/18/glftpd-and-zipscript-install-guide.html</link>
		<comments>http://jimey.com/2009/03/18/glftpd-and-zipscript-install-guide.html#comments</comments>
		<pubDate>Wed, 18 Mar 2009 08:55:04 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[glftpd]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/18/glftpd-and-zipscript-install-guide.html</guid>
		<description><![CDATA[So, you need an FTP server on your box, and you don&#8217;t know which one you should use? I&#8217;ll solve that dilemma for you. glftpd is easy to install and is a fully functional, fairly robust FTP server. That being said, lets get started! (NOTE: if any command spits back a permissions error, simply put [...... ]]></description>
			<content:encoded><![CDATA[<p>So, you need an FTP server on your box, and you don&#8217;t know which one you should use? I&#8217;ll solve that dilemma for you. <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a> is easy to install and is a fully functional, fairly robust FTP server.   <br />That being said, lets get started! (NOTE: if any <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> spits back a permissions error, simply put sudo in front of the <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a>).    <br /><code>     <br />cd /tmp/      <br />wget http://www.<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>.com/files/<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>-LNX_2.01.tgz      <br />tar -xzf <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>-LNX_2.01.tgz      <br /></code>    <br />Let&#8217;s grab the dependencies we need to get <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a> to work properly    <br /><code>     <br />apt-get install xinetd zip unzip openssl tcpd      <br /></code>    <br />Now, we move into the <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a> directory    <br /><code>     <br />cd <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>-LNX_2.01      <br />sh installgl.sh      <br /></code>    <br />For the prompts, do:    <br />Use tcpd? [Y]es [N]o: Y    <br />Use a jailed environment? [Y]es [N]o: N    <br />Please enter the directory to install <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a> to [/<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>]: (press enter) &#8211; Installing into /<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a> is the best way to go, imo    <br />Press for the default (<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>)&gt; (press enter)    <br />The install will then compile (hopefully with no errors).    <br /><code>     <br />Enter the port you would like <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a> to listen on [1337]: (pick any port, I suggest something in the higher # range, 40000 plus)      <br />Do you want to use [I]netd or [X]inetd? X      <br />Do you wish to use European weeks? European weeks starts with a Monday.      <br />This is for <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>'s 'reset' binary (see docs for more info) [Y/N]: Y      <br />Please specify location, inside /<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>, to install the cert (ftpd-dsa.pem) [/etc]: (press enter)      <br />Please specify a generic name for this certificate. This can be any name but should say something about the ftp server like the name for it perhaps (press enter for <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>): (you can put just about anything here...doesn't matter)      <br /></code>    <br />It will then create your certificate. Once that&#8217;s done, <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a> is almost completely set up.    <br />What you&#8217;ll want to do next is set up your user account for the FTP. To do this, you:    <br /><code>     <br />ftp localhost port      <br />user: <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>      <br />password: <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>      <br /></code>    <br />This will get you logged in.    <br />Once logged in, you want to create a user, set its flags, set its ratio, set its logins, set its ratio, etc.    <br /><code>     <br />site adduser user password ip [e.g., site adduser ronin hdwhore 127.0.0.1) And no, don't use localhost as your IP..was just using that as an example.      <br />site change ronin ratio 0      <br />site change ronin num_logins 0 (if you want unlimited logins to your FTP)      <br />site change ronin flags +1ABCDEFGH      <br /></code>    <br />That takes care of the account. Now you're going to want to edit the <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>.conf.</p>
<p>To do so, you:   <br /><code>     <br />nano /etc/<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>.conf      <br /></code>    <br />There's not much you NEED to edit here, so I'll just highlight what you should.    <br /><code>     <br />sitename_long MY[:space:]SITE[:space:]NAME (put whatever you feel like here)      <br />sitename_short MSN (short version of the above      <br /># TLS enforcements.      <br />userrejectsecure !*      <br />userrejectinsecure !* (remove the ! to enable Auth TLS requirements for login)      <br />denydiruncrypted !*      <br />denydatauncrypted !*      <br /></code>    <br />The rest doesn&#8217;t need to be touched, unless you so choose to. CTRL+O, press ENTER, CTRL+X, and you&#8217;re done editing the file. That completes the install for <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>. Now, for zipscript.    <br /><code>     <br />cd /tmp/      <br />wget http://se.pzs-ng.com/stable/project-zs-ng_r2414-v1.1.0a.tar.gz      <br />tar -xzf http://se.pzs-ng.com/stable/project-zs-ng_r2414-v1.1.0a.tar.gz      <br />cd http://se.pzs-ng.com/stable/project-zs-ng_r2414-v1.1.0a.tar.gz      <br />./configure      <br /></code>    <br />When that&#8217;s done, you need to edit zipscript/conf/zsconfig.h    <br /><code>     <br />nano zipscript/conf/zsconfig.h      <br /></code>    <br />I recommend changing the following folder listings below:    <br /><code>     <br />#define zip_dirs &quot;/site/&quot;      <br />#define sfv_dirs &quot;/site/test/ /site/incoming/mp3/ /site/incoming/games/ /site/incoming/apps/ /site/incoming/musicvideos/ /site/incoming/requests/&quot;      <br />#define audio_nocheck_dirs &quot;/site/groups/ /site/incoming/requests/&quot;      <br />#define check_for_missing_nfo_dirs &quot;/site/incoming/games/ /site/incoming/apps/&quot;      <br /></code>    <br />If you don&#8217;t do music, ignore the auto_nocheck variable    <br />You&#8217;ll also want to edit:    <br /><code>     <br />#define short_sitename &quot;NG&quot;      <br /></code>    <br />CTRL+O, PRESS ENTER, CTRL+X, and you&#8217;re done editing zsconfig.h    <br /><code>     <br />make      <br />make install      <br />cd scripts/libcopy/      <br />./libcopy.sh       <br />chmod 666 /<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>/ftp-data/logs/dupelog (this assumes you installed into /<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>/)      <br />nano /etc/crontab/      <br />paste the below into your crontab      <br />59 23 * * * chroot /<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a> /bin/cleanup &gt;/dev/null 2&gt;&amp;1      <br />29 4 * * * chroot /<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a> /bin/datacleaner &gt;/dev/null 2&gt;&amp;1      <br /></code>    <br />Once that&#8217;s done, you have 1 more step, and zipscript is complete.    <br /><code>     <br />nano /etc/<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>.conf      <br /></code>    <br />Copy/paste this somewhere into your <a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>.conf    <br /><code>     <br />calc_crc *      <br />post_check /bin/zipscript-c *      <br />cscript DELE post /bin/postdel      <br />cscript RMD post /bin/datacleaner      <br />cscript SITE[:space:]NUKE post /bin/cleanup      <br />cscript SITE[:space:]UNNUKE post /bin/postunnuke      <br />cscript SITE[:space:]WIPE post /bin/cleanup      <br />site_cmd RESCAN EXEC /bin/rescan      <br />custom-rescan !8 *      <br />cscript RETR post /bin/dl_speedtest      <br />site_cmd AUDIOSORT EXEC /bin/audiosort      <br />custom-audiosort !8 *      <br /></code>    <br />CTRL+O, PRESS ENTER, then CTRL+X.    <br />You&#8217;ll likely want to chmod the incoming (/<a href="http://jimey.com/tag/glftpd" class="st_tag internal_tag" rel="tag" title="Posts tagged with glftpd">glftpd</a>/site/incoming) to 777, and any other directory you might dump into:    <br /><code>     <br />chmod -R 777 /glftp/site/*      <br /></code>    <br />Once that&#8217;s done, you&#8217;re done setting up your zipscript.    <br />You now have a fully functioning FTP and file checker installed on your box, and it&#8217;s ready to be used.</p>
<p>&#160;</p>
<p>[<a href="So, you need an FTP server on your box, and you don't know which one you should use? I'll solve that dilemma for you. glftpd is easy to install and is a fully functional, fairly robust FTP server." target="_blank">via</a>]</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2010-04-27 -- <a href="http://jimey.com/2010/04/27/the-linux-command-line-a-good-book-describes-linux-command-line.html" title="The Linux Command Line: 一本介绍 Linux 命令行的好书">The Linux Command Line: 一本介绍 Linux 命令行的好书</a> (0)</li><li>2009-11-17 -- <a href="http://jimey.com/2009/11/17/ytet-upload-user-guide.html" title="ytet upload user guide">ytet upload user guide</a> (5)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-04-09 -- <a href="http://jimey.com/2009/04/09/p2psim-installation.html" title="P2PSim安装">P2PSim安装</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2008-12-06 -- <a href="http://jimey.com/2008/12/06/from-the-u0026quotsun-released-javafx-1-0u0026quot-look-at-the-embarrassment-of-the-current-status-linux.html" title="从&quot;Sun发布JavaFX 1.0&ldquo;来看linux目前的尴尬地位">从&quot;Sun发布JavaFX 1.0&ldquo;来看linux目前的尴尬地位</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html" title="How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04">How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</a> (0)</li><li>2008-10-14 -- <a href="http://jimey.com/2008/10/14/diy-filing-cabinet-linux-server-cluster.html" title="DIY Filing Cabinet Linux Server Cluster">DIY Filing Cabinet Linux Server Cluster</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/18/glftpd-and-zipscript-install-guide.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using wget to download content protected by referer and cookies</title>
		<link>http://jimey.com/2009/03/18/using-wget-to-download-content-protected-by-referer-and-cookies.html</link>
		<comments>http://jimey.com/2009/03/18/using-wget-to-download-content-protected-by-referer-and-cookies.html#comments</comments>
		<pubDate>Wed, 18 Mar 2009 04:39:23 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/18/using-wget-to-download-content-protected-by-referer-and-cookies.html</guid>
		<description><![CDATA[&#160;  1. get base url and save its cookies in file  2. get protected content using stored cookies  $ wget --cookies=on --keep-session-cookies --save-cookies=cookie.txt http://first_page$ wget --referer=http://first_page --cookies=on --load-cookies=cookie.txt --keep-session-cookies --save-cookies=c..... ]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>1. get base url and save its cookies in file</p>
<p>2. get protected content using stored cookies</p>
<p>$ wget &#8211;cookies=on &#8211;keep-session-cookies &#8211;save-cookies=cookie.txt <a href="http://first_page$">http://first_page$</a> wget &#8211;referer=http://first_page &#8211;cookies=on &#8211;load-cookies=cookie.txt &#8211;keep-session-cookies &#8211;save-cookies=cookie.txt <a href="http://second_page">http://second_page</a></p>
<p>[<a href="http://snippets.dzone.com/posts/show/3937" target="_blank">via</a>]</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-03-18 -- <a href="http://jimey.com/2009/03/18/wget-manual-wget-command-to-use.html" title="wget手册 wget命令使用方法">wget手册 wget命令使用方法</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/18/using-wget-to-download-content-protected-by-referer-and-cookies.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>perl的CPAN权限问题</title>
		<link>http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html</link>
		<comments>http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html#comments</comments>
		<pubDate>Wed, 11 Mar 2009 10:46:21 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 8.04]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/11/perl%e7%9a%84cpan%e6%9d%83%e9%99%90%e9%97%ae%e9%a2%98.html</guid>
		<description><![CDATA[mkdir /usr/local/share/perl: Permission denied at /usr/share/perl/5.8/ExtUtils/Install.pm line 112   make: *** [pure_site_install] Error 13    /usr/bin/make install -- NOT OK  &#160;  sudo cpan即可……  很吐血很实用的回... ]]></description>
			<content:encoded><![CDATA[<p>mkdir /usr/local/share/perl: Permission denied at /usr/share/perl/5.8/ExtUtils/Install.pm line 112   <br />make: *** [pure_site_install] Error 13    <br />/usr/bin/make install &#8212; NOT OK</p>
<p>&#160;</p>
<p>sudo <a href="http://jimey.com/tag/cpan" class="st_tag internal_tag" rel="tag" title="Posts tagged with CPAN">cpan</a>即可……</p>
<p>很吐血很实用的回答</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-10-28 -- <a href="http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html" title="ubuntu 8.04版本编译rtorrent 0.85篇">ubuntu 8.04版本编译rtorrent 0.85篇</a> (0)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html" title="Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex">Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex</a> (0)</li><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html" title="Disabling Your PC Speaker in Ubuntu">Disabling Your PC Speaker in Ubuntu</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-10-08 -- <a href="http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html" title="Ubuntu系统下格式化windows 分区">Ubuntu系统下格式化windows 分区</a> (0)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html" title="Ubuntu Ubuntu 8.04 LTS 配置笔记">Ubuntu Ubuntu 8.04 LTS 配置笔记</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/install-and-configuration-vsftpd-ftp-service-on-ubuntu-linux.html" title="install and configuration vsftpd ftp service on Ubuntu Linux">install and configuration vsftpd ftp service on Ubuntu Linux</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/komodo-ide-guide.html" title="Komodo IDE Guide">Komodo IDE Guide</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/in-the-ubuntu-install-configure-subversion-aapache.html" title="在Ubuntu上安装配置Subversion + Aapache">在Ubuntu上安装配置Subversion + Aapache</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Ubuntu 8.04 LTS 配置笔记</title>
		<link>http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html</link>
		<comments>http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html#comments</comments>
		<pubDate>Wed, 11 Mar 2009 07:26:45 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/11/ubuntu-ubuntu-804-lts-%e9%85%8d%e7%bd%ae%e7%ac%94%e8%ae%b0.html</guid>
		<description><![CDATA[  4.安装软件  (1) editer tools  sudo apt-get install vim vim-full ctags&#160; cscope vim-doc ghex  (2) programming tools  sudo apt-get install build-essential devhelp gcc-4.2-doc glibc-doc libstdc++6-4.2-doc diff-doc  sudo apt-get install libgtk2.0-dev libglib2.0-doc libgtk2.0-doc  sudo apt-get inst..... ]]></description>
			<content:encoded><![CDATA[<h5></h5>
<p>4.安装软件</p>
<p>(1) editer tools</p>
<p>sudo apt-get install vim vim-full ctags&#160; cscope vim-doc ghex</p>
<p>(2) programming tools</p>
<p>sudo apt-get install build-essential devhelp gcc-4.2-doc glibc-doc libstdc++6-4.2-doc diff-doc</p>
<p>sudo apt-get install libgtk2.0-dev libglib2.0-doc libgtk2.0-doc</p>
<p>sudo apt-get install autoconf autogen automake</p>
<p>sudo apt-get install cvs indent libtool subversion</p>
<p>sudo apt-get install glade-3 libglade2-dev anjuta</p>
<p>sudo apt-get install kernel-package fakeroot debhelper gettext gettext-doc dh-make libncurses-dev</p>
<p>sudo apt-get install ddd ddd-doc valgrind meld gnuplot gnuplot-doc</p>
<p>&#160;</p>
<p>&#160;</p>
<p>[<a href="http://www.cppblog.com/hyjune/archive/2008/05/21/50637.html" target="_blank">via</a>]</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2009-10-28 -- <a href="http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html" title="ubuntu 8.04版本编译rtorrent 0.85篇">ubuntu 8.04版本编译rtorrent 0.85篇</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-10-08 -- <a href="http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html" title="Ubuntu系统下格式化windows 分区">Ubuntu系统下格式化windows 分区</a> (0)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html" title="Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex">Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html" title="perl的CPAN权限问题">perl的CPAN权限问题</a> (0)</li><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html" title="Disabling Your PC Speaker in Ubuntu">Disabling Your PC Speaker in Ubuntu</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/install-and-configuration-vsftpd-ftp-service-on-ubuntu-linux.html" title="install and configuration vsftpd ftp service on Ubuntu Linux">install and configuration vsftpd ftp service on Ubuntu Linux</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/in-the-ubuntu-install-configure-subversion-aapache.html" title="在Ubuntu上安装配置Subversion + Aapache">在Ubuntu上安装配置Subversion + Aapache</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2009-02-26 -- <a href="http://jimey.com/2009/02/26/topology-control-in-wireless-sensor-networks-with-a-companion-simulation-tool-for-teaching-and-research.html" title="Topology Control in Wireless Sensor Networks: with a companion simulation tool for teaching and research">Topology Control in Wireless Sensor Networks: with a companion simulation tool for teaching and research</a> (0)</li><li>2008-12-14 -- <a href="http://jimey.com/2008/12/14/supervised-versus-unsupervised-learning.html" title="Supervised versus Unsupervised Learning">Supervised versus Unsupervised Learning</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>firefox的irc插件chatzilla</title>
		<link>http://jimey.com/2009/03/07/chatzilla-the-irc-plugin-firefox.html</link>
		<comments>http://jimey.com/2009/03/07/chatzilla-the-irc-plugin-firefox.html#comments</comments>
		<pubDate>Sat, 07 Mar 2009 04:09:44 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[chatzilla]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Mirc]]></category>
		<category><![CDATA[self-signed certificate]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/07/firefox%e7%9a%84irc%e6%8f%92%e4%bb%b6chatzilla.html</guid>
		<description><![CDATA[一个教程吧，也是摘别人的http://forums.mozine.cn/index.php?showtopic=11378   一般Windows下我们都使用Mirc这款老牌的IRC客户端工具，我一直使用FireFox浏览器来进行网上冲浪，它有很好的扩展性，这次推荐给大家的是Chatzilla扩展，使用Chatzilla扩展可以跨平台，配合Portable Firefox就可以走到哪里都能方便的使用IRC了..... ]]></description>
			<content:encoded><![CDATA[<p>一个教程吧，也是摘别人的http://forums.mozine.cn/index.php?showtopic=11378   <br />一般Windows下我们都使用Mirc这款老牌的IRC客户端工具，我一直使用FireFox浏览器来进行网上冲浪，它有很好的扩展性，这次推荐给大家的是Chatzilla扩展，使用Chatzilla扩展可以跨平台，配合Portable Firefox就可以走到哪里都能方便的使用IRC了。我使用Chatzilla的一个原因就是方便，因为其整合在FireFox中，Firefox是我经常使用的，要开启Chatzilla只需要点击Firefox菜单中的一个button，其配置也能够便捷化（Portable），很方便。    <br />Chatzilla支持脚本(plugins)，支持utf-8字符，支持SSL，支持css改变样式，支持输出log为txt和html，支持DCC文件服务等，总之一般用户是足够使用了。    <br />首先，我们需要在Firefox下安装Chatzilla扩展，扩展链接在此https: //addons.mozilla.org/firefox/16/，扩展支持Firefox2.0。安装扩展按Firefox一般扩展的安装方法，重启 Firefox浏览器后进行简单的设置。    <br />运行Chatzilla，在Chatziila&#8211;&gt;Preferences&#8211;&gt;Global Settings中进行Chatzilla全局设置。General栏：Character Encoding中把默认的utf-8设置为gb2312，这是因为gb2312能够显示英文字符，但是如果是utf-8，则好多中文IRC站点的中文显示会变成乱码，这应该和IRC服务器端有关。Default Quit Message表示默认退出信息，随便设置一下。NIckname为昵称。Log This View表示记录日志，在全局设置中记录则会记录所有进入站点的日志信息。Appearance栏：这里我只改了一下字体和字体大小，我字体的设置为 Tahoma，大小为10。Motifs：为skin的设置，Chatzilla使用了CSS作为skin（如同SAGE扩展），自带了4款CSS，我选择的是DARK。Timestamps：时间标签，能够在每行type前加上时间标签，并能够在LOG中显示。方便了IRC会议后的整理。DCC栏：勾选 DCC Enabled来开启DCC文件服务。Startup栏：Auto-load Scripts，自动加载的脚本，如果是目录，Chatzilla会自动加载目录中的Init.js。Auto-connect URLs表示自动连接的URL，这里注意，URL主要是IRC://和IRCS://前者不带SSL，后者指SSL连接。我自动连接的URL列表：    <br />ircs://cn.irc.net:****    <br />Global 栏：Profile Path默认设置的是你Firefox配置目录下的Chatzilla目录，你在这里可以更改Chatzilla的配置目录。Chatzilla配置目录含有LOG和Scripts目录。全局设置基本完成，你可以看看别的有什么你需要更改的地方。    <br />当我们连接到精品或DRL的服务器时，需要昵称注册，命令为/msg nickserv REGISTER password email，当你注册昵称后，每次都会要求验证你的昵称，你可以键入/ns identify password命令。如果不想每次都键入命令验证，可以在Chatzilla&#8211;&gt;Preferences&#8211;&gt;irc.et8.net: 9999&#8211;&gt;lists&#8211;&gt;Auto-perform下ADD一条命令/ns identify password，这样当你每次连接到irc.et8.net:9999时，就会自动执行这个命令，不必每次都手动输入了。关于TAB，当连接上一个 channel或者network，就会多出来一个tab，右键点击这个tab，选上Open this Network/Channel at Startup，便可以在chatzilla启动时自动连接这些站点或频道。关于theme，在chatzilla菜单栏View&#8211;&gt;Color scheme选择一个theme；关于字体，在View&#8211;&gt;Font Family and Size选择字体及大小。关于脚本，可以到<a href="http://czplugins.mozdev.org/appearance/">http://czplugins.mozdev.org/appearance/</a></p>
<p>…………………………………………</p>
<p>刚刚开始用ircs会有个签名认证的错误，提示self-signed certificate的错误，由于不会像mirc那样弹出确认窗口，所以想了半天，最后尝试用在firefox里面打开</p>
<p>https://cn.irc.net:****</p>
<p>然后确认的方式，这样再连有ssl的irc就不会出现错误了</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-11-13 -- <a href="http://jimey.com/2009/11/13/firefox-ubiquity-use-scholar-and-shooter-of-the-two-search-commands.html" title="Firefox.Ubiquity 用的scholar和shooter的2个搜索的命令">Firefox.Ubiquity 用的scholar和shooter的2个搜索的命令</a> (0)</li><li>2009-07-13 -- <a href="http://jimey.com/2009/07/13/south-korea-to-see-youkuu002639s-ssh-proxy-ip-address.html" title="韩国ip看youku之ssh代理解决">韩国ip看youku之ssh代理解决</a> (0)</li><li>2009-05-05 -- <a href="http://jimey.com/2009/05/05/mirc-amip-kmplayer-foul-significantly.html" title="mirc+AMIP+kmplayer臭显">mirc+AMIP+kmplayer臭显</a> (0)</li><li>2009-03-31 -- <a href="http://jimey.com/2009/03/31/spent-a-long-time-to-finish-auto.html" title="花了半天的时间写完auto">花了半天的时间写完auto</a> (2)</li><li>2009-03-30 -- <a href="http://jimey.com/2009/03/30/currently-in-use-firefox-ubiquity-command.html" title="目前在用的Firefox的Ubiquity Command">目前在用的Firefox的Ubiquity Command</a> (0)</li><li>2009-03-17 -- <a href="http://jimey.com/2009/03/17/ftprush-call-unrar-exe.html" title="ftprush中调用unrar.exe">ftprush中调用unrar.exe</a> (0)</li><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/life-hanging-net.html" title="挂网人生">挂网人生</a> (2)</li><li>2009-01-05 -- <a href="http://jimey.com/2009/01/05/ikunori-technology-news.html" title="几则科技新闻">几则科技新闻</a> (0)</li><li>2008-11-16 -- <a href="http://jimey.com/2008/11/16/middle-of-the-night-to-sleep.html" title="半夜睡觉">半夜睡觉</a> (4)</li><li>2008-09-30 -- <a href="http://jimey.com/2008/09/30/firefox-universal-uploader.html" title="Firefox Universal Uploader">Firefox Universal Uploader</a> (0)</li><li>2008-09-15 -- <a href="http://jimey.com/2008/09/15/firefox-in-the-u0026quotimmediate-switch-to-the-new-tabu0026quot-issue.html" title="firefox 中&ldquo;立即切换至新标签页&rdquo;问题">firefox 中&ldquo;立即切换至新标签页&rdquo;问题</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/07/chatzilla-the-irc-plugin-firefox.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling Your PC Speaker in Ubuntu</title>
		<link>http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html</link>
		<comments>http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html#comments</comments>
		<pubDate>Fri, 06 Mar 2009 18:53:47 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PC Speaker]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 8.04]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html</guid>
		<description><![CDATA[Like most people, I find that the PC speaker makes it&#8217;s incredibly rude noises at exactly the wrong times. You can make it be quiet for the time being by typing in the following at the command prompt: sudo modprobe -r pcspkr You can stop it forever by simply blacklisting the module. Edit /etc/modprobe.d/blacklist and [...... ]]></description>
			<content:encoded><![CDATA[<p>Like most people, I find that the <a href="http://jimey.com/tag/pc-speaker" class="st_tag internal_tag" rel="tag" title="Posts tagged with PC Speaker">PC speaker</a> makes it&#8217;s incredibly rude noises at exactly the wrong times. You can make it be quiet for the time being by typing in the following at the <a href="http://jimey.com/tag/command" class="st_tag internal_tag" rel="tag" title="Posts tagged with Command">command</a> prompt:</p>
<pre>sudo modprobe -r pcspkr</pre>
<p>You can stop it forever by simply blacklisting the module. Edit /etc/modprobe.d/blacklist and add this line:</p>
<pre>blacklist pcspkr</pre>
<p>&#160;</p>
<p>[<a href="http://eric.biven.us/2007/07/08/disabling-your-pc-speaker-in-ubuntu/" target="_blank">via</a>]</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-10-28 -- <a href="http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html" title="ubuntu 8.04版本编译rtorrent 0.85篇">ubuntu 8.04版本编译rtorrent 0.85篇</a> (0)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html" title="Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex">Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html" title="perl的CPAN权限问题">perl的CPAN权限问题</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-10-08 -- <a href="http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html" title="Ubuntu系统下格式化windows 分区">Ubuntu系统下格式化windows 分区</a> (0)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html" title="Ubuntu Ubuntu 8.04 LTS 配置笔记">Ubuntu Ubuntu 8.04 LTS 配置笔记</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/install-and-configuration-vsftpd-ftp-service-on-ubuntu-linux.html" title="install and configuration vsftpd ftp service on Ubuntu Linux">install and configuration vsftpd ftp service on Ubuntu Linux</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/in-the-ubuntu-install-configure-subversion-aapache.html" title="在Ubuntu上安装配置Subversion + Aapache">在Ubuntu上安装配置Subversion + Aapache</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html" title="How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04">How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
