<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>七分地</title>
	<atom:link href="http://www.qifendi.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.qifendi.com</link>
	<description>soncy的七分责任田，种点瓜果蔬菜和杂草</description>
	<lastBuildDate>Sun, 22 Aug 2010 13:25:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>本博客升级到wordpress3.0.1</title>
		<link>http://www.qifendi.com/html/y2010/the-blog-upgrade-to-wordpress3-0-1.html</link>
		<comments>http://www.qifendi.com/html/y2010/the-blog-upgrade-to-wordpress3-0-1.html#comments</comments>
		<pubDate>Sun, 22 Aug 2010 13:24:38 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=962</guid>
		<description><![CDATA[怀着忐忑的心情升级到了wordpress3.0.1，恩，还好一些顺利，暂时没有发现不兼容的插件或者主题，也暂时还没发现wordpress3.0.1的新功能，最近太忙，没时间打理博客。[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/the-blog-upgrade-to-wordpress3-0-1.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 怀着忐忑的心情升级到了wordpress3.0.1，恩，还好一些顺利，暂时没有发现不兼容的插件或者主题，也暂时还没发现wordpress3.0.1的新功能，最近太忙，没时间打理博客。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/the-blog-upgrade-to-wordpress3-0-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1元博客空间火热开启[活动结束]</title>
		<link>http://www.qifendi.com/html/y2010/1-per-blog-space-fiery-open-top.html</link>
		<comments>http://www.qifendi.com/html/y2010/1-per-blog-space-fiery-open-top.html#comments</comments>
		<pubDate>Wed, 26 May 2010 03:18:37 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[便宜主机]]></category>
		<category><![CDATA[免费空间]]></category>
		<category><![CDATA[博客主机]]></category>
		<category><![CDATA[博客空间]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=937</guid>
		<description><![CDATA[机房：达拉斯Softlayer，到亚洲速度最快的几个机房之一。<br />
测试IP：174.36.91.8 <br />
下载速度测试：<br />
10MB : <a href="http://174.36.91.8/10mb.zip">http://174.36.91.8/10mb.zip</a><br />
100MB : <a href="http://174.36.91.8/100mb.zip">http://174.36.91.8/100mb.zip</a>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/1-per-blog-space-fiery-open-top.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p>机房：达拉斯Softlayer，到亚洲速度最快的几个机房之一。<br />
测试IP：174.36.91.8 <br />
下载速度测试：<br />
10MB : <a href="http://174.36.91.8/10mb.zip">http://174.36.91.8/10mb.zip</a><br />
100MB : <a href="http://174.36.91.8/100mb.zip">http://174.36.91.8/100mb.zip</a></p>
<p>空间大小：100MB<br />
流量大小：3GB<br />
SSH帐号：0个 （用途大家都知道）<br />
MYSQL：1个<br />
可建站点：1个<br />
可绑域名：1个<br />
子域名：2个<br />
管理面板：DirectAdmin<br />
空间环境：Linux+Apache+PHP+Mysql，完美支持urlrewrite<br />
完美支持：Wordpress,dedecms,discuz</p>
<p>火热促销价：<span style="font-size: 14px"><span style="color: #f00">1元/月</span></span>只适用于第一个月 续费2元/月</p>
<p>加入条件：<br />
1，不能放置违反美国法律和中国法律的内容。<br />
2，不能放置有版权争议的内容，如MP3文件和视频文件，种子文件等。<br />
3，不能放置高资源占用的程序和采集程序。<br />
联系QQ：8618710</p>
<p>淘宝地址：<a href="http://item.taobao.com/auction/item_detail.htm?item_num_id=5573639213">http://item.taobao.com/auction/item_detail.htm?item_num_id=5573639213</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/1-per-blog-space-fiery-open-top.html/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>拟推出美国博客虚拟主机业务(提供SSH帐号)[置顶]</title>
		<link>http://www.qifendi.com/html/y2010/intended-to-introduce-a-blog-hosting-service.html</link>
		<comments>http://www.qifendi.com/html/y2010/intended-to-introduce-a-blog-hosting-service.html#comments</comments>
		<pubDate>Tue, 25 May 2010 11:54:57 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[便宜主机]]></category>
		<category><![CDATA[博客主机]]></category>
		<category><![CDATA[美国主机]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=918</guid>
		<description><![CDATA[<span style="font-size: 12px"><span style="color: #f00"><strong>本站拟推出美国虚拟主机业务，机器配置：<br />
</strong></span></span><br />
机房：达拉斯Softlayer，到亚洲速度最快的几个机房之一。<br />
测试IP：174.36.91.8 <br />
下载速度测试：<br />
10MB : <a href="http://174.36.91.8/10mb.zip">http://174.36.91.8/10mb.zip</a><br />
100MB : <a href="http://174.36.91.8/100mb.zip">http://174.36.91.8/100mb.zip</a>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/intended-to-introduce-a-blog-hosting-service.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 12px"><span style="color: #f00"><strong>本站拟推出美国虚拟主机业务，机器配置：<br />
</strong></span></span><br />
机房：达拉斯Softlayer，到亚洲速度最快的几个机房之一。<br />
测试IP：174.36.91.8 <br />
下载速度测试：<br />
10MB : <a href="http://174.36.91.8/10mb.zip">http://174.36.91.8/10mb.zip</a><br />
100MB : <a href="http://174.36.91.8/100mb.zip">http://174.36.91.8/100mb.zip</a></p>
<p>&nbsp;<br />
<style type="text/css">
table{border:1px solid #ccc;}
.sghostbuy td{height:26px;border:1px solid #ccc;}
</style>
<table border="0" cellpadding="1" cellspacing="1" class="sghostbuy" style="font: 12px arial, helvetica, sans-serif" width="600">
<tbody>
<tr>
<td align="right">
<strong>规格参数</strong>
</td>
<td align="middle">
<strong>入门型(Mini)</strong>
</td>
<td align="middle">
<strong>标准型(stan)</strong>
</td>
<td align="middle">
<strong>进阶型(per)</strong>
</td>
</tr>
<tr>
<td align="right">
<strong>空间大小</strong>
</td>
<td align="middle">
100MB
</td>
<td align="middle">
500MB
</td>
<td align="middle">
1GB
</td>
</tr>
<tr>
<td align="right">
<strong>流量大小（每月）</strong>
</td>
<td align="middle">
3GB
</td>
<td align="middle">
6GB
</td>
<td align="middle">
15GB
</td>
</tr>
<tr>
<td align="right">
<strong>数据库大小</strong>
</td>
<td align="middle" colspan="3">
与空间共享
</td>
</tr>
<tr>
<td align="right">
<strong>mysql数据库</strong>
</td>
<td align="middle">
1个
</td>
<td align="middle">
1个
</td>
<td align="middle">
5个
</td>
</tr>
<tr>
<td align="right">
<strong>可建站点</strong>
</td>
<td align="middle">
1个
</td>
<td align="middle">
1个
</td>
<td align="middle">
2个
</td>
</tr>
<tr>
<td align="right">
<strong>可绑域名</strong>
</td>
<td align="middle">
1个
</td>
<td align="middle">
2个
</td>
<td align="middle">
5个
</td>
</tr>
<tr>
<td align="right">
<strong>子域名绑定</strong>
</td>
<td align="middle">
1个
</td>
<td align="middle">
20个
</td>
<td align="middle">
40个
</td>
</tr>
<tr>
<td align="right">
<strong style="color: #f00">SSH账号</strong>
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/wkt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
</tr>
<tr>
<td align="right">
<strong>管理面板</strong>
</td>
<td align="middle" colspan="3">
DirectAdmin
</td>
</tr>
<tr>
<td align="right">
<strong>PHP</strong>
</td>
<td align="middle">
5.2.13
</td>
<td align="middle">
5.2.13
</td>
<td align="middle">
5.2.13
</td>
</tr>
<tr>
<td align="right">
<strong>Perl</strong>
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
</tr>
<tr>
<td align="right">
<strong>Zend Optimizer</strong>
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
</tr>
<tr>
<td align="right">
<strong>GD</strong>
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
</tr>
<tr>
<td align="right">
<strong>UrlRewrite</strong>
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
</tr>
<tr>
<td align="right">
<strong>售后支持</strong>
</td>
<td align="middle" colspan="3">
QQ,email,阿里旺旺
</td>
</tr>
<tr>
<td align="right">
<strong>.htaccess 伪静态</strong>
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
</tr>
<tr>
<td align="right">
<strong>在线解压缩/打包</strong>
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/ykt.gif" />
</td>
</tr>
<tr>
<td align="right">
<strong>价格</strong>
</td>
<td align="middle">
<strong style="color: #f00">1元</strong>/月（续费2元/月）
</td>
<td align="middle">
<strong style="color: #f00">5月</strong>/月 <strong style="color: #f00">50元</strong>/年
</td>
<td align="middle">
<strong style="color: #f00">8元</strong>/月 <strong style="color: #f00">80元</strong>/年
</td>
</tr>
<tr>
<td align="right">
<strong>购买链接</strong>
</td>
<td align="middle">
<a href="http://item.taobao.com/item.htm?id=5573639213" target="_blank"><strong>购买</strong></a>
</td>
<td align="middle">
<a href="http://item.taobao.com/item.htm?id=5566976439" target="_blank"><strong>购买</strong></a>
</td>
<td align="middle">
<a href="http://item.taobao.com/item.htm?id=5640053403" target="_blank"><strong>购买</strong></a>
</td>
</tr>
<tr>
<td align="right">
<strong>退款保证</strong>
</td>
<td align="middle">
<img alt="" src="http://s1.eyike.com/bill/images/wkt.gif" />
</td>
<td align="middle">
3天
</td>
<td align="middle">
3天
</td>
</tr>
</tbody>
</table>
<p>
购买流程：<br />
1，选好自己需要的型号，在淘宝下单付款。<br />
2，进入下面的地址，填写用户信息 <a href="http://s1.eyike.com/bill/newuser.php" target="_blank">http://s1.eyike.com/bill/newuser.php</a>。 <br />
3，通知卖家您的账号信息。<br />
4，卖家开通您的空间并发送开通邮件。<br />
5，买家收信使用空间，确认收货 。 </p>
<p>
加入条件：<br />
1，不能放置违反美国法律和中国法律的内容。<br />
2，不能放置有版权争议的内容，如MP3文件和视频文件，种子文件等。<br />
3，不能放置高资源占用的程序和采集程序。<br />
联系QQ：8618710<br />
购买后请加QQ群：34690226</p>
<p>QFDhost为七分地提供的博客主机的品牌名称。更多详情请访问 <a href="http://www.qfdhost.com">http://www.qfdhost.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/intended-to-introduce-a-blog-hosting-service.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Debian5.0 + LNMP0.4下安装pureftpd</title>
		<link>http://www.qifendi.com/html/y2010/debian5-0-lnmp0-4-install-pureftpd.html</link>
		<comments>http://www.qifendi.com/html/y2010/debian5-0-lnmp0-4-install-pureftpd.html#comments</comments>
		<pubDate>Fri, 30 Apr 2010 14:36:14 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Linode]]></category>
		<category><![CDATA[pureftpd]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=900</guid>
		<description><![CDATA[<img alt="" class="alignleft size-full wp-image-908" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/pureftpd.gif" title="pureftpd" width="250" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; VPS换成Linode后，采用了Debian5.0+LNMP0.4的环境配置，但是LNMP的包中没有安装ftp服务，这就需要自己装一个了，LNMP包中有一个pureftpd.sh脚本，是用来安装pureftpd的，不幸的是，该脚本在在CentOS下能完美的安装pureftpd，但是在Debian下跑完后并不能成功安装。又是在网上一顿狂搜，花了好一段事件才终于搞定了这个pureftpd，下面是我自己的安装步骤（未重复验证），仅作参考：[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/debian5-0-lnmp0-4-install-pureftpd.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p><img alt="" class="alignleft size-full wp-image-908" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/pureftpd.gif" title="pureftpd" width="250" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VPS换成<a href="http://www.linode.com/?r=271da25be65638c98383d2fe087d7fb14ea607e6" target="_blank">Linode</a>后，采用了Debian5.0+LNMP0.4的环境配置，但是LNMP的包中没有安装ftp服务，这就需要自己装一个了，LNMP包中有一个pureftpd.sh脚本，是用来安装pureftpd的，不幸的是，该脚本在在CentOS下能完美的安装pureftpd，但是在Debian下跑完后并不能成功安装。又是在网上一顿狂搜，花了好一段事件才终于搞定了这个pureftpd，下面是我自己的安装步骤（未重复验证），仅作参考：</p>
<h3>
一，编译安装pureftpd<br />
</h3>
<p></p>

<div class="wp_codebox"><table><tr id="p9001"><td class="code" id="p900code1"><pre class="base" style="font-family:monospace;">cd /root/lnmp0.4/
apt-get install unzip
wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.29.tar.gz
tar zvxf pure-ftpd-1.0.29.tar.gz
cd pure-ftpd-1.0.29
cp /usr/local/mysql/lib/mysql/*.* /usr/lib/
./configure --prefix=/usr/local/pureftpd CFLAGS=-O2 --with-mysql=/usr/local/mysql --with-quotas --with-cookie --with-virtualhosts --with-virtualroot --with-diraliases --with-sysquotas --with-ratios --with-altlog --with-paranoidmsg --with-shadow --with-welcomemsg  --with-throttling --with-uploadscript --with-language=simplified-chinese
make
make check
make install
mkdir /usr/local/pureftpd/etc/
cp configuration-file/pure-config.pl /usr/local/pureftpd/sbin/
cp configuration-file/pure-ftpd.conf /usr/local/pureftpd/etc/
chmod +x /usr/local/pureftpd/sbin/pure-config.pl</pre></td></tr></table></div>

<p>到此，pureftpd编译完毕，接下来是配置，很幸运的是，pureftpd的配置已经可以WEB界面配置了。</p>
<h3>
二，配置pureftpd<br />
</h3>

<div class="wp_codebox"><table><tr id="p9002"><td class="code" id="p900code2"><pre class="base" style="font-family:monospace;">unzip User_manager_for-PureFTPd_v2.1_CN.zip
mv ftp /home/wwwroot/
chmod 777 -R /home/wwwroot/ftp/
chown www -R /home/wwwroot/ftp/</pre></td></tr></table></div>

<p>访问http://yourdomain/ftp/install.php 接下来参考军哥的《<a href="http://www.vpser.net/manage/lnmp-pureftpd-cp.html" target="_blank">lnmp之pureftpd管理面板安装教程</a>》 如果上传的时候遇到权限问题，比如你的网站是从别的服务器打包wget过来，然后用root解压的，可以</p>

<div class="wp_codebox"><table><tr id="p9003"><td class="code" id="p900code3"><pre class="base" style="font-family:monospace;">chmod 755 -R /home/wwwroot/
chown www -R /home/wwwroot/</pre></td></tr></table></div>

<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/debian5-0-lnmp0-4-install-pureftpd.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>入手 Linode 360s型VPS</title>
		<link>http://www.qifendi.com/html/y2010/based-vps-starting-linode-360s.html</link>
		<comments>http://www.qifendi.com/html/y2010/based-vps-starting-linode-360s.html#comments</comments>
		<pubDate>Sat, 24 Apr 2010 15:50:12 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[Kloxo]]></category>
		<category><![CDATA[Linode]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=891</guid>
		<description><![CDATA[<p><img class="alignleft size-full wp-image-897" title="linode" src="http://www.qifendi.com/wp-content/uploads/2010/04/linode.gif" alt="" width="250" height="100" />      <a href="http://www.linode.com/?r=271da25be65638c98383d2fe087d7fb14ea607e6" target="_blank">Linode</a>是一家口碑非常不错的VPS服务提供商，他们的服务器稳定性相当受好评，我也禁不住诱惑买了一款360s型的，内存360MB，一个月流量200GB，月付19.95美元。购买流程不详述了，军哥的这篇文章《<a href="http://www.vpser.net/usa-vps/linode.html" target="_blank">Linode 购买、安装、测试、配置教程</a>》有详细说明，提醒一下，购买前先访问下<a href="http://www.linode.com/avail/" target="_blank">http://www.linode.com/avail/</a> 查看一下每个机房的每款VPS剩余数量。</p>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/based-vps-starting-linode-360s.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p><img alt="" class="alignleft size-full wp-image-897" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/linode.gif" title="linode" width="250" /> <a href="http://www.linode.com/?r=271da25be65638c98383d2fe087d7fb14ea607e6" target="_blank">Linode</a>是一家口碑非常不错的VPS服务提供商，他们的服务器稳定性相当受好评，我也禁不住诱惑买了一款360s型的，内存360MB，一个月流量200GB，月付19.95美元。购买流程不详述了，军哥的这篇文章《<a href="http://www.vpser.net/usa-vps/linode.html" target="_blank">Linode 购买、安装、测试、配置教程</a>》有详细说明，提醒一下，购买前先访问下<a href="http://www.linode.com/avail/" target="_blank">http://www.linode.com/avail/</a> 查看一下每个机房的每款VPS剩余数量。 一切照教程搞定之后，由于想在VPS上放置多个站点，不用面板的话配置有点麻烦，所以还是考虑装Kloxo面板，具体安装流程军哥的这篇文章《<a href="http://www.vpser.net/vps-cp/centos-linux-vps-kloxol-xadmin.html" target="_blank">CentOS Linux VPS Kloxo/Lxadmin控制面板安装教程</a>》也有详细描述，一切安装就绪后，进入kloxo准备添加站点时，问题出现了，kloxo一直提示没有IP地址(no_ip_address)，但是去添加IP地址的时候又说IP地址被占用了，只是奇了怪了，google一把，原来需要自己动手修改系统网络配置，如下：</p>

<div class="wp_codebox"><table><tr id="p8914"><td class="code" id="p891code4"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#vim /etc/sysconfig/network-scripts/ifcfg-eth0</span></pre></td></tr></table></div>

<p>在最后其中添加</p>

<div class="wp_codebox"><table><tr id="p8915"><td class="code" id="p891code5"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">IPADDR</span>=12.34.56.78<span style="color: #000000; font-weight: bold;">//</span>你的IP
<span style="color: #007800;">NETMASK</span>=255.255.255.0<span style="color: #000000; font-weight: bold;">//</span>子网掩码
<span style="color: #007800;">GATEWAY</span>=12.34.56.1<span style="color: #000000; font-weight: bold;">//</span>默认网关</pre></td></tr></table></div>

<p>之后就可以正常添加站点了。Kloxo装完后默认采用的Apache作为web服务器，如果改成lighttpd的话，改完后需要自己登陆终端启动一下lighttpd。</p>

<div class="wp_codebox"><table><tr id="p8916"><td class="code" id="p891code6"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>lighttpd restart</pre></td></tr></table></div>

<p>一切都搞定，传了个探针上去看了一下，服务器时间显示的是美国时间，为了保证现在的跑着的程序能平稳迁移到Linode，还是把服务器时间改成北京时间吧。如下：</p>

<div class="wp_codebox"><table><tr id="p8917"><td class="code" id="p891code7"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-sf</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>zoneinfo<span style="color: #000000; font-weight: bold;">/</span>Asia<span style="color: #000000; font-weight: bold;">/</span>Shanghai <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>localtime</pre></td></tr></table></div>

<p>或者</p>

<div class="wp_codebox"><table><tr id="p8918"><td class="code" id="p891code8"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>zoneinfo<span style="color: #000000; font-weight: bold;">/</span>Asia<span style="color: #000000; font-weight: bold;">/</span>Shanghai <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>localtime</pre></td></tr></table></div>

<p>其次,使服务器时间同步化:</p>

<div class="wp_codebox"><table><tr id="p8919"><td class="code" id="p891code9"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-y</span> ntp
ntpdate <span style="color: #660033;">-d</span> us.pool.ntp.org</pre></td></tr></table></div>

<p>这样就可以了。不过最近选择的Fremont机房分配到的IP貌似没有之前的速度快了，有待测试。</p>
<p>如果您觉得该文章有用并且您也想购买Linode的VPS，您可以点击下面的链接过去购买：<font face="Courier New"><a href="http://www.linode.com/?r=271da25be65638c98383d2fe087d7fb14ea607e6" target="_blank">http://www.linode.com/?r=271da25be65638c98383d2fe087d7fb14ea607e6</a></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/based-vps-starting-linode-360s.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>JS分组切换内容并标识状态</title>
		<link>http://www.qifendi.com/html/y2010/js-packet-switch-content-and-identity-status.html</link>
		<comments>http://www.qifendi.com/html/y2010/js-packet-switch-content-and-identity-status.html#comments</comments>
		<pubDate>Fri, 23 Apr 2010 05:59:07 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[切换]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=861</guid>
		<description><![CDATA[大概需要实现得效果：<img src="http://www.qifendi.com/wp-content/uploads/2010/04/imgchange.gif" alt="" title="imgchange" width="600" height="200" class="aligncenter size-full wp-image-882" />[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/js-packet-switch-content-and-identity-status.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p>大概需要实现的效果：<img src="http://www.qifendi.com/wp-content/uploads/2010/04/imgchange.gif" alt="" title="imgchange" width="600" height="200" class="aligncenter size-full wp-image-882" />调用部分：</p>

<div class="wp_codebox"><table><tr id="p86110"><td class="code" id="p861code10"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> ftimg <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ImgChange<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
	prev <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;prev&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//上一组按钮ID</span>
	next <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;next&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//下一组按钮ID</span>
	listIco <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;list&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//状态小圆点ID</span>
	icoEl <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;li&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//小圆点标签</span>
	conent <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;content&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//需要切换的内容区ID</span>
	clist <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;list&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//切换区每组的class值</span>
	disabled <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;disabled&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//按钮无效后需要添加的className</span>
	active <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;active&quot;</span><span style="color: #006600; font-style: italic;">//小圆点激活时的className</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>HTML部分（可以发挥想象随意更改）：</p>

<div class="wp_codebox"><table><tr id="p86111"><td class="code" id="p861code11"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;prev&quot;&gt;上一组&lt;/div&gt;
&lt;ul id=&quot;list&quot;&gt;
	&lt;li&gt;1&lt;/li&gt;
	&lt;li&gt;2&lt;/li&gt;
	&lt;li&gt;3&lt;/li&gt;
&lt;/ul&gt;
&lt;div id=&quot;next&quot;&gt;下一组&lt;/div&gt;
&lt;div id=&quot;content&quot;&gt;
	&lt;div class=&quot;list&quot;&gt;第一组&lt;/div&gt;
	&lt;div class=&quot;list&quot;&gt;第二组&lt;/div&gt;
	&lt;div class=&quot;list&quot;&gt;第三组&lt;/div&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>CSS部分也可以发挥想象随意创造。 JS部分(代码中&amp;lt;为&#8221;<"符号，被插件转成这个了)：</p>

<div class="wp_codebox"><table><tr id="p86112"><td class="code" id="p861code12"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> ImgChange<span style="color: #009900;">&#40;</span>setting<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>setting<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;要使用该功能，请正确传入参数！&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._prev <span style="color: #339933;">=</span> setting.<span style="color: #660066;">prev</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._next <span style="color: #339933;">=</span> setting.<span style="color: #660066;">next</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._listIco <span style="color: #339933;">=</span> setting.<span style="color: #660066;">listIco</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._icoEl <span style="color: #339933;">=</span> setting.<span style="color: #660066;">icoEl</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._conent <span style="color: #339933;">=</span> setting.<span style="color: #660066;">conent</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._clist <span style="color: #339933;">=</span> setting.<span style="color: #660066;">clist</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">=</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">;</span><span style="color: #006600; font-style: italic;">//当前第几组</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">allGroups</span> <span style="color: #339933;">=</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">;</span><span style="color: #006600; font-style: italic;">//一共多少组</span>
	<span style="color: #000066; font-weight: bold;">this</span>._disabled <span style="color: #339933;">=</span> setting.<span style="color: #660066;">disabled</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._active <span style="color: #339933;">=</span> setting.<span style="color: #660066;">active</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
ImgChange.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">load</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> $cs <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">return</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._contents <span style="color: #339933;">=</span> $cs<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._conent<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;*&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._groups <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>._contents.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._contents<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">==</span> <span style="color: #000066; font-weight: bold;">this</span>._clist<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #000066; font-weight: bold;">this</span>._groups.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._contents<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">allGroups</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>._groups.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._nextEl <span style="color: #339933;">=</span> $cs<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._next<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._prevEl <span style="color: #339933;">=</span> $cs<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._prev<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._status <span style="color: #339933;">=</span> $cs<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._listIco<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._icoEl<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">regEvent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
ImgChange.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">hideAll</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>._groups.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>._groups<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">display</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;none&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
ImgChange.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">reStatus</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">allGroups</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">addCss</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._nextEl<span style="color: #339933;">,</span><span style="color: #000066; font-weight: bold;">this</span>._disabled<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">removeCss</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._nextEl<span style="color: #339933;">,</span><span style="color: #000066; font-weight: bold;">this</span>._disabled<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;=</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">addCss</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._prevEl<span style="color: #339933;">,</span><span style="color: #000066; font-weight: bold;">this</span>._disabled<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">removeCss</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._prevEl<span style="color: #339933;">,</span><span style="color: #000066; font-weight: bold;">this</span>._disabled<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>._status.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">removeCss</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._status<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000066; font-weight: bold;">this</span>._active<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">hideAll</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>._groups<span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">display</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;block&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">addCss</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>._status<span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">-</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000066; font-weight: bold;">this</span>._active<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
ImgChange.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">regEvent</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> self <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">addEventListener</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		self._nextEl.<span style="color: #660066;">addEventListener</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;click&quot;</span> <span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			self.<span style="color: #660066;">next</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		self._prevEl.<span style="color: #660066;">addEventListener</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;click&quot;</span> <span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			self.<span style="color: #660066;">prev</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
		self._nextEl.<span style="color: #660066;">attachEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;onclick&quot;</span> <span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			self.<span style="color: #660066;">next</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		self._prevEl.<span style="color: #660066;">attachEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;onclick&quot;</span> <span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			self.<span style="color: #660066;">prev</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>._status.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #003366; font-weight: bold;">var</span> _st <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>._status<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">addEventListener</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			_st.<span style="color: #660066;">addEventListener</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;click&quot;</span> <span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>idx<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
					self.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">=</span> idx <span style="color: #339933;">+</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
					self.<span style="color: #660066;">reStatus</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
&nbsp;
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
			_st.<span style="color: #660066;">attachEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;onclick&quot;</span> <span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>idx<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
					self.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">=</span> idx <span style="color: #339933;">+</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
					self.<span style="color: #660066;">reStatus</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
ImgChange.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">next</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">allGroups</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">++;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">reStatus</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
ImgChange.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">prev</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;=</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">nowGroup</span> <span style="color: #339933;">--;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">reStatus</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
ImgChange.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">addCss</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>element<span style="color: #339933;">,</span>cssName<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
	<span style="color: #003366; font-weight: bold;">var</span> element<span style="color: #339933;">,</span>cssName<span style="color: #339933;">;</span> 
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>element.<span style="color: #660066;">className</span> <span style="color: #339933;">||</span> element.<span style="color: #660066;">className</span> <span style="color: #339933;">==</span> cssName<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
		element.<span style="color: #660066;">className</span> <span style="color: #339933;">=</span> cssName<span style="color: #339933;">;</span> 
	<span style="color: #009900;">&#125;</span> 
	<span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span> 
		element.<span style="color: #660066;">className</span> <span style="color: #339933;">=</span> element.<span style="color: #660066;">className</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot; &quot;</span> <span style="color: #339933;">+</span> cssName<span style="color: #339933;">;</span> 
	<span style="color: #009900;">&#125;</span> 
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
ImgChange.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">removeCss</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>element<span style="color: #339933;">,</span>cssName<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
	<span style="color: #003366; font-weight: bold;">var</span> element<span style="color: #339933;">,</span>cssName<span style="color: #339933;">;</span> 
	<span style="color: #003366; font-weight: bold;">var</span> oldCss <span style="color: #339933;">=</span> element.<span style="color: #660066;">className</span><span style="color: #339933;">;</span> 
	<span style="color: #003366; font-weight: bold;">var</span> cssList <span style="color: #339933;">=</span> oldCss.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot; &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> cssList.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
		<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>cssList<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> cssName<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
			cssList<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">;</span> 
			<span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span> 
		<span style="color: #009900;">&#125;</span> 
	<span style="color: #009900;">&#125;</span> 
	element.<span style="color: #660066;">className</span> <span style="color: #339933;">=</span> cssList.<span style="color: #660066;">join</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot; &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>演示：
<div class="runcode">
<p><textarea name="runcode" style="height:200px;width:690px;font-size:12px" class="runcode_text" id="runcode_EYHuEq">
&lt;style type=&quot;text/css&quot;&gt;
.active{color:#f00;}
.disabled{color:#888}
&lt;/style&gt;
&lt;div id=&quot;prev&quot;&gt;上一组&lt;/div&gt;
&lt;ul id=&quot;list&quot;&gt;
	&lt;li&gt;1&lt;/li&gt;
	&lt;li&gt;2&lt;/li&gt;
	&lt;li&gt;3&lt;/li&gt;
&lt;/ul&gt;
&lt;div id=&quot;next&quot;&gt;下一组&lt;/div&gt;
&lt;div id=&quot;content&quot;&gt;
	&lt;div class=&quot;list&quot;&gt;第一组&lt;/div&gt;
	&lt;div class=&quot;list&quot;&gt;第二组&lt;/div&gt;
	&lt;div class=&quot;list&quot;&gt;第三组&lt;/div&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
function ImgChange(setting){
	if(!setting){
		alert(&quot;要使用该功能，请正确传入参数！&quot;);
		return;
	}
	this._prev = setting.prev;
	this._next = setting.next;
	this._listIco = setting.listIco;
	this._icoEl = setting.icoEl;
	this._conent = setting.conent;
	this._clist = setting.clist;
	this.nowGroup = 1;//当前第几组
	this.allGroups = 1;//一共多少组
	this._disabled = setting.disabled;
	this._active = setting.active;
	this.load();
}
ImgChange.prototype.load = function(){
	var $cs = function(el){
		return document.getElementById(el);
	}
	this._contents = $cs(this._conent).getElementsByTagName(&quot;*&quot;);
	this._groups = [];
	for(var i = 0;i &lt; this._contents.length;i++){
		if(this._contents[i].className == this._clist){
			this._groups.push(this._contents[i]);
		}
	}
	this.allGroups = this._groups.length;
	this._nextEl = $cs(this._next);
	this._prevEl = $cs(this._prev);
	this._status = $cs(this._listIco).getElementsByTagName(this._icoEl);
	this.regEvent();
};
ImgChange.prototype.hideAll = function(){
	for(var i = 0;i &lt; this._groups.length;i++){
		this._groups[i].style.display = &quot;none&quot;;
	}
};
ImgChange.prototype.reStatus = function(){
	if(this.nowGroup &gt;= this.allGroups){
		this.addCss(this._nextEl,this._disabled);
	}else{
		this.removeCss(this._nextEl,this._disabled);
	}
	if(this.nowGroup &lt;= 1){
		this.addCss(this._prevEl,this._disabled);
	}else{
		this.removeCss(this._prevEl,this._disabled);
	}
	for(var i = 0;i &lt; this._status.length;i++){
		this.removeCss(this._status[i],this._active);
	}
	this.hideAll();
	this._groups[this.nowGroup -1].style.display = &quot;block&quot;;
	this.addCss(this._status[this.nowGroup - 1],this._active);
};
ImgChange.prototype.regEvent = function(){
	var self = this;
	if(window.addEventListener){
		self._nextEl.addEventListener(&quot;click&quot; , function(event){
			self.next();
		},false);
		self._prevEl.addEventListener(&quot;click&quot; , function(event){
			self.prev();
		},false);
	}else{
		self._nextEl.attachEvent(&quot;onclick&quot; , function(event){
			self.next();
		});
		self._prevEl.attachEvent(&quot;onclick&quot; , function(event){
			self.prev();
		});
	}
	for(var i = 0; i &lt; this._status.length;i++){
		var _st = this._status[i];
		if(window.addEventListener){
			_st.addEventListener(&quot;click&quot; , function(idx){
				return function(event){
					self.nowGroup = idx + 1;
					self.reStatus();
				}
			}(i),false);
		}else{
			_st.attachEvent(&quot;onclick&quot; , function(idx){
				return function(event){
					self.nowGroup = idx + 1;
					self.reStatus();
				}
			}(i));
		}
	}
};
ImgChange.prototype.next = function(){
	if(this.nowGroup &gt;= this.allGroups) return;
	this.nowGroup ++;
	this.reStatus();
};
ImgChange.prototype.prev = function(){
	if(this.nowGroup &lt;= 1) return;
	this.nowGroup --;
	this.reStatus();
};
ImgChange.prototype.addCss = function(element,cssName){
	var element,cssName;
	if (!element.className || element.className == cssName){
		element.className = cssName;
	}
	else{
		element.className = element.className + &quot; &quot; + cssName;
	}
};
ImgChange.prototype.removeCss = function(element,cssName){
	var element,cssName;
	var oldCss = element.className;
	var cssList = oldCss.split(&quot; &quot;);
	for(var i = 0;i &lt; cssList.length;i++){
		if (cssList[i] == cssName) {
			cssList[i] = &quot;&quot;;
			break;
		}
	}
	element.className = cssList.join(&quot; &quot;);
};
var ftimg = new ImgChange({
	prev : &quot;prev&quot;,//上一组按钮ID
	next : &quot;next&quot;,//下一组按钮ID
	listIco : &quot;list&quot;,//状态小圆点ID
	icoEl : &quot;li&quot;,//小圆点标签
	conent : &quot;content&quot;,//需要切换的内容区ID
	clist : &quot;list&quot;,//切换区每组的class值
	disabled : &quot;disabled&quot;,//按钮无效后需要添加的className
	active : &quot;active&quot;//小圆点激活时的className
});
&lt;/script&gt;
</textarea></p>
<p><input type="button" value="运行" class="runcode_button" onclick="runcode_open_new('runcode_EYHuEq');"/> <input type="button" value="复制" class="runcode_button" onclick="runcode_copy('runcode_EYHuEq');"/> <input type="button" value="另存代码" class="runcode_button" onclick="saveCode('runcode_EYHuEq','runcode_EYHuEq');"/> 提示：你可以先修改部分代码再运行。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/js-packet-switch-content-and-identity-status.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CentOS5的VPS下安装VPN[PPTPD]</title>
		<link>http://www.qifendi.com/html/y2010/the-vps-centos5-install-vpn-pptpd.html</link>
		<comments>http://www.qifendi.com/html/y2010/the-vps-centos5-install-vpn-pptpd.html#comments</comments>
		<pubDate>Mon, 12 Apr 2010 15:49:37 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[pptp]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=840</guid>
		<description><![CDATA[<p>
<img alt="" class="alignleft size-full wp-image-855" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/centosvpn1.gif" title="centosvpn" width="250" />&#160;&#160;&#160;&#160;&#160;&#160; 今天想在VPS上装一个VPN，方便翻墙和移动设备翻墙使用，于是到处找教程，最后找到一篇《<a href="http://www.black-xstar.com/blog/691.html" target="_blank">在CentOS下安装PPTP的VPN</a>》，按照这篇文章的步骤一步步走下去，最后顺利装完，建立VPN连接，登陆，一切正常，但是访问不了网页，直接访问IP是可以的，看来是DNS不对，改了几次，折腾了两个小时还是没搞定，反而把VPS搞得乌烟瘴气。后来在Diahosting的官方博客上看到一篇文章，是说在CentOS下一键安装PPTPD的，很简单，就一个sh脚本。试了一下，的确可行。
</p>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/the-vps-centos5-install-vpn-pptpd.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p>
<img alt="" class="alignleft size-full wp-image-855" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/centosvpn1.gif" title="centosvpn" width="250" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 今天想在VPS上装一个VPN，方便翻墙和移动设备翻墙使用，于是到处找教程，最后找到一篇《<a href="http://www.black-xstar.com/blog/691.html" target="_blank">在CentOS下安装PPTP的VPN</a>》，按照这篇文章的步骤一步步走下去，最后顺利装完，建立VPN连接，登陆，一切正常，但是访问不了网页，直接访问IP是可以的，看来是DNS不对，改了几次，折腾了两个小时还是没搞定，反而把VPS搞得乌烟瘴气。后来在Diahosting的官方博客上看到一篇文章，是说在CentOS下一键安装PPTPD的，很简单，就一个sh脚本。试了一下，的确可行。
</p>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 下班回到家，先把VPS给重装了，幸好盘古那边也有SSH，不然备份就能哭死我了，直接把VPS上的站点打包，数据库备份，然后再盘古那边wget过去，速度很快，接近2MB/秒，一切就绪，然后重装VPS，重建站点，重新编译Lighttpd，最后，当然是要跑一下这个PPTPD的脚本了。过程很简单，如下：
</p>

<div class="wp_codebox"><table><tr id="p84013"><td class="code" id="p840code13"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.diahosting.com<span style="color: #000000; font-weight: bold;">/</span>dload<span style="color: #000000; font-weight: bold;">/</span>pptpd.sh
<span style="color: #c20cb9; font-weight: bold;">sh</span> pptpd.sh</pre></td></tr></table></div>

<p>
&nbsp;安装完成后会提示vpn用户名和密码，这个时候可以编辑配置文件修改密码或者修增用户。
</p>

<div class="wp_codebox"><table><tr id="p84014"><td class="code" id="p840code14"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ppp<span style="color: #000000; font-weight: bold;">/</span>chap-secrets</pre></td></tr></table></div>

<p>配置文件格式：</p>

<div class="wp_codebox"><table><tr id="p84015"><td class="code" id="p840code15"><pre class="vim" style="font-family:monospace;">vpn pptpd xxxxxx <span style="color: #000000;">*</span></pre></td></tr></table></div>

<p>其中vpn是用户名，xxxxx是密码，*号一般不用管，更改后保存，即时生效。OK，现在可以去连VPN上twitter，youtube了。<br />
<span style="color: #888; font-size: 12px">*注：该脚本仅对CentOS 5 32bits/64bits有效，其他系统未测试。该方法只对XEN的VPS有效，OpenVz的貌似只有装openvpn了。非diahosting用户可能需要修改脚本中的localip,remoteip和iptables转发中的IP为自己VPS服务商IP。</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/the-vps-centos5-install-vpn-pptpd.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>配置Kloxo下的lighttpd支持WP Super Cache</title>
		<link>http://www.qifendi.com/html/y2010/support-under-the-lighttpd-configuration-kloxo-wp-super-cache.html</link>
		<comments>http://www.qifendi.com/html/y2010/support-under-the-lighttpd-configuration-kloxo-wp-super-cache.html#comments</comments>
		<pubDate>Sun, 11 Apr 2010 06:20:08 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[Kloxo]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[wp super cache]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=764</guid>
		<description><![CDATA[<p><img alt="" class="alignleft size-full wp-image-788" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/lighttpdwp.gif" title="lighttpdwp" width="250" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 把博客搬到了昨天新买的VPS上，但是由于我的VPS装的Kloxo，这款控制面板会附带安装lighttpd和apache两个web服务器，由于apache太耗内存，而且我的站基本上是对静态文件和图片的处理，所以选择了轻量级的lighttpd，所以WP Super Cache之前在apache下的rewrite规则就全然无用了。但是如果又特别想用WP Super Cache怎么办呢？</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 于是开始查找lighttpd的WP Super Cache的rewrite规则怎么写，很快找到了一篇资料，按照上面的步骤进行，结果惨不忍睹，折腾了好几个小时都没搞定，最后还把Kloxo搞挂了，很失落。今天早上起床后迅速接着昨天晚上的步骤搞，几经折腾，终于搞定了，而且把lighttpd升级到了1.4.26 。 总结一下我整个配置过程吧：</p>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/support-under-the-lighttpd-configuration-kloxo-wp-super-cache.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p>
<img alt="" class="alignleft size-full wp-image-788" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/lighttpdwp.gif" title="lighttpdwp" width="250" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 把博客搬到了昨天新买的VPS上，但是由于我的VPS装的Kloxo，这款控制面板会附带安装lighttpd和apache两个web服务器，由于apache太耗内存，而且我的站基本上是对静态文件和图片的处理，所以选择了轻量级的lighttpd，所以WP Super Cache之前在apache下的rewrite规则就全然无用了。但是如果又特别想用WP Super Cache怎么办呢？
</p>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 于是开始查找lighttpd的WP Super Cache的rewrite规则怎么写，很快找到了一篇资料，按照上面的步骤进行，结果惨不忍睹，折腾了好几个小时都没搞定，最后还把Kloxo搞挂了，很失落。今天早上起床后迅速接着昨天晚上的步骤搞，几经折腾，终于搞定了，而且把lighttpd升级到了1.4.26 。 总结一下我整个配置过程吧：
</p>
<h3>
1，安装make<br />
</h3>
<p>
我的VPS用的系统是CentOs5，貌似没有make，执行make时会提示“Make Command not Found ”，需要手动安装一下，稍后几个步骤会用到。
</p>

<div class="wp_codebox"><table><tr id="p76416"><td class="code" id="p764code16"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">gcc</span> <span style="color: #c20cb9; font-weight: bold;">automake</span> <span style="color: #c20cb9; font-weight: bold;">autoconf</span> libtool <span style="color: #c20cb9; font-weight: bold;">make</span></pre></td></tr></table></div>

<p>
 
</p>
<h3>
2，安装lua环境<br />
</h3>
<p>
因为在lighttpd下的WP Super Cache需要用到lua脚本，所以先要安装lua环境，具体步骤如下：
</p>

<div class="wp_codebox"><table><tr id="p76417"><td class="code" id="p764code17"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.lua.org<span style="color: #000000; font-weight: bold;">/</span>ftp<span style="color: #000000; font-weight: bold;">/</span>lua-5.1.4.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> lua-5.1.4.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> lua-5.1.4
yum <span style="color: #c20cb9; font-weight: bold;">install</span> libtermcap-devel
yum <span style="color: #c20cb9; font-weight: bold;">install</span> ncurses-devel
yum <span style="color: #c20cb9; font-weight: bold;">install</span> libevent-devel
yum <span style="color: #c20cb9; font-weight: bold;">install</span> readline-devel
<span style="color: #c20cb9; font-weight: bold;">make</span> linux
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>

<p>这样,lua环境就算安装完毕了。</p>
<p>
 
</p>
<h3>
3，重新编译lighttpd<br />
</h3>
<p>
 
</p>

<div class="wp_codebox"><table><tr id="p76418"><td class="code" id="p764code18"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>download.lighttpd.net<span style="color: #000000; font-weight: bold;">/</span>lighttpd<span style="color: #000000; font-weight: bold;">/</span>releases-<span style="color: #000000;">1.4</span>.x<span style="color: #000000; font-weight: bold;">/</span>lighttpd-1.4.26.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> lighttpd-1.4.26.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> lighttpd-1.4.26
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LUA_CFLAGS</span>=<span style="color: #ff0000;">&quot;-I/usr/local/include&quot;</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LUA_LIBS</span>=<span style="color: #ff0000;">&quot;-L/usr/local/lib -llua&quot;</span>
yum <span style="color: #c20cb9; font-weight: bold;">install</span> openssl openssl-devel
yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">flex</span> <span style="color: #c20cb9; font-weight: bold;">autoconf</span> zlib curl zlib-devel curl-devel <span style="color: #c20cb9; font-weight: bold;">bzip2</span> bzip2-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel
yum <span style="color: #c20cb9; font-weight: bold;">install</span> pcre-devel
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--with-pcre</span> <span style="color: #660033;">--with-lua</span> <span style="color: #660033;">--with-zlib</span> <span style="color: #660033;">--with-openssl</span> <span style="color: #660033;">--sbindir</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin <span style="color: #660033;">--sysconfdir</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lighttpd
<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></td></tr></table></div>

<p>到这里lighttpd重新编译完毕。</p>
<p>
 
</p>
<h3>
4，修改lighttpd配置文件<br />
</h3>
<p>
 
</p>

<div class="wp_codebox"><table><tr id="p76419"><td class="code" id="p764code19"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lighttpd<span style="color: #000000; font-weight: bold;">/</span>lighttpd.conf</pre></td></tr></table></div>

<p>找到server.modules，在其中加一行&#8221;mod_magnet&#8221;,如：</p>

<div class="wp_codebox"><table><tr id="p76420"><td class="code" id="p764code20"><pre class="vim" style="font-family:monospace;">server<span style="color: #000000;">.</span>modules =
<span style="color: #000000;">&#40;</span>
<span style="color: #C5A22D;">&quot;mod_rewrite&quot;</span>,
<span style="color: #C5A22D;">&quot;mod_redirect&quot;</span>,
<span style="color: #C5A22D;">&quot;mod_alias&quot;</span>,
<span style="color: #C5A22D;">&quot;mod_access&quot;</span>,
<span style="color: #C5A22D;">&quot;mod_magnet&quot;</span>,
<span style="color: #000000;">...</span> <span style="color: #000000;">...</span></pre></td></tr></table></div>

<p>
 
</p>
<h3>
6，上传rewrite.lua，添加重写规则<br />
</h3>
<p>
下载<a href="http://bluehua.org/wp-content/uploads/2009/12/rewrite.lua_.zip" target="_blank">rewrite.lua</a>，上传至博客根目录，进入Kloxo，选择域名，选择博客的域名，然后选择lighttpd地址重写规则，如图 <img alt="" class="aligncenter size-full wp-image-782" height="204" src="http://www.qifendi.com/wp-content/uploads/2010/04/diare1.gif" title="diare" width="660" /> 加入如下规则：
</p>

<div class="wp_codebox"><table><tr id="p76421"><td class="code" id="p764code21"><pre class="shell" style="font-family:monospace;">$HTTP[&quot;host&quot;] == &quot;www.qifendi.com&quot; {
       server.error-handler-404 = &quot;/index.php&quot;
       server.document-root = &quot;/home/admin/xxx&quot; #填写博客根目录
        magnet.attract-physical-path-to = ( server.document-root + &quot;/rewrite.lua&quot; )
}</pre></td></tr></table></div>

<p>
 
</p>
<h3>
7，重启lighttpd。<br />
</h3>
<p>
 
</p>

<div class="wp_codebox"><table><tr id="p76422"><td class="code" id="p764code22"><pre class="bash" style="font-family:monospace;">yum downgrade openssl
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>lighttpd restart</pre></td></tr></table></div>

<p>
 
</p>
<h3>
8，权限设置<br />
</h3>
<p>
访问博客，如果报500错误，将/wp-content/cache/和/wp-content/cache/supercache/权限设置为755 这时候虽然WP Super Cache还在报Mod rewrite may not be installed!，但是实际上已经有作用了。如果操作过程中不慎把Kloxo搞挂了，可以用下面的命令重启一下：
</p>

<div class="wp_codebox"><table><tr id="p76423"><td class="code" id="p764code23"><pre class="bash" style="font-family:monospace;"> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>kloxo restart</pre></td></tr></table></div>

<p>
 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/support-under-the-lighttpd-configuration-kloxo-wp-super-cache.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Diahosting的VPS购买使用初体验</title>
		<link>http://www.qifendi.com/html/y2010/diahosting-the-vps-to-purchase-a-first-experience.html</link>
		<comments>http://www.qifendi.com/html/y2010/diahosting-the-vps-to-purchase-a-first-experience.html#comments</comments>
		<pubDate>Sat, 10 Apr 2010 15:33:56 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[Diahosting]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[初体验]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=749</guid>
		<description><![CDATA[<p><img alt="" class="alignleft size-full wp-image-757" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/dialogo.gif" title="dialogo" width="250" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;由于盘古的服务器经常抽风，所以一直在物色下一个主机商，最后锁定在hawkhost和棉花糖主机(sugarhosts.com)身上，但是都不是很满意，hawkhost的速度和服务器质量是我非常满意，因为之前用过一段时间，后来因为流量太小选择了退款，棉花糖主机是无意中发现的，速度非常不错，ping值能到200毫秒以内，流量非常充足，价格也便宜，但是对主机资源限制比较多，比如5%的CPU使用等，所以一直犹豫不决。</p>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/diahosting-the-vps-to-purchase-a-first-experience.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p><img alt="" class="alignleft size-full wp-image-757" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/dialogo.gif" title="dialogo" width="250" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由于盘古的服务器经常抽风，所以一直在物色下一个主机商，最后锁定在hawkhost和棉花糖主机(sugarhosts.com)身上，但是都不是很满意，hawkhost的速度和服务器质量是我非常满意，因为之前用过一段时间，后来因为流量太小选择了退款，棉花糖主机是无意中发现的，速度非常不错，ping值能到200毫秒以内，流量非常充足，价格也便宜，但是对主机资源限制比较多，比如5%的CPU使用等，所以一直犹豫不决。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 之前也看到过<a href="http://www.diahosting.com/client/aff.php?aff=473" target="_blank">Diahostring</a>，他们貌似是专门做VPS的，而且是中国人在国外开的公司，所以在沟通方面基本没有困难，他们的VPS也有很多种，最低一款配置是180MB内存，10G空间，200G流量的，月付每个月10美元，年付更便宜一些，而且还有优惠码，如果赶上运气好，有时候还有内存翻倍的优惠，他们的机房也有很多，默认是洛杉矶的，还有达拉斯，西雅图和拉斯维加斯。一般情况下，洛杉矶的机房到国内的速度相对要快一些。</p>
<p><img alt="" class="aligncenter size-full wp-image-752" height="182" src="http://www.qifendi.com/wp-content/uploads/2010/04/diajf.gif" title="diajf" width="567" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 购买流程比较简单，选好想要的东西后直接付款就行了，开始以为会有信用卡，paypal和支付宝方式付款，结果结账的时候只有支付宝方式，有点疑惑。人民币结算按照1:7的比率结算，我用了10%的优惠码，所以共付款63块钱，大概过了一个小时，收到了VPS开通信，包括SSH和VPS控制面板等工具的登录方式和账号。Diahosting对新手还是比较友好的，默认安装了CentOS 5和Kloxo控制面板(可以建40个站点)，最近买的话可以使用优惠码免费获得DA控制面板(原价6美元一个月)。</p>
<p><img alt="" class="aligncenter size-full wp-image-753" height="208" src="http://www.qifendi.com/wp-content/uploads/2010/04/diada.gif" title="diada" width="425" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kloxo控制面板貌似很强大的样子，默认的web服务器采用的是lighttpd，可以和apache互相切换，但是apache占用内存比lighttpd大多了，我一切换到apache，内存基本上立即就被占满了，而在lighttpd模式下，只会用到40%左右内存。</p>
<p><img alt="" class="aligncenter size-full wp-image-760" height="95" src="http://www.qifendi.com/wp-content/uploads/2010/04/diarom.gif" title="diarom" width="610" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 将自己的三个站迅速转移到VPS上，由于两边都有SSH，所以转移起来也十分方便，由于lighttpd的rewirte规则和apache的不一样，所以之前设置的一些跳转和防盗链规则要重写。还有三个没怎么管网站等空了再转过来吧。</p>
<p><img alt="" class="aligncenter size-full wp-image-754" height="204" src="http://www.qifendi.com/wp-content/uploads/2010/04/diare.gif" title="diare" width="660" /></p>
<p>推荐大家去试试，性能和速度都还不错，我已经添加监控，一个月后看看在线率怎么样。<br />
	官网网站：<a href="http://www.diahosting.com/client/aff.php?aff=473" target="_blank">Diahostring</a><br />
	优惠码：<strong>10%OFF</strong> 终身10%优惠<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>FREEDA</strong> 适用于X360或X360以上型号, 免费DirectAdmin控制面板</p>
<p><span style="color: #b22222">最后，折腾了几个小时还是没搞定lighttpd下的wp super cache rewrite。</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/diahosting-the-vps-to-purchase-a-first-experience.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>让人失望和愤怒的盘古网络</title>
		<link>http://www.qifendi.com/html/y2010/disappointing-paangood.html</link>
		<comments>http://www.qifendi.com/html/y2010/disappointing-paangood.html#comments</comments>
		<pubDate>Thu, 08 Apr 2010 03:02:22 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[down机]]></category>
		<category><![CDATA[合租]]></category>
		<category><![CDATA[盘古]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=719</guid>
		<description><![CDATA[<p><img alt="" class="alignleft size-full wp-image-736" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/pg.gif" title="pg" width="250" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 之前为了更高的访问速度，所以将一个站放到了国内，选择了以前口碑还不错的盘古，但是当自己真正用到的时候，才发现盘古的质量和服务是如此的让人失望和愤怒。</p>
<h3>使用之前</h3>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; 08年的时候用过一个盘古的30人合租，当时服务器经常down机，而最常的一次居然down了长达3天，搞得做站的兴趣全无，也就没继续做了，空间也放在那闲置着。09年重新作战时抱着侥幸的心里继续选择了盘古，当时是他们的一个客服经理和我联系的，在我对盘古的服务器经常down机提出质疑后，他信誓旦旦的保证，这次绝对不会了，他们的合租介绍里也写着保证服务器99%在线。</p>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/disappointing-paangood.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p><img alt="" class="alignleft size-full wp-image-736" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/04/pg.gif" title="pg" width="250" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 之前为了更快的访问速度，所以将一个站放到了国内，选择了以前口碑还不错的盘古，但是当自己真正用到的时候，才发现盘古的质量和服务是如此的让人失望和愤怒。</p>
<h3>使用之前</h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 08年的时候用过一个盘古的30人合租，当时服务器经常down机，而最常的一次居然down了长达3天，搞得做站的兴趣全无，也就没继续做了，空间也放在那闲置着。09年重新作战时抱着侥幸的心理继续选择了盘古，当时是他们的一个客服经理和我联系的，在我对盘古的服务器经常down机提出质疑后，他信誓旦旦的保证，这次绝对不会了，他们的合租介绍里也写着保证服务器99%在线。</p>
<p><img alt="" class="aligncenter size-full wp-image-734" height="207" src="http://www.qifendi.com/wp-content/uploads/2010/04/pgjs1.gif" title="pgjs" width="690" /></p>
<h3>使用现状&nbsp;</h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 用了之后，才发现不是这么回事，照样三天两头down机，而且频繁更换机房，更换机房可能是由于国内的互联网环境影响，我也就忍了，但是老down机这个谁也忍受不了啊。 前一段时间，盘古决定停止国内的主机业务，于是将之前的合租全部转移到国外，本来以为转出去之后，情况会有所好转，没想到结果更加严重，几乎到了每天down机的地步，而且都是长时间down机没人处理，什么鸟24小时客服电话根本没人接，网页版客服也长时间不在线。</p>
<p style="text-align: center"><img alt="" class="aligncenter size-full wp-image-729" height="135" src="http://www.qifendi.com/wp-content/uploads/2010/04/pgkf1.gif" title="pgkf" width="452" /> <span style="font-size: 12px">已经10点40多了，客服还是离线状态。</span></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 问客服也不告诉具体原因，总是说稍后就好，调整线路，转移机房等引起的。</p>
<p><img alt="" class="aligncenter size-full wp-image-744" height="371" src="http://www.qifendi.com/wp-content/uploads/2010/04/pgdh.gif" title="pgdh" width="483" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 从我添加的监控来看，从10年3月27号开始到今天为止，12天多的时间里，down机总共26小时45分钟，服务器在线时间不足91%，而最近一周的情况来看，在线率不足86%，其中down机超过7小时的有3次。</p>
<p><img alt="" class="aligncenter size-full wp-image-727" height="445" src="http://www.qifendi.com/wp-content/uploads/2010/04/pingdom1.gif" title="pingdom1" width="619" /></p>
<p><img alt="" class="aligncenter size-full wp-image-728" height="251" src="http://www.qifendi.com/wp-content/uploads/2010/04/pingdom2.gif" title="pingdom2" width="617" /></p>
<h3>最后&nbsp;</h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如此质量和服务，叫人如何继续用下去？所以说国内的IDC业务惨淡，原因不只是国内互联网环境的恶化，更是由于IDC商自己的不思上进造成的。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/disappointing-paangood.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: qifendi.com @ 2010-09-03 03:45:22 by W3 Total Cache -->