<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>冰糖葫芦</title>
	
	<link>http://www.icycandy.com</link>
	<description>糖葫芦大战葫芦娃</description>
	<lastBuildDate>Thu, 27 Oct 2011 08:08:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/icycandy" /><feedburner:info uri="icycandy" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>icycandy</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Linux编译安装LAMP (CentOS 5.4 + httpd-2.2.21 + MySQL 5.0.77 + PHP 5.2.17)</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/E4qmLBulets/linux-compile-install-lamp</link>
		<comments>http://www.icycandy.com/blog/linux-compile-install-lamp#comments</comments>
		<pubDate>Sun, 16 Oct 2011 05:11:03 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11669</guid>
		<description><![CDATA[如果你能获得Linux的root权限，那么安装可以比这简单得多，几个yum或apt-get命令就搞定了 如果你不能获得root权限，但是系统是32位的，推荐考虑一下<a href="http://www.apachefriends.org/en/xampp.html">xampp</a>，是一个LAMP的集成包，直接下载、解压，就算安装完成了 xampp没有64位版本，所以64位Linux，而且没有root权限的我，就开始了下面的折腾。 <h2>1. 安装 httpd 2.2.21</h2> 官方下载地址 <a href="http://httpd.apache.org/download.cgi">http://httpd.apache.org/download.cgi</a> <pre lang="bash" escaped="true"> tar xzf httpd-2.2.21.tar.gz cd httpd-2.2.21 ./configure --prefix=/users/ghtang/lamp/apache --enable-so --enable-vhost-alias --enable-rewrite --enable-deflate --enable-mods-shared=all make make install </pre> <h2>2. 安装 MySQL 5.0.77</h2> 官方下载地址 <a href="http://www.mysql.com/downloads/mysql/">http://www.mysql.com/downloads/mysql/</a> 由于系统里已经安装好了MySQL，我这里就把这一步省略掉了。要查看详细的安装方法，可以参考本文最后给出的链接。 <h2>3. 安装 PHP 5.2.17</h2> 因为我要安装GD库，所以还要安装很多其他依赖的软件，先把依赖的软件安装好，最后再安装PHP。 (1) FreeType 2.4.6 官方下载地址 <a href="http://www.freetype.org/download.html">http://www.freetype.org/download.html</a> <pre lang="bash" escaped="true"> tar xjf freetype-2.4.6.tar.bz2 cd freetype-2.4.6 ./configure --prefix=/users/ghtang/lamp/freetype make make install </pre> (2) Libtool 2.2 官方下载地址 <a href="http://www.gnu.org/software/libtool/">http://www.gnu.org/software/libtool/</a> <pre lang="bash" escaped="true"> tar xzf libtool-2.2.tar.gz cd libtool-2.2 ./configure --prefix=/users/ghtang/lamp/libtool make make install </pre> (3) jpeg v6b 官方下载地址 <a href="http://www.ijg.org/">http://www.ijg.org/</a> <pre lang="bash" escaped="true"> tar xzf jpegsrc.v6b.tar.gz cd jpeg-6b/ ./configure --prefix=/users/ghtang/lamp/jpeg --enable-shared make make install </pre> 如果出现这个错误： <pre lang="bash" escaped="true"> make: ./libtool: Command not found </pre> 说明编译时找不到libtool，解决办法： <pre lang="bash" escaped="true"> ln -s /users/ghtang/lamp/libtool/bin/libtool libtool </pre> 如果出现类似这个错误 <pre lang="bash" escaped="true"> /usr/bin/install: cannot create regular file `/users/ghtang/lamp/jpeg/bin/cjpeg': No such file or directory </pre> 那么把缺少的目录手工创建好就可以了 <pre lang="bash" escaped="true"> mkdir /users/ghtang/lamp/jpeg/bin </pre> (4) zlib 1.2.5 官方下载地址 <a href="http://zlib.net/">http://zlib.net/</a> <pre lang="bash" escaped="true"> tar xzf zlib-1.2.5.tar.gz cd zlib-1.2.5 ./configure --prefix=/users/ghtang/lamp/zlib make make install </pre> (5) libpng 1.2.23 官方下载地址 <a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a> <pre lang="bash" escaped="true"> tar xzf libpng-1.2.23.tar.gz cd libpng-1.2.23 ./configure --prefix=/users/ghtang/lamp/libpng make make install </pre> (6) gettext 0.17 官方下载地址 <a href="http://www.gnu.org/s/gettext/">http://www.gnu.org/s/gettext/</a> <pre lang="bash" escaped="true"> tar xzf gettext-0.17.tar.gz cd gettext-0.17 ./configure --prefix=/users/ghtang/lamp/gettext make make install </pre> (7) LibGD 2.0.35 官方网站<a href="http://www.boutell.com/gd/">http://www.boutell.com/gd/</a>没有这个版本，直接google一下文件名就能找到下载 <pre lang="bash" escaped="true"> tar xzf gd-2.0.35.tar.gz cd gd-2.0.35 ./configure --prefix=/users/ghtang/lamp/gd --with-jpeg=/users/ghtang/lamp/jpeg --with-png=/users/ghtang/lamp/libpng --with-zlib=/users/ghtang/lamp/zlib --with-freetype=/users/ghtang/lamp/freetype make make install </pre> (8) PHP 5.2.17 官方下载地址 <a href="http://www.php.net/downloads.php">http://www.php.net/downloads.php</a> 安装完所有依赖后，终于可以开始安装PHP了 <pre lang="bash" escaped="true"> tar xzf php-5.2.17.tar.gz cd php-5.2.17 ./configure --prefix=/users/ghtang/lamp/php --with-apxs2=/users/ghtang/lamp/apache/bin/apxs --with-mysql=/usr/bin/mysql --with-gd=/users/ghtang/lamp/gd --enable-gd-native-ttf --with-jpeg-dir=/users/ghtang/lamp/jpeg --with-png-dir=/users/ghtang/lamp/libpng --with-freetype-dir=/users/ghtang/lamp/freetype --with-zlib=/users/ghtang/lamp/zlib make make install </pre> 这里如果出现类似下面的错误 <pre lang="bash" escaped="true"> /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient </pre> 说明系统里面有32位和64位的.so文件，php安装时找到的.so是32位的，和64位不兼容。在./configure时加上下面的参数可以解决这个问题。 <pre lang="bash" escaped="true"> --with-libdir=lib64 </pre> <h2>4. 启动apache</h2> 在安装完php后，还需要在apache里面进行配置才能识别.php文件 <pre lang="bash" escaped="true"> # Make sure there's only **1** line for each of these 2 directives: # Use for PHP 4.x: #LoadModule php4_module modules/libphp4.so #AddHandler php-script .php # Use for PHP 5.x: LoadModule php5_module modules/libphp5.so AddHandler php5-script .php # Add index.php to your DirectoryIndex line: DirectoryIndex index.html index.php AddType text/html .php # PHP Syntax Coloring # (optional but useful for reading PHP source for debugging): AddType application/x-httpd-php-source phps </pre> 配置完成，开始启动apache <pre lang="bash" escaped="true"> apache/bin/apachectl start </pre> 如果出现这样的错误信息： <pre lang="bash" escaped="true"> (13)Permission denied: make_sock: could not bind to address [::]:80 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 </pre> 有可能是系统不允许普通用户绑定80端口，那么编辑apache的配置文件 apache/bin/httpd.conf ，将80端口换成其他端口(比如8877端口)即可。 <h2>5. 参考资料</h2> [1]. <a href="http://swengineer.iteye.com/blog/1103459">http://swengineer.iteye.com/blog/1103459</a> [2]. <a href="http://php.net/manual/en/image.installation.php">http://php.net/manual/en/image.installation.php</a> [3]. <a href="http://www.vr.org/knowledgebase/4362/CentOS-5-64-bit--configure-error-ZLIB-extension-requires-zlib-equals-109-or-orusrorbinorld-skipping-incompatible-orusrorliborlibmso-when-searching-for--lm.html">http://www.vr.org/knowledgebase/4362/CentOS-5-64-bit--configure-error-ZLIB-extension-requires-zlib-equals-109-or-orusrorbinorld-skipping-incompatible-orusrorliborlibmso-when-searching-for--lm.html</a> [4]. <a href="http://dan.drydog.com/apache2php.html">http://dan.drydog.com/apache2php.html</a> ]]></description>
			<content:encoded><![CDATA[<p>如果你能获得Linux的root权限，那么安装可以比这简单得多，几个yum或apt-get命令就搞定了<br />
如果你不能获得root权限，但是系统是32位的，推荐考虑一下<a href="http://www.apachefriends.org/en/xampp.html">xampp</a>，是一个LAMP的集成包，直接下载、解压，就算安装完成了</p>
<p>xampp没有64位版本，所以64位Linux，而且没有root权限的我，就开始了下面的折腾。</p>
<h2>1. 安装 httpd 2.2.21</h2>
<p>官方下载地址 <a href="http://httpd.apache.org/download.cgi">http://httpd.apache.org/download.cgi</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf httpd-2.2.21.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> httpd-2.2.21
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>apache <span style="color: #660033;">--enable-so</span> <span style="color: #660033;">--enable-vhost-alias</span> <span style="color: #660033;">--enable-rewrite</span> <span style="color: #660033;">--enable-deflate</span> <span style="color: #660033;">--enable-mods-shared</span>=all
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<h2>2. 安装 MySQL 5.0.77</h2>
<p>官方下载地址 <a href="http://www.mysql.com/downloads/mysql/">http://www.mysql.com/downloads/mysql/</a><br />
由于系统里已经安装好了MySQL，我这里就把这一步省略掉了。要查看详细的安装方法，可以参考本文最后给出的链接。</p>
<h2>3. 安装 PHP 5.2.17</h2>
<p>因为我要安装GD库，所以还要安装很多其他依赖的软件，先把依赖的软件安装好，最后再安装PHP。</p>
<p>(1) FreeType 2.4.6<br />
官方下载地址 <a href="http://www.freetype.org/download.html">http://www.freetype.org/download.html</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xjf freetype-2.4.6.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> freetype-2.4.6
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>freetype
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>(2) Libtool 2.2<br />
官方下载地址 <a href="http://www.gnu.org/software/libtool/">http://www.gnu.org/software/libtool/</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf libtool-<span style="color: #000000;">2.2</span>.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libtool-<span style="color: #000000;">2.2</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>libtool
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>(3) jpeg v6b<br />
官方下载地址 <a href="http://www.ijg.org/">http://www.ijg.org/</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf jpegsrc.v6b.tar.gz 
<span style="color: #7a0874; font-weight: bold;">cd</span> jpeg-6b<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>jpeg <span style="color: #660033;">--enable-shared</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>如果出现这个错误：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>: .<span style="color: #000000; font-weight: bold;">/</span>libtool: Command not found</pre></div></div>

<p>说明编译时找不到libtool，解决办法：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>libtool<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>libtool libtool</pre></div></div>

<p>如果出现类似这个错误</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">install</span>: cannot create regular <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">`/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>jpeg<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>cjpeg<span style="color: #ff0000;">': No such file or directory</span></pre></div></div>

<p>那么把缺少的目录手工创建好就可以了</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>jpeg<span style="color: #000000; font-weight: bold;">/</span>bin</pre></div></div>

<p>(4) zlib 1.2.5<br />
官方下载地址 <a href="http://zlib.net/">http://zlib.net/</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf zlib-1.2.5.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> zlib-1.2.5
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>zlib
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>(5) libpng 1.2.23<br />
官方下载地址 <a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf libpng-1.2.23.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libpng-1.2.23
 .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>libpng
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>(6) gettext 0.17<br />
官方下载地址 <a href="http://www.gnu.org/s/gettext/">http://www.gnu.org/s/gettext/</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf gettext-<span style="color: #000000;">0.17</span>.tar.gz 
<span style="color: #7a0874; font-weight: bold;">cd</span> gettext-<span style="color: #000000;">0.17</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gettext</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>(7) LibGD 2.0.35<br />
官方网站<a href="http://www.boutell.com/gd/">http://www.boutell.com/gd/</a>没有这个版本，直接google一下文件名就能找到下载</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf gd-2.0.35.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> gd-2.0.35
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>gd <span style="color: #660033;">--with-jpeg</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>jpeg <span style="color: #660033;">--with-png</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>libpng <span style="color: #660033;">--with-zlib</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>zlib <span style="color: #660033;">--with-freetype</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>freetype
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>(8) PHP 5.2.17<br />
官方下载地址 <a href="http://www.php.net/downloads.php">http://www.php.net/downloads.php</a><br />
安装完所有依赖后，终于可以开始安装PHP了</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xzf php-5.2.17.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> php-5.2.17
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>php <span style="color: #660033;">--with-apxs2</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>apache<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>apxs <span style="color: #660033;">--with-mysql</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mysql <span style="color: #660033;">--with-gd</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>gd <span style="color: #660033;">--enable-gd-native-ttf</span> <span style="color: #660033;">--with-jpeg-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>jpeg <span style="color: #660033;">--with-png-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>libpng <span style="color: #660033;">--with-freetype-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>freetype <span style="color: #660033;">--with-zlib</span>=<span style="color: #000000; font-weight: bold;">/</span>users<span style="color: #000000; font-weight: bold;">/</span>ghtang<span style="color: #000000; font-weight: bold;">/</span>lamp<span style="color: #000000; font-weight: bold;">/</span>zlib
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>这里如果出现类似下面的错误</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ld</span>: skipping incompatible <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>libmysqlclient.so when searching <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #660033;">-lmysqlclient</span></pre></div></div>

<p>说明系统里面有32位和64位的.so文件，php安装时找到的.so是32位的，和64位不兼容。在./configure时加上下面的参数可以解决这个问题。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">--with-libdir</span>=lib64</pre></div></div>

<h2>4. 启动apache</h2>
<p>在安装完php后，还需要在apache里面进行配置才能识别.php文件</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Make sure there's only **1** line for each of these 2 directives:</span>
<span style="color: #666666; font-style: italic;"># Use for PHP 4.x:</span>
<span style="color: #666666; font-style: italic;">#LoadModule php4_module	modules/libphp4.so</span>
<span style="color: #666666; font-style: italic;">#AddHandler php-script	.php</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Use for PHP 5.x:</span>
LoadModule php5_module	modules<span style="color: #000000; font-weight: bold;">/</span>libphp5.so
AddHandler php5-script	.php 
&nbsp;
<span style="color: #666666; font-style: italic;"># Add index.php to your DirectoryIndex line:</span>
DirectoryIndex index.html index.php
&nbsp;
AddType text<span style="color: #000000; font-weight: bold;">/</span>html	.php
&nbsp;
<span style="color: #666666; font-style: italic;"># PHP Syntax Coloring</span>
<span style="color: #666666; font-style: italic;"># (optional but useful for reading PHP source for debugging):</span>
AddType application<span style="color: #000000; font-weight: bold;">/</span>x-httpd-php-source phps</pre></div></div>

<p>配置完成，开始启动apache</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">apache<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>apachectl start</pre></div></div>

<p>如果出现这样的错误信息：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">13</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>Permission denied: make_sock: could not <span style="color: #7a0874; font-weight: bold;">bind</span> to address <span style="color: #7a0874; font-weight: bold;">&#91;</span>::<span style="color: #7a0874; font-weight: bold;">&#93;</span>:<span style="color: #000000;">80</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">13</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>Permission denied: make_sock: could not <span style="color: #7a0874; font-weight: bold;">bind</span> to address 0.0.0.0:<span style="color: #000000;">80</span></pre></div></div>

<p>有可能是系统不允许普通用户绑定80端口，那么编辑apache的配置文件 apache/bin/httpd.conf ，将80端口换成其他端口(比如8877端口)即可。</p>
<h2>5. 参考资料</h2>
<p>[1]. <a href="http://swengineer.iteye.com/blog/1103459">http://swengineer.iteye.com/blog/1103459</a><br />
[2]. <a href="http://php.net/manual/en/image.installation.php">http://php.net/manual/en/image.installation.php</a><br />
[3]. <a href="http://www.vr.org/knowledgebase/4362/CentOS-5-64-bit--configure-error-ZLIB-extension-requires-zlib-equals-109-or-orusrorbinorld-skipping-incompatible-orusrorliborlibmso-when-searching-for--lm.html">http://www.vr.org/knowledgebase/4362/CentOS-5-64-bit&#8211;configure-error-ZLIB-extension-requires-zlib-equals-109-or-orusrorbinorld-skipping-incompatible-orusrorliborlibmso-when-searching-for&#8211;lm.html</a><br />
[4]. <a href="http://dan.drydog.com/apache2php.html">http://dan.drydog.com/apache2php.html</a></p>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp&amp;title=Linux%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85LAMP%20%28CentOS%205.4%20%2B%20httpd-2.2.21%20%2B%20MySQL%205.0.77%20%2B%20PHP%205.2.17%29&amp;bodytext=%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%83%BD%E8%8E%B7%E5%BE%97Linux%E7%9A%84root%E6%9D%83%E9%99%90%EF%BC%8C%E9%82%A3%E4%B9%88%E5%AE%89%E8%A3%85%E5%8F%AF%E4%BB%A5%E6%AF%94%E8%BF%99%E7%AE%80%E5%8D%95%E5%BE%97%E5%A4%9A%EF%BC%8C%E5%87%A0%E4%B8%AAyum%E6%88%96apt-get%E5%91%BD%E4%BB%A4%E5%B0%B1%E6%90%9E%E5%AE%9A%E4%BA%86%0D%0A%E5%A6%82%E6%9E%9C%E4%BD%A0%E4%B8%8D%E8%83%BD%E8%8E%B7%E5%BE%97root%E6%9D%83%E9%99%90%EF%BC%8C%E4%BD%86%E6%98%AF%E7%B3%BB%E7%BB%9F%E6%98%AF32%E4%BD%8D%E7%9A%84%EF%BC%8C%E6%8E%A8%E8%8D%90%E8%80%83%E8%99%91%E4%B8%80%E4%B8%8Bxampp%EF%BC%8C%E6%98%AF%E4%B8%80%E4%B8%AALAMP%E7%9A%84%E9%9B%86%E6%88%90%E5%8C%85%EF%BC%8C%E7%9B%B4%E6%8E%A5%E4%B8%8B%E8%BD%BD%E3%80%81%E8%A7%A3%E5" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp&amp;title=Linux%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85LAMP%20%28CentOS%205.4%20%2B%20httpd-2.2.21%20%2B%20MySQL%205.0.77%20%2B%20PHP%205.2.17%29" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp&amp;title=Linux%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85LAMP%20%28CentOS%205.4%20%2B%20httpd-2.2.21%20%2B%20MySQL%205.0.77%20%2B%20PHP%205.2.17%29&amp;notes=%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%83%BD%E8%8E%B7%E5%BE%97Linux%E7%9A%84root%E6%9D%83%E9%99%90%EF%BC%8C%E9%82%A3%E4%B9%88%E5%AE%89%E8%A3%85%E5%8F%AF%E4%BB%A5%E6%AF%94%E8%BF%99%E7%AE%80%E5%8D%95%E5%BE%97%E5%A4%9A%EF%BC%8C%E5%87%A0%E4%B8%AAyum%E6%88%96apt-get%E5%91%BD%E4%BB%A4%E5%B0%B1%E6%90%9E%E5%AE%9A%E4%BA%86%0D%0A%E5%A6%82%E6%9E%9C%E4%BD%A0%E4%B8%8D%E8%83%BD%E8%8E%B7%E5%BE%97root%E6%9D%83%E9%99%90%EF%BC%8C%E4%BD%86%E6%98%AF%E7%B3%BB%E7%BB%9F%E6%98%AF32%E4%BD%8D%E7%9A%84%EF%BC%8C%E6%8E%A8%E8%8D%90%E8%80%83%E8%99%91%E4%B8%80%E4%B8%8Bxampp%EF%BC%8C%E6%98%AF%E4%B8%80%E4%B8%AALAMP%E7%9A%84%E9%9B%86%E6%88%90%E5%8C%85%EF%BC%8C%E7%9B%B4%E6%8E%A5%E4%B8%8B%E8%BD%BD%E3%80%81%E8%A7%A3%E5" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp&amp;t=Linux%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85LAMP%20%28CentOS%205.4%20%2B%20httpd-2.2.21%20%2B%20MySQL%205.0.77%20%2B%20PHP%205.2.17%29" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Linux%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85LAMP%20%28CentOS%205.4%20%2B%20httpd-2.2.21%20%2B%20MySQL%205.0.77%20%2B%20PHP%205.2.17%29%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp&amp;title=Linux%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85LAMP%20%28CentOS%205.4%20%2B%20httpd-2.2.21%20%2B%20MySQL%205.0.77%20%2B%20PHP%205.2.17%29&amp;annotation=%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%83%BD%E8%8E%B7%E5%BE%97Linux%E7%9A%84root%E6%9D%83%E9%99%90%EF%BC%8C%E9%82%A3%E4%B9%88%E5%AE%89%E8%A3%85%E5%8F%AF%E4%BB%A5%E6%AF%94%E8%BF%99%E7%AE%80%E5%8D%95%E5%BE%97%E5%A4%9A%EF%BC%8C%E5%87%A0%E4%B8%AAyum%E6%88%96apt-get%E5%91%BD%E4%BB%A4%E5%B0%B1%E6%90%9E%E5%AE%9A%E4%BA%86%0D%0A%E5%A6%82%E6%9E%9C%E4%BD%A0%E4%B8%8D%E8%83%BD%E8%8E%B7%E5%BE%97root%E6%9D%83%E9%99%90%EF%BC%8C%E4%BD%86%E6%98%AF%E7%B3%BB%E7%BB%9F%E6%98%AF32%E4%BD%8D%E7%9A%84%EF%BC%8C%E6%8E%A8%E8%8D%90%E8%80%83%E8%99%91%E4%B8%80%E4%B8%8Bxampp%EF%BC%8C%E6%98%AF%E4%B8%80%E4%B8%AALAMP%E7%9A%84%E9%9B%86%E6%88%90%E5%8C%85%EF%BC%8C%E7%9B%B4%E6%8E%A5%E4%B8%8B%E8%BD%BD%E3%80%81%E8%A7%A3%E5" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=Linux%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85LAMP%20%28CentOS%205.4%20%2B%20httpd-2.2.21%20%2B%20MySQL%205.0.77%20%2B%20PHP%205.2.17%29&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp&amp;title=Linux%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85LAMP%20%28CentOS%205.4%20%2B%20httpd-2.2.21%20%2B%20MySQL%205.0.77%20%2B%20PHP%205.2.17%29&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Flinux-compile-install-lamp" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=E4qmLBulets:qSDb_-aNxz0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=E4qmLBulets:qSDb_-aNxz0:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/E4qmLBulets" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/linux-compile-install-lamp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/linux-compile-install-lamp</feedburner:origLink></item>
		<item>
		<title>Fedora 15 Lovelock 正式发布</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/SWGxt09O1-E/fedora-15-lovelock-released</link>
		<comments>http://www.icycandy.com/blog/fedora-15-lovelock-released#comments</comments>
		<pubDate>Tue, 24 May 2011 15:36:51 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora 15]]></category>
		<category><![CDATA[GNOME 3]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11633</guid>
		<description><![CDATA[Fedora 15 Lovelock 正式发布，最期待的就是GNOME 3啊，明天去装个试试。 <a href="https://fedoraproject.org/wiki/Fedora_15_announcement/zh">中文发布公告</a>，<a href="http://fedoraproject.org/get-fedora">官方下载页面</a> [caption id="attachment_11634" align="alignnone" width="745" caption="Fedora 15 海报"]<img src="http://www.icycandy.com/wp-content/uploads/2011/05/110523060890831.png" alt="Fedora 15 海报" title="Fedora 15 海报" width="745" height="1053" class="size-full wp-image-11634" />[/caption] ]]></description>
			<content:encoded><![CDATA[<p>Fedora 15 Lovelock 正式发布，最期待的就是GNOME 3啊，明天去装个试试。</p>
<p><a href="https://fedoraproject.org/wiki/Fedora_15_announcement/zh">中文发布公告</a>，<a href="http://fedoraproject.org/get-fedora">官方下载页面</a></p>
<div id="attachment_11634" class="wp-caption alignnone" style="width: 755px"><img src="http://www.icycandy.com/wp-content/uploads/2011/05/110523060890831.png" alt="Fedora 15 海报" title="Fedora 15 海报" width="745" height="1053" class="size-full wp-image-11634" /><p class="wp-caption-text">Fedora 15 海报</p></div>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released&amp;title=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83&amp;bodytext=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83%EF%BC%8C%E6%9C%80%E6%9C%9F%E5%BE%85%E7%9A%84%E5%B0%B1%E6%98%AFGNOME%203%E5%95%8A%EF%BC%8C%E6%98%8E%E5%A4%A9%E5%8E%BB%E8%A3%85%E4%B8%AA%E8%AF%95%E8%AF%95%E3%80%82%0D%0A%0D%0A%E4%B8%AD%E6%96%87%E5%8F%91%E5%B8%83%E5%85%AC%E5%91%8A%EF%BC%8C%E5%AE%98%E6%96%B9%E4%B8%8B%E8%BD%BD%E9%A1%B5%E9%9D%A2%0D%0A%0D%0A" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released&amp;title=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released&amp;title=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83&amp;notes=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83%EF%BC%8C%E6%9C%80%E6%9C%9F%E5%BE%85%E7%9A%84%E5%B0%B1%E6%98%AFGNOME%203%E5%95%8A%EF%BC%8C%E6%98%8E%E5%A4%A9%E5%8E%BB%E8%A3%85%E4%B8%AA%E8%AF%95%E8%AF%95%E3%80%82%0D%0A%0D%0A%E4%B8%AD%E6%96%87%E5%8F%91%E5%B8%83%E5%85%AC%E5%91%8A%EF%BC%8C%E5%AE%98%E6%96%B9%E4%B8%8B%E8%BD%BD%E9%A1%B5%E9%9D%A2%0D%0A%0D%0A" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released&amp;t=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released&amp;title=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83&amp;annotation=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83%EF%BC%8C%E6%9C%80%E6%9C%9F%E5%BE%85%E7%9A%84%E5%B0%B1%E6%98%AFGNOME%203%E5%95%8A%EF%BC%8C%E6%98%8E%E5%A4%A9%E5%8E%BB%E8%A3%85%E4%B8%AA%E8%AF%95%E8%AF%95%E3%80%82%0D%0A%0D%0A%E4%B8%AD%E6%96%87%E5%8F%91%E5%B8%83%E5%85%AC%E5%91%8A%EF%BC%8C%E5%AE%98%E6%96%B9%E4%B8%8B%E8%BD%BD%E9%A1%B5%E9%9D%A2%0D%0A%0D%0A" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released&amp;title=Fedora%2015%20Lovelock%20%E6%AD%A3%E5%BC%8F%E5%8F%91%E5%B8%83&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-lovelock-released" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=SWGxt09O1-E:UrM6jB3iXbg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=SWGxt09O1-E:UrM6jB3iXbg:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/SWGxt09O1-E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/fedora-15-lovelock-released/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/fedora-15-lovelock-released</feedburner:origLink></item>
		<item>
		<title>雨</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/TXz2Jya2QA8/rainy-season</link>
		<comments>http://www.icycandy.com/blog/rainy-season#comments</comments>
		<pubDate>Sat, 23 Apr 2011 11:49:20 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Daily Life]]></category>
		<category><![CDATA[梅雨]]></category>
		<category><![CDATA[考试]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11620</guid>
		<description><![CDATA[在哈尔滨这么久，映象中从来没见过下这么长时间的雨。一天接着一天，像极了南方的梅雨时节。 很多课程陆陆续续结课了，做个备忘吧，感谢小谢同学整理。 <a href="http://hi.baidu.com/foricee">foricee</a>说：接下来20天，天昏地暗的啊！ 一. 算法考试（老师的意思尽早考，传闻5.3）：排序、在线算法不考 二. 人工智能 下周四复习 传闻5.9考试 5.4 交两个实验报告 三. 机器学习 5.10 考试 5.12 交两个实验报告 四, 数据挖掘 选修的同学不考试，学位课的同学需要考试。据说题目和平常交纸条的题目一样。 五.信息内容安全，和<a href="http://blog.csdn.net/luoleicn/">luoleicn</a>、<a href="http://www.douban.com/people/45961565/">spike</a>、<a href="http://hi.baidu.com/foricee">foricee</a>一组 下周三，最后一节 翻译论文 小组搜集信息，整理报告（5.1之后马上讲，好像每个人讲自己负责的那块。具体分工群分享里有） 六.知识工程与专家系统，好像是和<a href="http://www.douban.com/people/sunloveworld/">彪叔</a>一组 小组翻译论文。ppt。presentation 七.web抽取，和小谢、<a href="http://www.douban.com/people/45961565/">spike</a>一组 下周三交实验？下周二最后一节。老师貌似还要考试的样子 八.软件实践。下周要开始上课了？ 九.项目评价管理。6.1之前交报告 十.新型分布式计算 开卷考试，时间不详；貌似五一之前交实验报告 ]]></description>
			<content:encoded><![CDATA[<p>在哈尔滨这么久，映象中从来没见过下这么长时间的雨。一天接着一天，像极了南方的梅雨时节。</p>
<p>很多课程陆陆续续结课了，做个备忘吧，感谢小谢同学整理。<br />
<a href="http://hi.baidu.com/foricee">foricee</a>说：接下来20天，天昏地暗的啊！</p>
<p>一. 算法考试（老师的意思尽早考，传闻5.3）：排序、在线算法不考</p>
<p>二. 人工智能<br />
     下周四复习<br />
     传闻5.9考试<br />
     5.4 交两个实验报告</p>
<p>三. 机器学习<br />
     5.10 考试<br />
     5.12 交两个实验报告</p>
<p>四, 数据挖掘<br />
    选修的同学不考试，学位课的同学需要考试。据说题目和平常交纸条的题目一样。</p>
<p>五.信息内容安全，和<a href="http://blog.csdn.net/luoleicn/">luoleicn</a>、<a href="http://www.douban.com/people/45961565/">spike</a>、<a href="http://hi.baidu.com/foricee">foricee</a>一组<br />
     下周三，最后一节<br />
      翻译论文<br />
      小组搜集信息，整理报告（5.1之后马上讲，好像每个人讲自己负责的那块。具体分工群分享里有）</p>
<p>六.知识工程与专家系统，好像是和<a href="http://www.douban.com/people/sunloveworld/">彪叔</a>一组<br />
    小组翻译论文。ppt。presentation</p>
<p>七.web抽取，和小谢、<a href="http://www.douban.com/people/45961565/">spike</a>一组<br />
下周三交实验？下周二最后一节。老师貌似还要考试的样子</p>
<p>八.软件实践。下周要开始上课了？</p>
<p>九.项目评价管理。6.1之前交报告</p>
<p>十.新型分布式计算<br />
开卷考试，时间不详；貌似五一之前交实验报告</p>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season&amp;title=%E9%9B%A8&amp;bodytext=%E5%9C%A8%E5%93%88%E5%B0%94%E6%BB%A8%E8%BF%99%E4%B9%88%E4%B9%85%EF%BC%8C%E6%98%A0%E8%B1%A1%E4%B8%AD%E4%BB%8E%E6%9D%A5%E6%B2%A1%E8%A7%81%E8%BF%87%E4%B8%8B%E8%BF%99%E4%B9%88%E9%95%BF%E6%97%B6%E9%97%B4%E7%9A%84%E9%9B%A8%E3%80%82%E4%B8%80%E5%A4%A9%E6%8E%A5%E7%9D%80%E4%B8%80%E5%A4%A9%EF%BC%8C%E5%83%8F%E6%9E%81%E4%BA%86%E5%8D%97%E6%96%B9%E7%9A%84%E6%A2%85%E9%9B%A8%E6%97%B6%E8%8A%82%E3%80%82%0D%0A%0D%0A%E5%BE%88%E5%A4%9A%E8%AF%BE%E7%A8%8B%E9%99%86%E9%99%86%E7%BB%AD%E7%BB%AD%E7%BB%93%E8%AF%BE%E4%BA%86%EF%BC%8C%E5%81%9A%E4%B8%AA%E5%A4%87%E5%BF%98%E5%90%A7%EF%BC%8C%E6%84%9F%E8%B0%A2%E5%B0%8F%E8%B0%A2%E5%90%8C%E5%AD%A6%E6%95%B4%E7%90%86%E3%80%82%0D%0Aforicee%E8%AF%B4%EF%BC%9A%E6%8E%A5%E4%B8%8B%E6%9D%A520%E5%A4%A9%EF%BC%8C%E5%A4%A9%E6" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season&amp;title=%E9%9B%A8" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season&amp;title=%E9%9B%A8&amp;notes=%E5%9C%A8%E5%93%88%E5%B0%94%E6%BB%A8%E8%BF%99%E4%B9%88%E4%B9%85%EF%BC%8C%E6%98%A0%E8%B1%A1%E4%B8%AD%E4%BB%8E%E6%9D%A5%E6%B2%A1%E8%A7%81%E8%BF%87%E4%B8%8B%E8%BF%99%E4%B9%88%E9%95%BF%E6%97%B6%E9%97%B4%E7%9A%84%E9%9B%A8%E3%80%82%E4%B8%80%E5%A4%A9%E6%8E%A5%E7%9D%80%E4%B8%80%E5%A4%A9%EF%BC%8C%E5%83%8F%E6%9E%81%E4%BA%86%E5%8D%97%E6%96%B9%E7%9A%84%E6%A2%85%E9%9B%A8%E6%97%B6%E8%8A%82%E3%80%82%0D%0A%0D%0A%E5%BE%88%E5%A4%9A%E8%AF%BE%E7%A8%8B%E9%99%86%E9%99%86%E7%BB%AD%E7%BB%AD%E7%BB%93%E8%AF%BE%E4%BA%86%EF%BC%8C%E5%81%9A%E4%B8%AA%E5%A4%87%E5%BF%98%E5%90%A7%EF%BC%8C%E6%84%9F%E8%B0%A2%E5%B0%8F%E8%B0%A2%E5%90%8C%E5%AD%A6%E6%95%B4%E7%90%86%E3%80%82%0D%0Aforicee%E8%AF%B4%EF%BC%9A%E6%8E%A5%E4%B8%8B%E6%9D%A520%E5%A4%A9%EF%BC%8C%E5%A4%A9%E6" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season&amp;t=%E9%9B%A8" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=%E9%9B%A8%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season&amp;title=%E9%9B%A8&amp;annotation=%E5%9C%A8%E5%93%88%E5%B0%94%E6%BB%A8%E8%BF%99%E4%B9%88%E4%B9%85%EF%BC%8C%E6%98%A0%E8%B1%A1%E4%B8%AD%E4%BB%8E%E6%9D%A5%E6%B2%A1%E8%A7%81%E8%BF%87%E4%B8%8B%E8%BF%99%E4%B9%88%E9%95%BF%E6%97%B6%E9%97%B4%E7%9A%84%E9%9B%A8%E3%80%82%E4%B8%80%E5%A4%A9%E6%8E%A5%E7%9D%80%E4%B8%80%E5%A4%A9%EF%BC%8C%E5%83%8F%E6%9E%81%E4%BA%86%E5%8D%97%E6%96%B9%E7%9A%84%E6%A2%85%E9%9B%A8%E6%97%B6%E8%8A%82%E3%80%82%0D%0A%0D%0A%E5%BE%88%E5%A4%9A%E8%AF%BE%E7%A8%8B%E9%99%86%E9%99%86%E7%BB%AD%E7%BB%AD%E7%BB%93%E8%AF%BE%E4%BA%86%EF%BC%8C%E5%81%9A%E4%B8%AA%E5%A4%87%E5%BF%98%E5%90%A7%EF%BC%8C%E6%84%9F%E8%B0%A2%E5%B0%8F%E8%B0%A2%E5%90%8C%E5%AD%A6%E6%95%B4%E7%90%86%E3%80%82%0D%0Aforicee%E8%AF%B4%EF%BC%9A%E6%8E%A5%E4%B8%8B%E6%9D%A520%E5%A4%A9%EF%BC%8C%E5%A4%A9%E6" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=%E9%9B%A8&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season&amp;title=%E9%9B%A8&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Frainy-season" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=TXz2Jya2QA8:ElIPrftP5AM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=TXz2Jya2QA8:ElIPrftP5AM:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/TXz2Jya2QA8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/rainy-season/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/rainy-season</feedburner:origLink></item>
		<item>
		<title>Fedora 15 Countdown</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/uL2-aNg_GeM/fedora-15-countdown</link>
		<comments>http://www.icycandy.com/blog/fedora-15-countdown#comments</comments>
		<pubDate>Wed, 20 Apr 2011 06:33:54 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11608</guid>
		<description><![CDATA[Fedora 15的开发代号叫做Lovelock，爱之锁，多么有爱的名字。Fedora 15在今天发布了beta版本，最终正式版将在5月24号发布。<a href="http://fedoraproject.org/wiki/Releases/15/Schedule">详细时间表</a>和<a href="http://fedoraproject.org/wiki/FeatureList">详细特性</a>可以在官方网站上找到。 如果你也喜欢Fedora 15，不妨在你的博客上加个倒计时的小挂件吧。样式见右侧。 <pre lang="javascript"> <script id="fedora-banner" src="http://fedoraproject.org/static/js/release-counter-ext.js?lang=en" type="text/javascript"></script> </pre> ]]></description>
			<content:encoded><![CDATA[<p>Fedora 15的开发代号叫做Lovelock，爱之锁，多么有爱的名字。Fedora 15在今天发布了beta版本，最终正式版将在5月24号发布。<a href="http://fedoraproject.org/wiki/Releases/15/Schedule">详细时间表</a>和<a href="http://fedoraproject.org/wiki/FeatureList">详细特性</a>可以在官方网站上找到。</p>
<p>如果你也喜欢Fedora 15，不妨在你的博客上加个倒计时的小挂件吧。样式见右侧。</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;fedora-banner&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://fedoraproject.org/static/js/release-counter-ext.js?lang=en&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown&amp;title=Fedora%2015%20Countdown&amp;bodytext=Fedora%2015%E7%9A%84%E5%BC%80%E5%8F%91%E4%BB%A3%E5%8F%B7%E5%8F%AB%E5%81%9ALovelock%EF%BC%8C%E7%88%B1%E4%B9%8B%E9%94%81%EF%BC%8C%E5%A4%9A%E4%B9%88%E6%9C%89%E7%88%B1%E7%9A%84%E5%90%8D%E5%AD%97%E3%80%82Fedora%2015%E5%9C%A8%E4%BB%8A%E5%A4%A9%E5%8F%91%E5%B8%83%E4%BA%86beta%E7%89%88%E6%9C%AC%EF%BC%8C%E6%9C%80%E7%BB%88%E6%AD%A3%E5%BC%8F%E7%89%88%E5%B0%86%E5%9C%A85%E6%9C%8824%E5%8F%B7%E5%8F%91%E5%B8%83%E3%80%82%E8%AF%A6%E7%BB%86%E6%97%B6%E9%97%B4%E8%A1%A8%E5%92%8C%E8%AF%A6%E7%BB%86%E7%89%B9%E6%80%A7%E5%8F%AF%E4%BB%A5%E5%9C%A8%E5%AE%98%E6%96%B9%E7%BD%91%E7%AB%99%E4%B8%8A%E6%89%BE%E5%88%B0%E3%80%82%0D%0A%0D%0A%E5%A6%82%E6%9E%9C%E4%BD%A0%E4%B9%9F%E5%96%9C%E6%AC%A2Fedora%2015" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown&amp;title=Fedora%2015%20Countdown" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown&amp;title=Fedora%2015%20Countdown&amp;notes=Fedora%2015%E7%9A%84%E5%BC%80%E5%8F%91%E4%BB%A3%E5%8F%B7%E5%8F%AB%E5%81%9ALovelock%EF%BC%8C%E7%88%B1%E4%B9%8B%E9%94%81%EF%BC%8C%E5%A4%9A%E4%B9%88%E6%9C%89%E7%88%B1%E7%9A%84%E5%90%8D%E5%AD%97%E3%80%82Fedora%2015%E5%9C%A8%E4%BB%8A%E5%A4%A9%E5%8F%91%E5%B8%83%E4%BA%86beta%E7%89%88%E6%9C%AC%EF%BC%8C%E6%9C%80%E7%BB%88%E6%AD%A3%E5%BC%8F%E7%89%88%E5%B0%86%E5%9C%A85%E6%9C%8824%E5%8F%B7%E5%8F%91%E5%B8%83%E3%80%82%E8%AF%A6%E7%BB%86%E6%97%B6%E9%97%B4%E8%A1%A8%E5%92%8C%E8%AF%A6%E7%BB%86%E7%89%B9%E6%80%A7%E5%8F%AF%E4%BB%A5%E5%9C%A8%E5%AE%98%E6%96%B9%E7%BD%91%E7%AB%99%E4%B8%8A%E6%89%BE%E5%88%B0%E3%80%82%0D%0A%0D%0A%E5%A6%82%E6%9E%9C%E4%BD%A0%E4%B9%9F%E5%96%9C%E6%AC%A2Fedora%2015" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown&amp;t=Fedora%2015%20Countdown" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Fedora%2015%20Countdown%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown&amp;title=Fedora%2015%20Countdown&amp;annotation=Fedora%2015%E7%9A%84%E5%BC%80%E5%8F%91%E4%BB%A3%E5%8F%B7%E5%8F%AB%E5%81%9ALovelock%EF%BC%8C%E7%88%B1%E4%B9%8B%E9%94%81%EF%BC%8C%E5%A4%9A%E4%B9%88%E6%9C%89%E7%88%B1%E7%9A%84%E5%90%8D%E5%AD%97%E3%80%82Fedora%2015%E5%9C%A8%E4%BB%8A%E5%A4%A9%E5%8F%91%E5%B8%83%E4%BA%86beta%E7%89%88%E6%9C%AC%EF%BC%8C%E6%9C%80%E7%BB%88%E6%AD%A3%E5%BC%8F%E7%89%88%E5%B0%86%E5%9C%A85%E6%9C%8824%E5%8F%B7%E5%8F%91%E5%B8%83%E3%80%82%E8%AF%A6%E7%BB%86%E6%97%B6%E9%97%B4%E8%A1%A8%E5%92%8C%E8%AF%A6%E7%BB%86%E7%89%B9%E6%80%A7%E5%8F%AF%E4%BB%A5%E5%9C%A8%E5%AE%98%E6%96%B9%E7%BD%91%E7%AB%99%E4%B8%8A%E6%89%BE%E5%88%B0%E3%80%82%0D%0A%0D%0A%E5%A6%82%E6%9E%9C%E4%BD%A0%E4%B9%9F%E5%96%9C%E6%AC%A2Fedora%2015" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=Fedora%2015%20Countdown&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown&amp;title=Fedora%2015%20Countdown&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ffedora-15-countdown" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=uL2-aNg_GeM:mQXVeL9reQA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=uL2-aNg_GeM:mQXVeL9reQA:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/uL2-aNg_GeM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/fedora-15-countdown/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/fedora-15-countdown</feedburner:origLink></item>
		<item>
		<title>icycandy.com域名成功转出到Godaddy</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/3J3aZbxvWhk/icycandy-com-successfully-transferred-to-godaddy</link>
		<comments>http://www.icycandy.com/blog/icycandy-com-successfully-transferred-to-godaddy#comments</comments>
		<pubDate>Sun, 17 Apr 2011 07:30:44 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Godaddy]]></category>
		<category><![CDATA[域名转出]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11601</guid>
		<description><![CDATA[当初在国内某网站注册不久后就意识到了域名迁移的问题，一直拖到今年才把这件事情提上日程。整个迁移过程还算顺利，在国内注册商那里交￥30类似于手续费的钱，在狗爹（Godaddy）那里交$7.49域名转入费（自动续费1年）。从4月11日开始迁移，到今天全部完全，一共花了7天时间。 这下心里踏实多了。 [caption id="attachment_11602" align="alignnone" width="526" caption="icycandy.com 的whois信息，图片截取自 http://reports.internic.net/cgi/whois?whois_nic=icycandy.com&#038;type=domain"]<img src="http://www.icycandy.com/wp-content/uploads/2011/04/Selection_0011.png" alt="whois of icycandy.com" title="whois of icycandy.com" width="526" height="324" class="size-full wp-image-11602" />[/caption] ]]></description>
			<content:encoded><![CDATA[<p>当初在国内某网站注册不久后就意识到了域名迁移的问题，一直拖到今年才把这件事情提上日程。整个迁移过程还算顺利，在国内注册商那里交￥30类似于手续费的钱，在狗爹（Godaddy）那里交$7.49域名转入费（自动续费1年）。从4月11日开始迁移，到今天全部完全，一共花了7天时间。</p>
<p>这下心里踏实多了。</p>
<div id="attachment_11602" class="wp-caption alignnone" style="width: 536px"><img src="http://www.icycandy.com/wp-content/uploads/2011/04/Selection_0011.png" alt="whois of icycandy.com" title="whois of icycandy.com" width="526" height="324" class="size-full wp-image-11602" /><p class="wp-caption-text">icycandy.com  的whois信息，图片截取自 http://reports.internic.net/cgi/whois?whois_nic=icycandy.com&#038;type=domain</p></div>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy&amp;title=icycandy.com%E5%9F%9F%E5%90%8D%E6%88%90%E5%8A%9F%E8%BD%AC%E5%87%BA%E5%88%B0Godaddy&amp;bodytext=%E5%BD%93%E5%88%9D%E5%9C%A8%E5%9B%BD%E5%86%85%E6%9F%90%E7%BD%91%E7%AB%99%E6%B3%A8%E5%86%8C%E4%B8%8D%E4%B9%85%E5%90%8E%E5%B0%B1%E6%84%8F%E8%AF%86%E5%88%B0%E4%BA%86%E5%9F%9F%E5%90%8D%E8%BF%81%E7%A7%BB%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E4%B8%80%E7%9B%B4%E6%8B%96%E5%88%B0%E4%BB%8A%E5%B9%B4%E6%89%8D%E6%8A%8A%E8%BF%99%E4%BB%B6%E4%BA%8B%E6%83%85%E6%8F%90%E4%B8%8A%E6%97%A5%E7%A8%8B%E3%80%82%E6%95%B4%E4%B8%AA%E8%BF%81%E7%A7%BB%E8%BF%87%E7%A8%8B%E8%BF%98%E7%AE%97%E9%A1%BA%E5%88%A9%EF%BC%8C%E5%9C%A8%E5%9B%BD%E5%86%85%E6%B3%A8%E5%86%8C%E5%95%86%E9%82%A3%E9%87%8C%E4%BA%A4%EF%BF%A530%E7%B1%BB%E4%BC%BC%E4%BA%8E%E6%89%8B%E7%BB%AD%E8%B4%B9%E7%9A%84%E9%92%B1%EF%BC%8C%E5%9C%A8%E7%8B%97%E7%88%B9%EF%BC%88Godaddy%EF%BC%89%E9%82%A3%E9%87%8C%E4" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy&amp;title=icycandy.com%E5%9F%9F%E5%90%8D%E6%88%90%E5%8A%9F%E8%BD%AC%E5%87%BA%E5%88%B0Godaddy" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy&amp;title=icycandy.com%E5%9F%9F%E5%90%8D%E6%88%90%E5%8A%9F%E8%BD%AC%E5%87%BA%E5%88%B0Godaddy&amp;notes=%E5%BD%93%E5%88%9D%E5%9C%A8%E5%9B%BD%E5%86%85%E6%9F%90%E7%BD%91%E7%AB%99%E6%B3%A8%E5%86%8C%E4%B8%8D%E4%B9%85%E5%90%8E%E5%B0%B1%E6%84%8F%E8%AF%86%E5%88%B0%E4%BA%86%E5%9F%9F%E5%90%8D%E8%BF%81%E7%A7%BB%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E4%B8%80%E7%9B%B4%E6%8B%96%E5%88%B0%E4%BB%8A%E5%B9%B4%E6%89%8D%E6%8A%8A%E8%BF%99%E4%BB%B6%E4%BA%8B%E6%83%85%E6%8F%90%E4%B8%8A%E6%97%A5%E7%A8%8B%E3%80%82%E6%95%B4%E4%B8%AA%E8%BF%81%E7%A7%BB%E8%BF%87%E7%A8%8B%E8%BF%98%E7%AE%97%E9%A1%BA%E5%88%A9%EF%BC%8C%E5%9C%A8%E5%9B%BD%E5%86%85%E6%B3%A8%E5%86%8C%E5%95%86%E9%82%A3%E9%87%8C%E4%BA%A4%EF%BF%A530%E7%B1%BB%E4%BC%BC%E4%BA%8E%E6%89%8B%E7%BB%AD%E8%B4%B9%E7%9A%84%E9%92%B1%EF%BC%8C%E5%9C%A8%E7%8B%97%E7%88%B9%EF%BC%88Godaddy%EF%BC%89%E9%82%A3%E9%87%8C%E4" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy&amp;t=icycandy.com%E5%9F%9F%E5%90%8D%E6%88%90%E5%8A%9F%E8%BD%AC%E5%87%BA%E5%88%B0Godaddy" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=icycandy.com%E5%9F%9F%E5%90%8D%E6%88%90%E5%8A%9F%E8%BD%AC%E5%87%BA%E5%88%B0Godaddy%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy&amp;title=icycandy.com%E5%9F%9F%E5%90%8D%E6%88%90%E5%8A%9F%E8%BD%AC%E5%87%BA%E5%88%B0Godaddy&amp;annotation=%E5%BD%93%E5%88%9D%E5%9C%A8%E5%9B%BD%E5%86%85%E6%9F%90%E7%BD%91%E7%AB%99%E6%B3%A8%E5%86%8C%E4%B8%8D%E4%B9%85%E5%90%8E%E5%B0%B1%E6%84%8F%E8%AF%86%E5%88%B0%E4%BA%86%E5%9F%9F%E5%90%8D%E8%BF%81%E7%A7%BB%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E4%B8%80%E7%9B%B4%E6%8B%96%E5%88%B0%E4%BB%8A%E5%B9%B4%E6%89%8D%E6%8A%8A%E8%BF%99%E4%BB%B6%E4%BA%8B%E6%83%85%E6%8F%90%E4%B8%8A%E6%97%A5%E7%A8%8B%E3%80%82%E6%95%B4%E4%B8%AA%E8%BF%81%E7%A7%BB%E8%BF%87%E7%A8%8B%E8%BF%98%E7%AE%97%E9%A1%BA%E5%88%A9%EF%BC%8C%E5%9C%A8%E5%9B%BD%E5%86%85%E6%B3%A8%E5%86%8C%E5%95%86%E9%82%A3%E9%87%8C%E4%BA%A4%EF%BF%A530%E7%B1%BB%E4%BC%BC%E4%BA%8E%E6%89%8B%E7%BB%AD%E8%B4%B9%E7%9A%84%E9%92%B1%EF%BC%8C%E5%9C%A8%E7%8B%97%E7%88%B9%EF%BC%88Godaddy%EF%BC%89%E9%82%A3%E9%87%8C%E4" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=icycandy.com%E5%9F%9F%E5%90%8D%E6%88%90%E5%8A%9F%E8%BD%AC%E5%87%BA%E5%88%B0Godaddy&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy&amp;title=icycandy.com%E5%9F%9F%E5%90%8D%E6%88%90%E5%8A%9F%E8%BD%AC%E5%87%BA%E5%88%B0Godaddy&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ficycandy-com-successfully-transferred-to-godaddy" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=3J3aZbxvWhk:TmOXZ9E0Odk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=3J3aZbxvWhk:TmOXZ9E0Odk:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/3J3aZbxvWhk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/icycandy-com-successfully-transferred-to-godaddy/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/icycandy-com-successfully-transferred-to-godaddy</feedburner:origLink></item>
		<item>
		<title>OpenConf发布4.01版本，支持简体中文</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/9xNTMoAyIzs/openconf-version-4-01-released</link>
		<comments>http://www.icycandy.com/blog/openconf-version-4-01-released#comments</comments>
		<pubDate>Thu, 14 Apr 2011 04:40:11 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[OpenConf]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[汉化]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11569</guid>
		<description><![CDATA[在去年的4月，我对OpenConf V3.5进行了汉化，详细情况可以参考<a href="http://www.icycandy.com/blog/chinese-localization-of-openconf-conference-management-system">这里</a>。汉化的V3.5版本随后在CCIR2010会议网站上<a href="http://ir.hit.edu.cn/ccir2010/conf/openconf.php">使用</a>。然而由于授权协议的原因，我没有公开发布汉化后的版本。 现在情况有了改善了，OpenConf 从4.0版本开始有了多语言支持，这就意味着汉化的难度小了很多。得知这一消息后，我将3.5版本的汉化工作移植到了4.0版本上，并向官方提交了简体中文语言包。现在这个语言包已经包含在最新发布的4.01版本上了，查看在线演示请点击<a href="http://www.openconf.com/demo/openconf4/openconf.php?OPENCONF=caaaa3cf664108c759d1489aa5eb9f0a&#038;locale=zh-Hans">这里</a>。 [caption id="attachment_11570" align="alignnone" width="673" caption="图片截取自 http://www.openconf.com/translate/"]<img src="http://www.icycandy.com/wp-content/uploads/2011/04/Selection_001.png" alt="OpenConf Translatators" title="OpenConf Translatators" width="673" height="176" class="size-full wp-image-11570" />[/caption] OpenConf 是一个用PHP开发的论文管理系统，不遵循开源协议。社区版是免费的，高级版收费。不管怎样，希望这样的汉化工作能给一部分人带来帮助吧，如果发现有翻译上的问题，欢迎直接反馈给我。 ]]></description>
			<content:encoded><![CDATA[<p>在去年的4月，我对OpenConf V3.5进行了汉化，详细情况可以参考<a href="http://www.icycandy.com/blog/chinese-localization-of-openconf-conference-management-system">这里</a>。汉化的V3.5版本随后在CCIR2010会议网站上<a href="http://ir.hit.edu.cn/ccir2010/conf/openconf.php">使用</a>。然而由于授权协议的原因，我没有公开发布汉化后的版本。</p>
<p>现在情况有了改善了，OpenConf 从4.0版本开始有了多语言支持，这就意味着汉化的难度小了很多。得知这一消息后，我将3.5版本的汉化工作移植到了4.0版本上，并向官方提交了简体中文语言包。现在这个语言包已经包含在最新发布的4.01版本上了，查看在线演示请点击<a href="http://www.openconf.com/demo/openconf4/openconf.php?OPENCONF=caaaa3cf664108c759d1489aa5eb9f0a&#038;locale=zh-Hans">这里</a>。</p>
<div id="attachment_11570" class="wp-caption alignnone" style="width: 683px"><img src="http://www.icycandy.com/wp-content/uploads/2011/04/Selection_001.png" alt="OpenConf Translatators" title="OpenConf Translatators" width="673" height="176" class="size-full wp-image-11570" /><p class="wp-caption-text">图片截取自 http://www.openconf.com/translate/</p></div>
<p>OpenConf 是一个用PHP开发的论文管理系统，不遵循开源协议。社区版是免费的，高级版收费。不管怎样，希望这样的汉化工作能给一部分人带来帮助吧，如果发现有翻译上的问题，欢迎直接反馈给我。</p>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released&amp;title=OpenConf%E5%8F%91%E5%B8%834.01%E7%89%88%E6%9C%AC%EF%BC%8C%E6%94%AF%E6%8C%81%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87&amp;bodytext=%E5%9C%A8%E5%8E%BB%E5%B9%B4%E7%9A%844%E6%9C%88%EF%BC%8C%E6%88%91%E5%AF%B9OpenConf%20V3.5%E8%BF%9B%E8%A1%8C%E4%BA%86%E6%B1%89%E5%8C%96%EF%BC%8C%E8%AF%A6%E7%BB%86%E6%83%85%E5%86%B5%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%E8%BF%99%E9%87%8C%E3%80%82%E6%B1%89%E5%8C%96%E7%9A%84V3.5%E7%89%88%E6%9C%AC%E9%9A%8F%E5%90%8E%E5%9C%A8CCIR2010%E4%BC%9A%E8%AE%AE%E7%BD%91%E7%AB%99%E4%B8%8A%E4%BD%BF%E7%94%A8%E3%80%82%E7%84%B6%E8%80%8C%E7%94%B1%E4%BA%8E%E6%8E%88%E6%9D%83%E5%8D%8F%E8%AE%AE%E7%9A%84%E5%8E%9F%E5%9B%A0%EF%BC%8C%E6%88%91%E6%B2%A1%E6%9C%89%E5%85%AC%E5%BC%80%E5%8F%91%E5%B8%83%E6%B1%89%E5%8C%96%E5%90%8E%E7%9A%84%E7%89%88%E6%9C%AC%E3%80%82%0D%0A%0D%0A%E7%8E%B0%E5%9C%A8%E6%83%85%E5%86%B5%E6%9C%89%E4%BA%86%E6" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released&amp;title=OpenConf%E5%8F%91%E5%B8%834.01%E7%89%88%E6%9C%AC%EF%BC%8C%E6%94%AF%E6%8C%81%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released&amp;title=OpenConf%E5%8F%91%E5%B8%834.01%E7%89%88%E6%9C%AC%EF%BC%8C%E6%94%AF%E6%8C%81%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87&amp;notes=%E5%9C%A8%E5%8E%BB%E5%B9%B4%E7%9A%844%E6%9C%88%EF%BC%8C%E6%88%91%E5%AF%B9OpenConf%20V3.5%E8%BF%9B%E8%A1%8C%E4%BA%86%E6%B1%89%E5%8C%96%EF%BC%8C%E8%AF%A6%E7%BB%86%E6%83%85%E5%86%B5%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%E8%BF%99%E9%87%8C%E3%80%82%E6%B1%89%E5%8C%96%E7%9A%84V3.5%E7%89%88%E6%9C%AC%E9%9A%8F%E5%90%8E%E5%9C%A8CCIR2010%E4%BC%9A%E8%AE%AE%E7%BD%91%E7%AB%99%E4%B8%8A%E4%BD%BF%E7%94%A8%E3%80%82%E7%84%B6%E8%80%8C%E7%94%B1%E4%BA%8E%E6%8E%88%E6%9D%83%E5%8D%8F%E8%AE%AE%E7%9A%84%E5%8E%9F%E5%9B%A0%EF%BC%8C%E6%88%91%E6%B2%A1%E6%9C%89%E5%85%AC%E5%BC%80%E5%8F%91%E5%B8%83%E6%B1%89%E5%8C%96%E5%90%8E%E7%9A%84%E7%89%88%E6%9C%AC%E3%80%82%0D%0A%0D%0A%E7%8E%B0%E5%9C%A8%E6%83%85%E5%86%B5%E6%9C%89%E4%BA%86%E6" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released&amp;t=OpenConf%E5%8F%91%E5%B8%834.01%E7%89%88%E6%9C%AC%EF%BC%8C%E6%94%AF%E6%8C%81%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=OpenConf%E5%8F%91%E5%B8%834.01%E7%89%88%E6%9C%AC%EF%BC%8C%E6%94%AF%E6%8C%81%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released&amp;title=OpenConf%E5%8F%91%E5%B8%834.01%E7%89%88%E6%9C%AC%EF%BC%8C%E6%94%AF%E6%8C%81%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87&amp;annotation=%E5%9C%A8%E5%8E%BB%E5%B9%B4%E7%9A%844%E6%9C%88%EF%BC%8C%E6%88%91%E5%AF%B9OpenConf%20V3.5%E8%BF%9B%E8%A1%8C%E4%BA%86%E6%B1%89%E5%8C%96%EF%BC%8C%E8%AF%A6%E7%BB%86%E6%83%85%E5%86%B5%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%E8%BF%99%E9%87%8C%E3%80%82%E6%B1%89%E5%8C%96%E7%9A%84V3.5%E7%89%88%E6%9C%AC%E9%9A%8F%E5%90%8E%E5%9C%A8CCIR2010%E4%BC%9A%E8%AE%AE%E7%BD%91%E7%AB%99%E4%B8%8A%E4%BD%BF%E7%94%A8%E3%80%82%E7%84%B6%E8%80%8C%E7%94%B1%E4%BA%8E%E6%8E%88%E6%9D%83%E5%8D%8F%E8%AE%AE%E7%9A%84%E5%8E%9F%E5%9B%A0%EF%BC%8C%E6%88%91%E6%B2%A1%E6%9C%89%E5%85%AC%E5%BC%80%E5%8F%91%E5%B8%83%E6%B1%89%E5%8C%96%E5%90%8E%E7%9A%84%E7%89%88%E6%9C%AC%E3%80%82%0D%0A%0D%0A%E7%8E%B0%E5%9C%A8%E6%83%85%E5%86%B5%E6%9C%89%E4%BA%86%E6" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=OpenConf%E5%8F%91%E5%B8%834.01%E7%89%88%E6%9C%AC%EF%BC%8C%E6%94%AF%E6%8C%81%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released&amp;title=OpenConf%E5%8F%91%E5%B8%834.01%E7%89%88%E6%9C%AC%EF%BC%8C%E6%94%AF%E6%8C%81%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fopenconf-version-4-01-released" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=9xNTMoAyIzs:DQbQeTMan9I:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=9xNTMoAyIzs:DQbQeTMan9I:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/9xNTMoAyIzs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/openconf-version-4-01-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/openconf-version-4-01-released</feedburner:origLink></item>
		<item>
		<title>在Fedora 14上安装Firefox 4</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/Rn1so_ccbBk/install-firefox-4-on-fedora-14</link>
		<comments>http://www.icycandy.com/blog/install-firefox-4-on-fedora-14#comments</comments>
		<pubDate>Wed, 23 Mar 2011 02:37:09 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11548</guid>
		<description><![CDATA[==================2011-06-22更新============= 安装firefox 5可以参考 https://fedoraproject.org/wiki/Firefox_5 ========================================== <pre lang="bash"> #切换到root用户 su #安装remi源 rpm -Uvh http://rpms.famillecollet.com/remi-release-14.rpm #安装Firefox 4 yum --enablerepo remi install firefox4 </pre> 注意这会直接升级系统里的Firefox 3 旧版本到Firefox 4，而不是像很多文章里说的和Firefox 3共存 ]]></description>
			<content:encoded><![CDATA[<p>==================2011-06-22更新=============<br />
安装firefox 5可以参考 https://fedoraproject.org/wiki/Firefox_5 </p>
<p>==========================================</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#切换到root用户</span>
<span style="color: #c20cb9; font-weight: bold;">su</span>
<span style="color: #666666; font-style: italic;">#安装remi源</span>
rpm <span style="color: #660033;">-Uvh</span> http:<span style="color: #000000; font-weight: bold;">//</span>rpms.famillecollet.com<span style="color: #000000; font-weight: bold;">/</span>remi-release-<span style="color: #000000;">14</span>.rpm
<span style="color: #666666; font-style: italic;">#安装Firefox 4</span>
yum <span style="color: #660033;">--enablerepo</span> remi <span style="color: #c20cb9; font-weight: bold;">install</span> firefox4</pre></div></div>

<p>注意这会直接升级系统里的Firefox 3 旧版本到Firefox 4，而不是像很多文章里说的和Firefox 3共存</p>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14&amp;title=%E5%9C%A8Fedora%2014%E4%B8%8A%E5%AE%89%E8%A3%85Firefox%204&amp;bodytext=%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D2011-06-22%E6%9B%B4%E6%96%B0%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%E5%AE%89%E8%A3%85firefox%205%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%20https%3A%2F%2Ffedoraproject.org%2Fwiki%2FFirefox_5%20%0D%0A%0D%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%0D%0A%23%E5%88%87%E6%8D%A2%E5%88%B0root%E7%94%A8%E6%88%B7%0D%0Asu%0D%0A%23%E5%AE%89%E8%A3%85remi%E6%BA%90%0D%0Arpm%20-Uvh%20http%3A%2F%2Frpms.famillecollet.com%2Fr" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14&amp;title=%E5%9C%A8Fedora%2014%E4%B8%8A%E5%AE%89%E8%A3%85Firefox%204" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14&amp;title=%E5%9C%A8Fedora%2014%E4%B8%8A%E5%AE%89%E8%A3%85Firefox%204&amp;notes=%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D2011-06-22%E6%9B%B4%E6%96%B0%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%E5%AE%89%E8%A3%85firefox%205%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%20https%3A%2F%2Ffedoraproject.org%2Fwiki%2FFirefox_5%20%0D%0A%0D%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%0D%0A%23%E5%88%87%E6%8D%A2%E5%88%B0root%E7%94%A8%E6%88%B7%0D%0Asu%0D%0A%23%E5%AE%89%E8%A3%85remi%E6%BA%90%0D%0Arpm%20-Uvh%20http%3A%2F%2Frpms.famillecollet.com%2Fr" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14&amp;t=%E5%9C%A8Fedora%2014%E4%B8%8A%E5%AE%89%E8%A3%85Firefox%204" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=%E5%9C%A8Fedora%2014%E4%B8%8A%E5%AE%89%E8%A3%85Firefox%204%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14&amp;title=%E5%9C%A8Fedora%2014%E4%B8%8A%E5%AE%89%E8%A3%85Firefox%204&amp;annotation=%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D2011-06-22%E6%9B%B4%E6%96%B0%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%E5%AE%89%E8%A3%85firefox%205%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%20https%3A%2F%2Ffedoraproject.org%2Fwiki%2FFirefox_5%20%0D%0A%0D%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%0D%0A%23%E5%88%87%E6%8D%A2%E5%88%B0root%E7%94%A8%E6%88%B7%0D%0Asu%0D%0A%23%E5%AE%89%E8%A3%85remi%E6%BA%90%0D%0Arpm%20-Uvh%20http%3A%2F%2Frpms.famillecollet.com%2Fr" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=%E5%9C%A8Fedora%2014%E4%B8%8A%E5%AE%89%E8%A3%85Firefox%204&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14&amp;title=%E5%9C%A8Fedora%2014%E4%B8%8A%E5%AE%89%E8%A3%85Firefox%204&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Finstall-firefox-4-on-fedora-14" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=Rn1so_ccbBk:CJvqr2ZWTrc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=Rn1so_ccbBk:CJvqr2ZWTrc:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/Rn1so_ccbBk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/install-firefox-4-on-fedora-14/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/install-firefox-4-on-fedora-14</feedburner:origLink></item>
		<item>
		<title>用Java和Perl登录新浪微博</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/mK8FuH-upn4/sina-microblog-login-using-httpclient-and-perl</link>
		<comments>http://www.icycandy.com/blog/sina-microblog-login-using-httpclient-and-perl#comments</comments>
		<pubDate>Tue, 22 Feb 2011 02:05:55 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[HttpClient]]></category>
		<category><![CDATA[Wireshark]]></category>
		<category><![CDATA[新浪微博]]></category>
		<category><![CDATA[自动登录]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11502</guid>
		<description><![CDATA[===============2011/06/28更新========================== 更新了HttpClient 4.x 模拟登录新浪微博的示例代码，经测试能正常登录，HttpClient 3.x和Perl版本的代码没有更新，有需要的同学自己参考HttpClient 4.x改写一下应该就可以了。希望大家也多一点探索精神，我没有精力经常来更新这个代码。 ===============2011/05/24更新========================== 添加了用HttpClient 4.x 模拟登录新浪微博的示例代码 ===============2011/05/22更新========================== 今天测试了日志中的Java代码，发现至少在目前是好用的，但是不保证以后会一直好用。感谢<a href="http://blog.viluo.com/">viLuo</a>反馈的这个链接<a href="http://www.iteye.com/topic/1039052"> 新浪微博如何实现 SSO(t.sina.com.cn/weibo.com) 的分析</a>，里面的内容写得很好很详细，遇到问题的同学可以去学习研究一下。 ===============2011/03/29更新========================== 在最开始写这篇日志的时候，文中描述的两种方法的代码都经过了测试，能够成功登录。但是新浪的登录参数可能不停地在变化，所以如果你把日志中的代码直接复制回去，不能运行是很正常的情况。<a href="http://www.blogjava.net/cenwenchu/archive/2011/03/13/345663.html">这里</a>是文初写的模拟登录的一篇博客，里面涉及到了更多细节，有兴趣的朋友可以去看看。感谢zhaojiguang在评论中反馈此链接。 ==================================================== 现在新浪微博已经开放了API，为开发提供了很大的方便。但是仍然有一些事情是API所无能为力的，这时候就需要用到其他办法了。 <h3>1. 获得登录参数</h3> 一般的网站登录窗口都是一个简单的表单，随便搞一段代码就可以很轻易地登录上去，但是新浪的登录窗口却是由javascript控制的，稍微麻烦一些。对于简单的表单，可以通过查看html源代码获得登录参数；但是对于新浪这种，需要更深入一点的分析才行。 那么，要怎么办呢？答案是：万能的抓包工具。下面的截图分别展示了用Wireshark和Live HTTP headers(Firefox的一款插件)来获取登录参数的情况。 (1) Wireshark 抓包后找到带有 <strong>POST /sso/login.php?client=ssologin.js(v1.x.xx) HTTP/1.1</strong>的一行 <img class="alignnone size-full wp-image-11506" title="wireshark-1" src="http://www.icycandy.com/wp-content/uploads/2011/02/wireshark-1.png" alt="" width="895" height="246" /> 然后右键，选择<strong>Follow TCP Stream</strong>，就会出来想要的结果，如图。注意看空行下面的红色文字部分。 <img src="http://www.icycandy.com/wp-content/uploads/2011/02/wireshark-21.png" alt="" title="wireshark-2" width="939" height="578" class="alignnone size-full wp-image-11525" /> (2) Live HTTP headers 实际上这个不算抓包工具，但是用起来更简单。注意看图中蓝底白字部分。 <img class="alignnone size-full wp-image-11508" title="Live HTTP headers_001" src="http://www.icycandy.com/wp-content/uploads/2011/02/Live-HTTP-headers_001.png" alt="" width="758" height="528" /> <h3>2. Java版</h3> 当获得了这些登录所需要传给服务器的参数以后，接下来的工作就比较简单了。 Java版主要用到了HttpClient，代码原始来源：<a href="http://flysnail.net/?p=27">http://flysnail.net/?p=27</a> ，我稍作了修改。 新浪微博中有一些页面登录前和登录后看到的内容不一样，比如 http://t.sina.com.cn/pub/tags ，程序中访问这个页面来检验是否登录成功。 (1) HttpClient 3.x版本 <pre lang="java" line="1" escaped="true">import java.io.IOException; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpException; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.methods.PostMethod; public class SinaLogin { public static String login(String email, String passwd) throws HttpException, IOException { PostMethod post = new PostMethod("http://login.sina.com.cn/sso/login.php?client=ssologin.js(v1.3.11)"); post.addParameter("service", "miniblog"); post.addParameter("client", "ssologin.js(v1.3.11)"); post.addParameter("entry", "miniblog"); post.addParameter("encoding", "utf-8"); post.addParameter("gateway", "1"); post.addParameter("savestate", "7"); post.addParameter("from", ""); post.addParameter("useticket", "0"); post.addParameter("username", email); post.addParameter("password", passwd); post.addParameter("url", "http://t.sina.com.cn/ajaxlogin.php?framelogin=1&#38;callback=parent.sinaSSOController.feedBackUrlCallBack"); post.addParameter("returntype", "META"); HttpClient client = new HttpClient(); client.executeMethod(post); GetMethod get = new GetMethod("http://t.sina.com.cn/pub/tags"); client.executeMethod(get); System.out.println(new String(get.getResponseBody())); return new String(get.getResponseBody()); } public static void main(String[] args) throws HttpException, IOException { login("email","password"); } }</pre> (2) HttpClient 4.x版本 <pre lang="java" line="1" escaped="true"> package com.icycandy; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.io.IOUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.message.BasicNameValuePair; public class SinaLogin { private final static HttpClient client = new DefaultHttpClient(); /** * 抓取网页 * * @param url * @throws IOException */ static String get(String url) throws IOException { HttpGet get = new HttpGet(url); HttpResponse response = client.execute(get); System.out.println(response.getStatusLine()); HttpEntity entity = response.getEntity(); String result = dump(entity); get.abort(); return result; } /** * 执行登录过程 * * @param user * @param pwd * @param debug * @throws IOException */ static void login(String user, String pwd) throws IOException { HttpPost post = new HttpPost( "http://login.sina.com.cn/sso/login.php?client=ssologin.js(v1.3.14)"); post.setHeader("User-Agent", "Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0"); post.setHeader("Referer", "http://weibo.com/"); post.setHeader("Content-Type", "application/x-www-form-urlencoded"); // 登录表单的信息 List<NameValuePair> qparams = new ArrayList<NameValuePair>(); qparams.add(new BasicNameValuePair("entry", "miniblog")); qparams.add(new BasicNameValuePair("gateway", "1")); qparams.add(new BasicNameValuePair("from", "")); qparams.add(new BasicNameValuePair("savestate", "0")); qparams.add(new BasicNameValuePair("useticket", "1")); qparams.add(new BasicNameValuePair("ssosimplelogin", "1")); qparams.add(new BasicNameValuePair("service", "miniblog")); // servertime=1309164392 // nonce=PJZCHM // qparams.add(new BasicNameValuePair("pwencode", "wsse")); qparams.add(new BasicNameValuePair("encoding", "utf-8")); qparams.add(new BasicNameValuePair( "url", "http://weibo.com/ajaxlogin.php?framelogin=1&#038;callback=parent.sinaSSOController.feedBackUrlCallBack")); qparams.add(new BasicNameValuePair("returntype", "META")); qparams.add(new BasicNameValuePair("username", user)); qparams.add(new BasicNameValuePair("password", pwd)); UrlEncodedFormEntity params = new UrlEncodedFormEntity(qparams, "UTF-8"); post.setEntity(params); // Execute the request HttpResponse response = client.execute(post); post.abort(); // 新浪微博登录没有301，302之类的跳转；而是返回200，然后用javascript实现的跳转 // int statusCode = response.getStatusLine().getStatusCode(); // if ((statusCode == HttpStatus.SC_MOVED_PERMANENTLY) // &#124;&#124; (statusCode == HttpStatus.SC_MOVED_TEMPORARILY) // &#124;&#124; (statusCode == HttpStatus.SC_SEE_OTHER) // &#124;&#124; (statusCode == HttpStatus.SC_TEMPORARY_REDIRECT)) { // // 此处重定向处理 此处还未验证 // String newUri = response.getLastHeader("Location").getValue(); // get(newUri); // } // Get hold of the response entity HttpEntity entity = response.getEntity(); // 取出跳转的url // location.replace("http://weibo.com/ajaxlogin.php?framelogin=1&#038;callback=parent.sinaSSOController.feedBackUrlCallBack&#038;ticket=ST-MTkxODMxOTI0Nw==-1309224549-xd-263902F174B27BAB9699691BA866EFF2&#038;retcode=0"); String location = getRedirectLocation(dump(entity)); get(location); } private static String getRedirectLocation(String content) { String regex = "location\\.replace\\(\'(.*?)\'\\)"; Pattern pattern = Pattern.compile(regex); Matcher matcher = pattern.matcher(content); String location = null; if (matcher.find()) { location = matcher.group(1); } return location; } /** * 打印页面 * * @param entity * @throws IOException */ private static String dump(HttpEntity entity) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader( entity.getContent(), "utf8")); //return EntityUtils.toString(entity); return IOUtils.toString(br); } public static void main(String[] args) throws IOException { login("username", "password"); String result = get("http://t.sina.com.cn/pub/tags"); System.out.println(result); } } </pre> <h3>3. Perl版</h3> Perl版代码是<a href="http://hi.baidu.com/爱心同盟_陈鑫">鑫哥</a>给我的，未知原始来源，同样也稍作了修改 <pre lang="perl" line="1" escaped="true"> use LWP::UserAgent; use HTTP::Cookies; use HTTP::Headers; my $ua = new LWP::UserAgent(keep_alive =&#62; 1); $ua-&#62;timeout(5); $ua-&#62;agent('Mozilla/4.0'); $ua-&#62;cookie_jar(HTTP::Cookies-&#62;new(file=&#62;'getsina.cookies',autosave=&#62;1)); my $res = $ua-&#62;post('http://login.sina.com.cn/sso/login.php?client=ssologin.js(v1.3.11)', [ service =&#62; 'miniblog', client =&#62; 'ssologin.js(v1.3.11)', entry =&#62; 'miniblog', encoding =&#62; 'utf-8', gateway =&#62; '1', savestate =&#62; '7', username =&#62; 'username', password =&#62; 'password', from =&#62; '', useticket =&#62; '0', url =&#62; 'http://t.sina.com.cn/ajaxlogin.php?framelogin=1&#38;callback=parent.sinaSSOController.feedBackUrlCallBack', returntype =&#62; 'META', ], ); if (!$res-&#62;is_success) { print STDERR $res-&#62;status_line, "\n"; } my $req = HTTP::Request-&#62;new(GET =&#62; 'http://t.sina.com.cn/pub/tags'); $req-&#62;content_type('application/x-www-form-urlencoded'); $res = $ua-&#62;request($req); print $res-&#62;as_string; exit(0);</pre> ]]></description>
			<content:encoded><![CDATA[<p>===============2011/06/28更新==========================<br />
更新了HttpClient 4.x 模拟登录新浪微博的示例代码，经测试能正常登录，HttpClient 3.x和Perl版本的代码没有更新，有需要的同学自己参考HttpClient 4.x改写一下应该就可以了。希望大家也多一点探索精神，我没有精力经常来更新这个代码。</p>
<p>===============2011/05/24更新==========================<br />
添加了用HttpClient 4.x 模拟登录新浪微博的示例代码</p>
<p>===============2011/05/22更新==========================<br />
今天测试了日志中的Java代码，发现至少在目前是好用的，但是不保证以后会一直好用。感谢<a href="http://blog.viluo.com/">viLuo</a>反馈的这个链接<a href="http://www.iteye.com/topic/1039052"> 新浪微博如何实现 SSO(t.sina.com.cn/weibo.com) 的分析</a>，里面的内容写得很好很详细，遇到问题的同学可以去学习研究一下。</p>
<p>===============2011/03/29更新==========================<br />
在最开始写这篇日志的时候，文中描述的两种方法的代码都经过了测试，能够成功登录。但是新浪的登录参数可能不停地在变化，所以如果你把日志中的代码直接复制回去，不能运行是很正常的情况。<a href="http://www.blogjava.net/cenwenchu/archive/2011/03/13/345663.html">这里</a>是文初写的模拟登录的一篇博客，里面涉及到了更多细节，有兴趣的朋友可以去看看。感谢zhaojiguang在评论中反馈此链接。<br />
====================================================</p>
<p>现在新浪微博已经开放了API，为开发提供了很大的方便。但是仍然有一些事情是API所无能为力的，这时候就需要用到其他办法了。</p>
<h3>1. 获得登录参数</h3>
<p>一般的网站登录窗口都是一个简单的表单，随便搞一段代码就可以很轻易地登录上去，但是新浪的登录窗口却是由javascript控制的，稍微麻烦一些。对于简单的表单，可以通过查看html源代码获得登录参数；但是对于新浪这种，需要更深入一点的分析才行。</p>
<p>那么，要怎么办呢？答案是：万能的抓包工具。下面的截图分别展示了用Wireshark和Live HTTP headers(Firefox的一款插件)来获取登录参数的情况。</p>
<p>(1) Wireshark</p>
<p>抓包后找到带有 <strong>POST /sso/login.php?client=ssologin.js(v1.x.xx) HTTP/1.1</strong>的一行</p>
<p><img class="alignnone size-full wp-image-11506" title="wireshark-1" src="http://www.icycandy.com/wp-content/uploads/2011/02/wireshark-1.png" alt="" width="895" height="246" /></p>
<p>然后右键，选择<strong>Follow TCP Stream</strong>，就会出来想要的结果，如图。注意看空行下面的红色文字部分。</p>
<p><img src="http://www.icycandy.com/wp-content/uploads/2011/02/wireshark-21.png" alt="" title="wireshark-2" width="939" height="578" class="alignnone size-full wp-image-11525" /></p>
<p>(2) Live HTTP headers</p>
<p>实际上这个不算抓包工具，但是用起来更简单。注意看图中蓝底白字部分。</p>
<p><img class="alignnone size-full wp-image-11508" title="Live HTTP headers_001" src="http://www.icycandy.com/wp-content/uploads/2011/02/Live-HTTP-headers_001.png" alt="" width="758" height="528" /></p>
<h3>2. Java版</h3>
<p>当获得了这些登录所需要传给服务器的参数以后，接下来的工作就比较简单了。<br />
Java版主要用到了HttpClient，代码原始来源：<a href="http://flysnail.net/?p=27">http://flysnail.net/?p=27</a> ，我稍作了修改。<br />
新浪微博中有一些页面登录前和登录后看到的内容不一样，比如 http://t.sina.com.cn/pub/tags ，程序中访问这个页面来检验是否登录成功。</p>
<p>(1) HttpClient 3.x版本</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.IOException</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.commons.httpclient.HttpClient</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.commons.httpclient.HttpException</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.commons.httpclient.methods.GetMethod</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.commons.httpclient.methods.PostMethod</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SinaLogin
<span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #003399;">String</span> login<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> email, <span style="color: #003399;">String</span> passwd<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> HttpException, <span style="color: #003399;">IOException</span>
	<span style="color: #009900;">&#123;</span>
		PostMethod post <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> PostMethod<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://login.sina.com.cn/sso/login.php?client=ssologin.js(v1.3.11)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;service&quot;</span>, <span style="color: #0000ff;">&quot;miniblog&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;client&quot;</span>, <span style="color: #0000ff;">&quot;ssologin.js(v1.3.11)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;entry&quot;</span>, <span style="color: #0000ff;">&quot;miniblog&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;encoding&quot;</span>, <span style="color: #0000ff;">&quot;utf-8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;gateway&quot;</span>, <span style="color: #0000ff;">&quot;1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;savestate&quot;</span>, <span style="color: #0000ff;">&quot;7&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;from&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;useticket&quot;</span>, <span style="color: #0000ff;">&quot;0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;username&quot;</span>, email<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;password&quot;</span>, passwd<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;url&quot;</span>, <span style="color: #0000ff;">&quot;http://t.sina.com.cn/ajaxlogin.php?framelogin=1&amp;callback=parent.sinaSSOController.feedBackUrlCallBack&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">addParameter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;returntype&quot;</span>, <span style="color: #0000ff;">&quot;META&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		HttpClient client <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> HttpClient<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		client.<span style="color: #006633;">executeMethod</span><span style="color: #009900;">&#40;</span>post<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		GetMethod get <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> GetMethod<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://t.sina.com.cn/pub/tags&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		client.<span style="color: #006633;">executeMethod</span><span style="color: #009900;">&#40;</span>get<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">String</span><span style="color: #009900;">&#40;</span>get.<span style="color: #006633;">getResponseBody</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">String</span><span style="color: #009900;">&#40;</span>get.<span style="color: #006633;">getResponseBody</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> HttpException, <span style="color: #003399;">IOException</span>
	<span style="color: #009900;">&#123;</span>
		login<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;email&quot;</span>,<span style="color: #0000ff;">&quot;password&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>(2) HttpClient 4.x版本</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">com.icycandy</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.BufferedReader</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.IOException</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.InputStreamReader</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.ArrayList</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.List</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.regex.Matcher</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.regex.Pattern</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.commons.io.IOUtils</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.http.HttpEntity</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.http.HttpResponse</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.http.NameValuePair</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.http.client.HttpClient</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.http.client.entity.UrlEncodedFormEntity</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.http.client.methods.HttpGet</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.http.client.methods.HttpPost</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.http.impl.client.DefaultHttpClient</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.apache.http.message.BasicNameValuePair</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SinaLogin <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000000; font-weight: bold;">static</span> HttpClient client <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DefaultHttpClient<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #008000; font-style: italic; font-weight: bold;">/**
	 * 抓取网页
	 * 
	 * @param url
	 * @throws IOException
	 */</span>
	<span style="color: #000000; font-weight: bold;">static</span> <span style="color: #003399;">String</span> get<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> url<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <span style="color: #003399;">IOException</span> <span style="color: #009900;">&#123;</span>
		HttpGet get <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> HttpGet<span style="color: #009900;">&#40;</span>url<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		HttpResponse response <span style="color: #339933;">=</span> client.<span style="color: #006633;">execute</span><span style="color: #009900;">&#40;</span>get<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>response.<span style="color: #006633;">getStatusLine</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		HttpEntity entity <span style="color: #339933;">=</span> response.<span style="color: #006633;">getEntity</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #003399;">String</span> result <span style="color: #339933;">=</span> dump<span style="color: #009900;">&#40;</span>entity<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		get.<span style="color: #006633;">abort</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">return</span> result<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #008000; font-style: italic; font-weight: bold;">/**
	 * 执行登录过程
	 * 
	 * @param user
	 * @param pwd
	 * @param debug
	 * @throws IOException
	 */</span>
	<span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> login<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> user, <span style="color: #003399;">String</span> pwd<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <span style="color: #003399;">IOException</span> <span style="color: #009900;">&#123;</span>
		HttpPost post <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> HttpPost<span style="color: #009900;">&#40;</span>
				<span style="color: #0000ff;">&quot;http://login.sina.com.cn/sso/login.php?client=ssologin.js(v1.3.14)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">setHeader</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;User-Agent&quot;</span>,
				<span style="color: #0000ff;">&quot;Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">setHeader</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Referer&quot;</span>, <span style="color: #0000ff;">&quot;http://weibo.com/&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">setHeader</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Type&quot;</span>, <span style="color: #0000ff;">&quot;application/x-www-form-urlencoded&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// 登录表单的信息</span>
		List<span style="color: #339933;">&lt;</span>NameValuePair<span style="color: #339933;">&gt;</span> qparams <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ArrayList<span style="color: #339933;">&lt;</span>NameValuePair<span style="color: #339933;">&gt;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;entry&quot;</span>, <span style="color: #0000ff;">&quot;miniblog&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;gateway&quot;</span>, <span style="color: #0000ff;">&quot;1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;from&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;savestate&quot;</span>, <span style="color: #0000ff;">&quot;0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;useticket&quot;</span>, <span style="color: #0000ff;">&quot;1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ssosimplelogin&quot;</span>, <span style="color: #0000ff;">&quot;1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;service&quot;</span>, <span style="color: #0000ff;">&quot;miniblog&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// servertime=1309164392</span>
		<span style="color: #666666; font-style: italic;">// nonce=PJZCHM</span>
		<span style="color: #666666; font-style: italic;">// qparams.add(new BasicNameValuePair(&quot;pwencode&quot;, &quot;wsse&quot;));</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;encoding&quot;</span>, <span style="color: #0000ff;">&quot;utf-8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span>
				<span style="color: #0000ff;">&quot;url&quot;</span>,
				<span style="color: #0000ff;">&quot;http://weibo.com/ajaxlogin.php?framelogin=1&amp;callback=parent.sinaSSOController.feedBackUrlCallBack&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;returntype&quot;</span>, <span style="color: #0000ff;">&quot;META&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;username&quot;</span>, user<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		qparams.<span style="color: #006633;">add</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> BasicNameValuePair<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;password&quot;</span>, pwd<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		UrlEncodedFormEntity params <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> UrlEncodedFormEntity<span style="color: #009900;">&#40;</span>qparams, <span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">setEntity</span><span style="color: #009900;">&#40;</span>params<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// Execute the request</span>
		HttpResponse response <span style="color: #339933;">=</span> client.<span style="color: #006633;">execute</span><span style="color: #009900;">&#40;</span>post<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		post.<span style="color: #006633;">abort</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// 新浪微博登录没有301，302之类的跳转；而是返回200，然后用javascript实现的跳转</span>
		<span style="color: #666666; font-style: italic;">// int statusCode = response.getStatusLine().getStatusCode();</span>
		<span style="color: #666666; font-style: italic;">// if ((statusCode == HttpStatus.SC_MOVED_PERMANENTLY)</span>
		<span style="color: #666666; font-style: italic;">// || (statusCode == HttpStatus.SC_MOVED_TEMPORARILY)</span>
		<span style="color: #666666; font-style: italic;">// || (statusCode == HttpStatus.SC_SEE_OTHER)</span>
		<span style="color: #666666; font-style: italic;">// || (statusCode == HttpStatus.SC_TEMPORARY_REDIRECT)) {</span>
		<span style="color: #666666; font-style: italic;">// // 此处重定向处理 此处还未验证</span>
		<span style="color: #666666; font-style: italic;">// String newUri = response.getLastHeader(&quot;Location&quot;).getValue();</span>
		<span style="color: #666666; font-style: italic;">// get(newUri);</span>
		<span style="color: #666666; font-style: italic;">// }</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// Get hold of the response entity</span>
		HttpEntity entity <span style="color: #339933;">=</span> response.<span style="color: #006633;">getEntity</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// 取出跳转的url</span>
		<span style="color: #666666; font-style: italic;">// location.replace(&quot;http://weibo.com/ajaxlogin.php?framelogin=1&amp;callback=parent.sinaSSOController.feedBackUrlCallBack&amp;ticket=ST-MTkxODMxOTI0Nw==-1309224549-xd-263902F174B27BAB9699691BA866EFF2&amp;retcode=0&quot;);</span>
		<span style="color: #003399;">String</span> location <span style="color: #339933;">=</span> getRedirectLocation<span style="color: #009900;">&#40;</span>dump<span style="color: #009900;">&#40;</span>entity<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		get<span style="color: #009900;">&#40;</span>location<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #003399;">String</span> getRedirectLocation<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> content<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #003399;">String</span> regex <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;location<span style="color: #000099; font-weight: bold;">\\</span>.replace<span style="color: #000099; font-weight: bold;">\\</span>(<span style="color: #000099; font-weight: bold;">\'</span>(.*?)<span style="color: #000099; font-weight: bold;">\'</span><span style="color: #000099; font-weight: bold;">\\</span>)&quot;</span><span style="color: #339933;">;</span>
		Pattern pattern <span style="color: #339933;">=</span> Pattern.<span style="color: #006633;">compile</span><span style="color: #009900;">&#40;</span>regex<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		Matcher matcher <span style="color: #339933;">=</span> pattern.<span style="color: #006633;">matcher</span><span style="color: #009900;">&#40;</span>content<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #003399;">String</span> location <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>matcher.<span style="color: #006633;">find</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			location <span style="color: #339933;">=</span> matcher.<span style="color: #006633;">group</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">return</span> location<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #008000; font-style: italic; font-weight: bold;">/**
	 * 打印页面
	 * 
	 * @param entity
	 * @throws IOException
	 */</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #003399;">String</span> dump<span style="color: #009900;">&#40;</span>HttpEntity entity<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <span style="color: #003399;">IOException</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #003399;">BufferedReader</span> br <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">BufferedReader</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">InputStreamReader</span><span style="color: #009900;">&#40;</span>
				entity.<span style="color: #006633;">getContent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>, <span style="color: #0000ff;">&quot;utf8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">//return EntityUtils.toString(entity);</span>
		<span style="color: #000000; font-weight: bold;">return</span> IOUtils.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span>br<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <span style="color: #003399;">IOException</span> <span style="color: #009900;">&#123;</span>
		login<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;username&quot;</span>, <span style="color: #0000ff;">&quot;password&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">String</span> result <span style="color: #339933;">=</span> get<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://t.sina.com.cn/pub/tags&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>result<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<h3>3. Perl版</h3>
<p>Perl版代码是<a href="http://hi.baidu.com/爱心同盟_陈鑫">鑫哥</a>给我的，未知原始来源，同样也稍作了修改</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
</pre></td><td class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">use</span> LWP<span style="color: #339933;">::</span><span style="color: #006600;">UserAgent</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> HTTP<span style="color: #339933;">::</span><span style="color: #006600;">Cookies</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> HTTP<span style="color: #339933;">::</span><span style="color: #006600;">Headers</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$ua</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> LWP<span style="color: #339933;">::</span><span style="color: #006600;">UserAgent</span><span style="color: #009900;">&#40;</span>keep_alive <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$ua</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">timeout</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$ua</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">agent</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">'Mozilla/4.0'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$ua</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">cookie_jar</span><span style="color: #009900;">&#40;</span>HTTP<span style="color: #339933;">::</span><span style="color: #006600;">Cookies</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">new</span><span style="color: #009900;">&#40;</span>file<span style="color: #339933;">=&gt;</span><span style="color: #ff0000;">'getsina.cookies'</span><span style="color: #339933;">,</span>autosave<span style="color: #339933;">=&gt;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$res</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ua</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">post</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">'http://login.sina.com.cn/sso/login.php?client=ssologin.js(v1.3.11)'</span><span style="color: #339933;">,</span>
    <span style="color: #009900;">&#91;</span>
        service <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'miniblog'</span><span style="color: #339933;">,</span>
        client <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'ssologin.js(v1.3.11)'</span><span style="color: #339933;">,</span>
        entry <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'miniblog'</span><span style="color: #339933;">,</span>
        encoding <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'utf-8'</span><span style="color: #339933;">,</span>
        gateway <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'1'</span><span style="color: #339933;">,</span>
        savestate <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'7'</span><span style="color: #339933;">,</span>
        username <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'username'</span><span style="color: #339933;">,</span>
        password <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'password'</span><span style="color: #339933;">,</span>
        from <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">''</span><span style="color: #339933;">,</span>
        useticket <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'0'</span><span style="color: #339933;">,</span>
        url <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'http://t.sina.com.cn/ajaxlogin.php?framelogin=1&amp;callback=parent.sinaSSOController.feedBackUrlCallBack'</span><span style="color: #339933;">,</span>
        returntype <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'META'</span><span style="color: #339933;">,</span>
    <span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #0000ff;">$res</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">is_success</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">print</span> <span style="color: #000000; font-weight: bold;">STDERR</span> <span style="color: #0000ff;">$res</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">status_line</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$req</span> <span style="color: #339933;">=</span> HTTP<span style="color: #339933;">::</span><span style="color: #006600;">Request</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">new</span><span style="color: #009900;">&#40;</span>GET <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'http://t.sina.com.cn/pub/tags'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$req</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">content_type</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">'application/x-www-form-urlencoded'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$res</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ua</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">request</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$req</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066;">print</span> <span style="color: #0000ff;">$res</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">as_string</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl&amp;title=%E7%94%A8Java%E5%92%8CPerl%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&amp;bodytext=%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D2011%2F06%2F28%E6%9B%B4%E6%96%B0%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%E6%9B%B4%E6%96%B0%E4%BA%86HttpClient%204.x%20%E6%A8%A1%E6%8B%9F%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A%E7%9A%84%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%EF%BC%8C%E7%BB%8F%E6%B5%8B%E8%AF%95%E8%83%BD%E6%AD%A3%E5%B8%B8%E7%99%BB%E5%BD%95%EF%BC%8CHttpClient%203.x%E5%92%8CPerl%E7%89%88%E6%9C%AC%E7%9A%84%E4%BB%A3%E7%A0%81%E6%B2%A1%E6%9C%89%E6%9B%B4%E6%96%B0%EF%BC%8C%E6%9C%89%E9%9C%80%E8%A6%81%E7%9A%84%E5%90%8C%E5%AD%A6%E8%87%AA%E5%B7%B1%E5%8F%82%E8%80%83HttpClient%204.x%E6%94%B9" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl&amp;title=%E7%94%A8Java%E5%92%8CPerl%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl&amp;title=%E7%94%A8Java%E5%92%8CPerl%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&amp;notes=%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D2011%2F06%2F28%E6%9B%B4%E6%96%B0%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%E6%9B%B4%E6%96%B0%E4%BA%86HttpClient%204.x%20%E6%A8%A1%E6%8B%9F%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A%E7%9A%84%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%EF%BC%8C%E7%BB%8F%E6%B5%8B%E8%AF%95%E8%83%BD%E6%AD%A3%E5%B8%B8%E7%99%BB%E5%BD%95%EF%BC%8CHttpClient%203.x%E5%92%8CPerl%E7%89%88%E6%9C%AC%E7%9A%84%E4%BB%A3%E7%A0%81%E6%B2%A1%E6%9C%89%E6%9B%B4%E6%96%B0%EF%BC%8C%E6%9C%89%E9%9C%80%E8%A6%81%E7%9A%84%E5%90%8C%E5%AD%A6%E8%87%AA%E5%B7%B1%E5%8F%82%E8%80%83HttpClient%204.x%E6%94%B9" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl&amp;t=%E7%94%A8Java%E5%92%8CPerl%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=%E7%94%A8Java%E5%92%8CPerl%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl&amp;title=%E7%94%A8Java%E5%92%8CPerl%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&amp;annotation=%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D2011%2F06%2F28%E6%9B%B4%E6%96%B0%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0D%0A%E6%9B%B4%E6%96%B0%E4%BA%86HttpClient%204.x%20%E6%A8%A1%E6%8B%9F%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A%E7%9A%84%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%EF%BC%8C%E7%BB%8F%E6%B5%8B%E8%AF%95%E8%83%BD%E6%AD%A3%E5%B8%B8%E7%99%BB%E5%BD%95%EF%BC%8CHttpClient%203.x%E5%92%8CPerl%E7%89%88%E6%9C%AC%E7%9A%84%E4%BB%A3%E7%A0%81%E6%B2%A1%E6%9C%89%E6%9B%B4%E6%96%B0%EF%BC%8C%E6%9C%89%E9%9C%80%E8%A6%81%E7%9A%84%E5%90%8C%E5%AD%A6%E8%87%AA%E5%B7%B1%E5%8F%82%E8%80%83HttpClient%204.x%E6%94%B9" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=%E7%94%A8Java%E5%92%8CPerl%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl&amp;title=%E7%94%A8Java%E5%92%8CPerl%E7%99%BB%E5%BD%95%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Fsina-microblog-login-using-httpclient-and-perl" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=mK8FuH-upn4:dAg_-51TVK8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=mK8FuH-upn4:dAg_-51TVK8:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/mK8FuH-upn4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/sina-microblog-login-using-httpclient-and-perl/feed</wfw:commentRss>
		<slash:comments>88</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/sina-microblog-login-using-httpclient-and-perl</feedburner:origLink></item>
		<item>
		<title>闹钟</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/TeLUjWYruDU/alarm-clock</link>
		<comments>http://www.icycandy.com/blog/alarm-clock#comments</comments>
		<pubDate>Sun, 20 Feb 2011 07:47:19 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Daily Life]]></category>
		<category><![CDATA[时间]]></category>
		<category><![CDATA[闹钟]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11498</guid>
		<description><![CDATA[早晨起床，有时候七点，有时候十点 中午午睡，有时候半小时，有时候三小时 这大概是很久以来的“睡到自然醒”留下的后遗症 我想我需要一个闹钟 ]]></description>
			<content:encoded><![CDATA[<p>早晨起床，有时候七点，有时候十点<br />
中午午睡，有时候半小时，有时候三小时<br />
这大概是很久以来的“睡到自然醒”留下的后遗症<br />
我想我需要一个闹钟</p>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock&amp;title=%E9%97%B9%E9%92%9F&amp;bodytext=%E6%97%A9%E6%99%A8%E8%B5%B7%E5%BA%8A%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E4%B8%83%E7%82%B9%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E5%8D%81%E7%82%B9%0D%0A%E4%B8%AD%E5%8D%88%E5%8D%88%E7%9D%A1%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E5%8D%8A%E5%B0%8F%E6%97%B6%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E4%B8%89%E5%B0%8F%E6%97%B6%0D%0A%E8%BF%99%E5%A4%A7%E6%A6%82%E6%98%AF%E5%BE%88%E4%B9%85%E4%BB%A5%E6%9D%A5%E7%9A%84%E2%80%9C%E7%9D%A1%E5%88%B0%E8%87%AA%E7%84%B6%E9%86%92%E2%80%9D%E7%95%99%E4%B8%8B%E7%9A%84%E5%90%8E%E9%81%97%E7%97%87%0D%0A%E6%88%91%E6%83%B3%E6%88%91%E9%9C%80%E8%A6%81%E4%B8%80%E4%B8%AA%E9%97%B9%E9%92%9F" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock&amp;title=%E9%97%B9%E9%92%9F" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock&amp;title=%E9%97%B9%E9%92%9F&amp;notes=%E6%97%A9%E6%99%A8%E8%B5%B7%E5%BA%8A%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E4%B8%83%E7%82%B9%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E5%8D%81%E7%82%B9%0D%0A%E4%B8%AD%E5%8D%88%E5%8D%88%E7%9D%A1%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E5%8D%8A%E5%B0%8F%E6%97%B6%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E4%B8%89%E5%B0%8F%E6%97%B6%0D%0A%E8%BF%99%E5%A4%A7%E6%A6%82%E6%98%AF%E5%BE%88%E4%B9%85%E4%BB%A5%E6%9D%A5%E7%9A%84%E2%80%9C%E7%9D%A1%E5%88%B0%E8%87%AA%E7%84%B6%E9%86%92%E2%80%9D%E7%95%99%E4%B8%8B%E7%9A%84%E5%90%8E%E9%81%97%E7%97%87%0D%0A%E6%88%91%E6%83%B3%E6%88%91%E9%9C%80%E8%A6%81%E4%B8%80%E4%B8%AA%E9%97%B9%E9%92%9F" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock&amp;t=%E9%97%B9%E9%92%9F" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=%E9%97%B9%E9%92%9F%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock&amp;title=%E9%97%B9%E9%92%9F&amp;annotation=%E6%97%A9%E6%99%A8%E8%B5%B7%E5%BA%8A%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E4%B8%83%E7%82%B9%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E5%8D%81%E7%82%B9%0D%0A%E4%B8%AD%E5%8D%88%E5%8D%88%E7%9D%A1%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E5%8D%8A%E5%B0%8F%E6%97%B6%EF%BC%8C%E6%9C%89%E6%97%B6%E5%80%99%E4%B8%89%E5%B0%8F%E6%97%B6%0D%0A%E8%BF%99%E5%A4%A7%E6%A6%82%E6%98%AF%E5%BE%88%E4%B9%85%E4%BB%A5%E6%9D%A5%E7%9A%84%E2%80%9C%E7%9D%A1%E5%88%B0%E8%87%AA%E7%84%B6%E9%86%92%E2%80%9D%E7%95%99%E4%B8%8B%E7%9A%84%E5%90%8E%E9%81%97%E7%97%87%0D%0A%E6%88%91%E6%83%B3%E6%88%91%E9%9C%80%E8%A6%81%E4%B8%80%E4%B8%AA%E9%97%B9%E9%92%9F" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=%E9%97%B9%E9%92%9F&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock&amp;title=%E9%97%B9%E9%92%9F&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Falarm-clock" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=TeLUjWYruDU:u-AvpLRcWVs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=TeLUjWYruDU:u-AvpLRcWVs:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/TeLUjWYruDU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/alarm-clock/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/alarm-clock</feedburner:origLink></item>
		<item>
		<title>折腾Gentoo</title>
		<link>http://feedproxy.google.com/~r/icycandy/~3/RxeECgpeSMA/toss-gentoo</link>
		<comments>http://www.icycandy.com/blog/toss-gentoo#comments</comments>
		<pubDate>Sat, 08 Jan 2011 07:35:08 +0000</pubDate>
		<dc:creator>icycandy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Gentoo]]></category>

		<guid isPermaLink="false">http://www.icycandy.com/?p=11472</guid>
		<description><![CDATA[最近几天断断续续尝试了一下Gentoo，最后还是以失败告终。 在第5遍编译内核之后，终于有了一个正常运行的命令行界面。当时把我给兴奋的呀，马上跑过去把这个好消息告诉了<a href="http://blog.csdn.net/luoleicn">lluo</a>和<a href="http://hi.baidu.com/foricee">foricee</a>。可惜接下来尝试了两次编译图形界面，死活搞不出来。 然后一狠心，又回到可爱的Fedora了。当我发现在10多分钟后，亲切的Fedora 14蓝色界面出现在面前，眼眶顿时湿润了。我在想，我折腾Gentoo不是在找罪受么。 不过话说回来，Gentoo始终还是要继续折腾的，等空闲的时候。 ]]></description>
			<content:encoded><![CDATA[<p>最近几天断断续续尝试了一下Gentoo，最后还是以失败告终。</p>
<p>在第5遍编译内核之后，终于有了一个正常运行的命令行界面。当时把我给兴奋的呀，马上跑过去把这个好消息告诉了<a href="http://blog.csdn.net/luoleicn">lluo</a>和<a href="http://hi.baidu.com/foricee">foricee</a>。可惜接下来尝试了两次编译图形界面，死活搞不出来。</p>
<p>然后一狠心，又回到可爱的Fedora了。当我发现在10多分钟后，亲切的Fedora 14蓝色界面出现在面前，眼眶顿时湿润了。我在想，我折腾Gentoo不是在找罪受么。</p>
<p>不过话说回来，Gentoo始终还是要继续折腾的，等空闲的时候。</p>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo&amp;title=%E6%8A%98%E8%85%BEGentoo&amp;bodytext=%E6%9C%80%E8%BF%91%E5%87%A0%E5%A4%A9%E6%96%AD%E6%96%AD%E7%BB%AD%E7%BB%AD%E5%B0%9D%E8%AF%95%E4%BA%86%E4%B8%80%E4%B8%8BGentoo%EF%BC%8C%E6%9C%80%E5%90%8E%E8%BF%98%E6%98%AF%E4%BB%A5%E5%A4%B1%E8%B4%A5%E5%91%8A%E7%BB%88%E3%80%82%0D%0A%0D%0A%E5%9C%A8%E7%AC%AC5%E9%81%8D%E7%BC%96%E8%AF%91%E5%86%85%E6%A0%B8%E4%B9%8B%E5%90%8E%EF%BC%8C%E7%BB%88%E4%BA%8E%E6%9C%89%E4%BA%86%E4%B8%80%E4%B8%AA%E6%AD%A3%E5%B8%B8%E8%BF%90%E8%A1%8C%E7%9A%84%E5%91%BD%E4%BB%A4%E8%A1%8C%E7%95%8C%E9%9D%A2%E3%80%82%E5%BD%93%E6%97%B6%E6%8A%8A%E6%88%91%E7%BB%99%E5%85%B4%E5%A5%8B%E7%9A%84%E5%91%80%EF%BC%8C%E9%A9%AC%E4%B8%8A%E8%B7%91%E8%BF%87%E5%8E%BB%E6%8A%8A%E8%BF%99%E4%B8%AA%E5%A5%BD%E6%B6%88%E6%81%AF%E5%91%8A%E8%AF%89%E4%BA%86lluo%E5%92%8Cforicee" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo&amp;title=%E6%8A%98%E8%85%BEGentoo" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo&amp;title=%E6%8A%98%E8%85%BEGentoo&amp;notes=%E6%9C%80%E8%BF%91%E5%87%A0%E5%A4%A9%E6%96%AD%E6%96%AD%E7%BB%AD%E7%BB%AD%E5%B0%9D%E8%AF%95%E4%BA%86%E4%B8%80%E4%B8%8BGentoo%EF%BC%8C%E6%9C%80%E5%90%8E%E8%BF%98%E6%98%AF%E4%BB%A5%E5%A4%B1%E8%B4%A5%E5%91%8A%E7%BB%88%E3%80%82%0D%0A%0D%0A%E5%9C%A8%E7%AC%AC5%E9%81%8D%E7%BC%96%E8%AF%91%E5%86%85%E6%A0%B8%E4%B9%8B%E5%90%8E%EF%BC%8C%E7%BB%88%E4%BA%8E%E6%9C%89%E4%BA%86%E4%B8%80%E4%B8%AA%E6%AD%A3%E5%B8%B8%E8%BF%90%E8%A1%8C%E7%9A%84%E5%91%BD%E4%BB%A4%E8%A1%8C%E7%95%8C%E9%9D%A2%E3%80%82%E5%BD%93%E6%97%B6%E6%8A%8A%E6%88%91%E7%BB%99%E5%85%B4%E5%A5%8B%E7%9A%84%E5%91%80%EF%BC%8C%E9%A9%AC%E4%B8%8A%E8%B7%91%E8%BF%87%E5%8E%BB%E6%8A%8A%E8%BF%99%E4%B8%AA%E5%A5%BD%E6%B6%88%E6%81%AF%E5%91%8A%E8%AF%89%E4%BA%86lluo%E5%92%8Cforicee" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo&amp;t=%E6%8A%98%E8%85%BEGentoo" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=%E6%8A%98%E8%85%BEGentoo%20-%20http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo&amp;title=%E6%8A%98%E8%85%BEGentoo&amp;annotation=%E6%9C%80%E8%BF%91%E5%87%A0%E5%A4%A9%E6%96%AD%E6%96%AD%E7%BB%AD%E7%BB%AD%E5%B0%9D%E8%AF%95%E4%BA%86%E4%B8%80%E4%B8%8BGentoo%EF%BC%8C%E6%9C%80%E5%90%8E%E8%BF%98%E6%98%AF%E4%BB%A5%E5%A4%B1%E8%B4%A5%E5%91%8A%E7%BB%88%E3%80%82%0D%0A%0D%0A%E5%9C%A8%E7%AC%AC5%E9%81%8D%E7%BC%96%E8%AF%91%E5%86%85%E6%A0%B8%E4%B9%8B%E5%90%8E%EF%BC%8C%E7%BB%88%E4%BA%8E%E6%9C%89%E4%BA%86%E4%B8%80%E4%B8%AA%E6%AD%A3%E5%B8%B8%E8%BF%90%E8%A1%8C%E7%9A%84%E5%91%BD%E4%BB%A4%E8%A1%8C%E7%95%8C%E9%9D%A2%E3%80%82%E5%BD%93%E6%97%B6%E6%8A%8A%E6%88%91%E7%BB%99%E5%85%B4%E5%A5%8B%E7%9A%84%E5%91%80%EF%BC%8C%E9%A9%AC%E4%B8%8A%E8%B7%91%E8%BF%87%E5%8E%BB%E6%8A%8A%E8%BF%99%E4%B8%AA%E5%A5%BD%E6%B6%88%E6%81%AF%E5%91%8A%E8%AF%89%E4%BA%86lluo%E5%92%8Cforicee" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://www.friendfeed.com/share?title=%E6%8A%98%E8%85%BEGentoo&amp;link=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png" class="sociable-img sociable-hovers" title="FriendFeed" alt="FriendFeed" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo&amp;title=%E6%8A%98%E8%85%BEGentoo&amp;srcURL=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo&amp;srcTitle=%E5%86%B0%E7%B3%96%E8%91%AB%E8%8A%A6+%E7%B3%96%E8%91%AB%E8%8A%A6%E5%A4%A7%E6%88%98%E8%91%AB%E8%8A%A6%E5%A8%83" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/googlebuzz.png" class="sociable-img sociable-hovers" title="Google Buzz" alt="Google Buzz" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Fwww.icycandy.com%2Fblog%2Ftoss-gentoo" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://www.icycandy.com/feed" ><img src="http://www.icycandy.com/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/icycandy?a=RxeECgpeSMA:NhDeHsxUa6E:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/icycandy?i=RxeECgpeSMA:NhDeHsxUa6E:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/icycandy/~4/RxeECgpeSMA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icycandy.com/blog/toss-gentoo/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.icycandy.com/blog/toss-gentoo</feedburner:origLink></item>
	</channel>
</rss>

