<?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:24:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.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>5</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;为”<"符号，被插件转成这个了)：</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_5Myv6l">
&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_5Myv6l');"/> <input type="button" value="复制" class="runcode_button" onclick="runcode_copy('runcode_5Myv6l');"/> <input type="button" value="另存代码" class="runcode_button" onclick="saveCode('runcode_5Myv6l','runcode_5Myv6l');"/> 提示：你可以先修改部分代码再运行。</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>3</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，在其中加一行”mod_magnet”,如：</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>5</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>3</slash:comments>
		</item>
		<item>
		<title>域名从阳光互联(sundns)转入name.com</title>
		<link>http://www.qifendi.com/html/y2010/domain-trans-to-name-com.html</link>
		<comments>http://www.qifendi.com/html/y2010/domain-trans-to-name-com.html#comments</comments>
		<pubDate>Fri, 26 Mar 2010 07:04:52 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[name.com]]></category>
		<category><![CDATA[域名]]></category>
		<category><![CDATA[转入]]></category>
		<category><![CDATA[转出]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=688</guid>
		<description><![CDATA[<p><img alt="" class="alignleft size-full wp-image-713" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/03/namecom.gif" title="namecom" width="250" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 由于国内互联网环境等一系列原因，决定将之前的一个域名转出，目的地name.com，一来为了更好的拥有域名，二来也是第一次转移域名，感受下域名转移的过程。</p>
<h3>转出部分</h3>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; 都说国内转出域名万分麻烦，所以也提前做好了心理准备，之前的域名是在阳光互联(sundns.com)注册，也是自己拥有的第一个域名(准确的说是第一个花钱买的域名，在这之前还曾拥有过一个域名aibbs.info，那是info刚出来做推广，可以免费注册的时代的事情了，扯远了)。当时刚接触域名这一块，也不知道域名放在国内的一些不便，正好看见阳光互联的域名打折，所以就注册了一个。都忘了注册过程了，直接说转出的事吧。</p>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/domain-trans-to-name-com.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p><img alt="" class="alignleft size-full wp-image-713" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/03/namecom.gif" title="namecom" width="250" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 由于国内互联网环境等一系列原因，决定将之前的一个域名转出，目的地name.com，一来为了更好的拥有域名，二来也是第一次转移域名，感受下域名转移的过程。</p>
<h3>转出部分</h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 都说国内转出域名万分麻烦，所以也提前做好了心理准备，之前的域名是在阳光互联(sundns.com)注册，也是自己拥有的第一个域名(准确的说是第一个花钱买的域名，在这之前还曾拥有过一个域名aibbs.info，那是info刚出来做推广，可以免费注册的时代的事情了，扯远了)。当时刚接触域名这一块，也不知道域名放在国内的一些不便，正好看见阳光互联的域名打折，所以就注册了一个。都忘了注册过程了，直接说转出的事吧。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;先去会员中心得在线答疑提出了一个问题&ldquo;怎么转出域名，需要什么手续&rdquo;，客服回答很快，给了一个链接，按照该页面的指示，下载了一个域名转出的登记表，叫<strong>《域名注册服务机构变更申请表》</strong>，填好表里的内容，打印。</p>
<p><img alt="" class="aligncenter size-full wp-image-700" height="237" src="http://www.qifendi.com/wp-content/uploads/2010/03/sundnskf1.gif" title="sundnskf1" width="690" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 然后附上身份证复印件传真给他们，接着，按照他们说得步骤给他们客服打电话确认是否收到传真，第一个接电话的客服是个男的，我问他收到传真没有，他说去看看，然后就挂掉了电话，搞得我莫名其妙的，接着又打了第二通电话，这次是个MM，还是问她收到传真没有，她也说去看看，过了半分钟回来了，答复说我的域名是55元的特价注册的，需要支付11元的差价，恩，这一点早有心理准备，还以为要我再续费一年才肯转呢，补齐差价也能接受。接着跟她说没问题，问她我该怎么做，她让去在线答疑系统提交一个转出的申请，OK，挂掉电话立马去提了一个申请，当然，我的态度非常的好，用了诸如&ldquo;您&rdquo;，&ldquo;贵公司&rdquo;，&ldquo;请&rdquo;，&ldquo;谢谢&rdquo;等词语。过了大概十分钟，<strong>去看答复状态时，发现客服已经将转移码写到了那里，而不是发到注册邮箱</strong>，有了转移码，就可以去转入方办事了。</p>
<p><img alt="" class="aligncenter size-full wp-image-692" height="291" src="http://www.qifendi.com/wp-content/uploads/2010/03/sundnskf.gif" title="sundnskf" width="690" /></p>
<h3>转入部分</h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 去到name.com，name.com得转入价格是7.99美元，转移过程也很简单，选择转入，填入要转入的域名和转移码，如果你已经是会员就登陆，如果没有就注册，登录后付款，就正式进入域名转移进程了，进到用户中心，选择右侧菜单中的<span style="color: #008000"><strong>View Registrar Transfers</strong></span></p>
<p><span style="color: #008000"><strong><img alt="" class="aligncenter size-full wp-image-702" height="321" src="http://www.qifendi.com/wp-content/uploads/2010/03/namecomcp.gif" title="namecomcp" width="690" /></strong></span></p>
<p><span style="color: #008000"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong></span>稍等一下就能看到待转入的域名了，点击<strong><span style="color: #008000">show details</span></strong>就能查看详细的状态信息了</p>
<p><img alt="" class="aligncenter size-full wp-image-703" height="140" src="http://www.qifendi.com/wp-content/uploads/2010/03/namecomdetail.gif" title="namecomdetail" width="690" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 这个时候应该是第一步：name.com会去你获取你得域名注册邮箱，如果获取成功，则会进入第二步，会给你得域名注册邮箱发一封确认转移信，点击那个确认链接</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img alt="" class="aligncenter size-full wp-image-708" height="109" src="http://www.qifendi.com/wp-content/uploads/2010/03/namecomemail.gif" title="namecomemail" width="690" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 进入第三步，之后name.com会去向你原注册商发起转移请求，之后进入第四步，之后的事情就不用我们操作了，再等待5天左右，域名就能顺利转入了。</p>
<p><img alt="" class="aligncenter size-full wp-image-706" height="331" src="http://www.qifendi.com/wp-content/uploads/2010/03/nametrans4.gif" title="nametrans4" width="690" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果原来的注册商能很快确认，那么会收到一封确认转出信，点击确认就可以立即转出，不用等5天了。</p>
<p><img alt="" class="aligncenter size-full wp-image-709" height="123" src="http://www.qifendi.com/wp-content/uploads/2010/03/sundnscmail.gif" title="sundnscmail" width="690" /><br />
	<img alt="" class="aligncenter size-full wp-image-710" height="96" src="http://www.qifendi.com/wp-content/uploads/2010/03/sundnszc.gif" title="sundnszc" width="426" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 转入成功后，状态条变为绿色，同时，控制面板里会出现转入的域名。</p>
<p><img alt="" class="aligncenter size-full wp-image-716" height="161" src="http://www.qifendi.com/wp-content/uploads/2010/03/comtrans61.gif" title="comtrans6" width="690" /><img alt="" class="aligncenter size-full wp-image-717" height="128" src="http://www.qifendi.com/wp-content/uploads/2010/03/transcom.gif" title="transcom" width="690" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/domain-trans-to-name-com.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>google退出中国 or 中国退出世界</title>
		<link>http://www.qifendi.com/html/y2010/google-for-renunciation-of-chinese-or-china-out-of-the-world.html</link>
		<comments>http://www.qifendi.com/html/y2010/google-for-renunciation-of-chinese-or-china-out-of-the-world.html#comments</comments>
		<pubDate>Tue, 23 Mar 2010 03:44:04 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google退出中国]]></category>
		<category><![CDATA[五毛]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=652</guid>
		<description><![CDATA[<p><img alt="" class="alignleft size-full wp-image-673" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/03/googlelogo.gif" title="googlelogo" width="250" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;下面的文字和本人的政治立场无关，只是就事对事的看法。<br />
	&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;公元2010年3月23号早上，起床上厕所时一如既往的用touch上着百读天涯，进到天涯杂谈，惊闻google撤出中国，将google.cn跳转到了google.com.hk，由google香港提供服务。于是一片惊呼，有骂政府的，有担心用不了google的，总之，作为世界上最大的互联网公司，这一事件肯定会成为2010年中国互联网的大事。</p>
<h3>Google为什么退出中国</h3>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Google为什么退出中国？当然，我不知道答案，官方的说法是Gmail遭到了中国黑客的入侵以及忍受不了中国的互联网审查制度。的确，中国的互联网审查制度让人恶心，从备案到内容审查，层层监控，一不高兴就拔网线，运走服务器，让域名注册商停止解析，甚至请去喝茶。</p>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/google-for-renunciation-of-chinese-or-china-out-of-the-world.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p><img alt="" class="alignleft size-full wp-image-673" height="100" src="http://www.qifendi.com/wp-content/uploads/2010/03/googlelogo.gif" title="googlelogo" width="250" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下面的文字和本人的政治立场无关，只是就事对事的看法。<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;公元2010年3月23号早上，起床上厕所时一如既往的用touch上着百读天涯，进到天涯杂谈，惊闻google撤出中国，将google.cn跳转到了google.com.hk，由google香港提供服务。于是一片惊呼，有骂政府的，有担心用不了google的，总之，作为世界上最大的互联网公司，这一事件肯定会成为2010年中国互联网的大事。</p>
<h3>Google为什么退出中国</h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Google为什么退出中国？当然，我不知道答案，从1月第一次听到google撤出中国的时候官方的说法是Gmail遭到了中国黑客的入侵以及忍受不了中国的互联网审查制度。的确，中国的互联网审查制度让人恶心，从备案到内容审查，层层监控，一不高兴就拔网线，运走服务器，让域名注册商停止解析，甚至请去喝茶。要是用虚拟主机的人就更倒霉了，通常会因为服务器上一个站点没备案或者有&ldquo;法律&rdquo;不允许的内容而造成整个服务器被下架，甚至查封，连累到自己的网站。比如第八站的服务器是用的盘古合租的，最开始放在上海电信艾北机房，后来因为服务器上有一张穿着睡衣的女人照和一男一女的拥抱照而被下架，后运回重庆电信，没两天又因为某些原因被下架，后运至北京某双线机房，因宽带原因下架，运至六盘水电信，心想这么个小地方审查应该不会那么麻烦吧，悲剧的时候还是发生了，22号的时候看到空间商的最新通知，因为某个IP段有多个网站未备案，整个IP段服务器暂停服务。</p>
<p><img alt="" class="aligncenter size-full wp-image-658" height="134" src="http://www.qifendi.com/wp-content/uploads/2010/03/pangugg.gif" title="pangugg" width="481" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 扯这么多跟google有什么关系呢？就是想说明在国内做一个小网站甚至博客尚如此，而况Google这样的世界第一网站，国内互联网环境可见一斑。难怪现在人们做网站都喜欢用国外的服务器，甚至一些IDC也不再用国内的服务器开展新业务，比如梦游和盘古。Google如果是因为这个原因关闭大陆的搜索业务，那么是值得我们崇拜和尊敬的。</p>
<h3>Google退出中国对我们有什么影响？</h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 其实用Google退出中国来形容这件事情是不恰当的，Google只是关闭了大陆的搜索服务，我们又约等于回到了06年前没有google.cn的时代，google还是可以继续访问，继续搜索，只是搜某些敏感词的时候不是不出结果，而是会被墙掉几分钟。所以我们该怎么用还是怎么用，以前搜不到结果的现在还是搜不到，以前能搜到的现在还是能搜到，当然，不排除中国政府的强烈回应，墙掉整个google的访问，这个只能等着看了。如果你是非google不用，或者是google的忠实用户，或者大部分服务依赖google，还是提前学会一门<a href="http://www.qifendi.com/html/y2010/about-over-the-wall.html" target="_blank">翻墙方法</a>比较合适。<img alt="" class="aligncenter size-full wp-image-668" height="408" src="http://www.qifendi.com/wp-content/uploads/2010/03/googlenewhome.gif" title="googlenewhome" width="547" /></p>
<h3>Google退出中国 or 中国退出世界</h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 回过头来，我们看看到底是Google退出中国还是中国退出世界，想想twitter,facebook,youtube等网站都无法进入中国，而这些网站在世界上大多数国家都能活得很好，也没有看到有那个国家因为有这些网站而引起混乱的。中国的新闻管制和互联网审查（参照<a href="http://www.bbc.co.uk/zhongwen/simp/world/2010/03/100312_web_censure.shtml" target="_blank">全球互联网审查报告</a>&nbsp;[需翻墙浏览]）在世界上名声极差，基本和朝鲜，伊朗在一个级别，我们下次再嘲笑朝鲜的时候也可以反过来看看自己。</p>
<h3>WUMAO</h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 看到google退出的消息后，立即去163看了一下新闻的评论，果不其然，WUMAO们倾巢出动，那里已经被占领。而后在天涯看到的消息称，各大门户网站的评论都被占领。详情可参见<a href="http://www.kenengba.com/post/2821.html" target="_blank">这里</a>(已被墙，需翻)。<img alt="" class="aligncenter size-full wp-image-666" height="514" src="http://www.qifendi.com/wp-content/uploads/2010/03/163news.gif" title="163news" width="690" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/google-for-renunciation-of-chinese-or-china-out-of-the-world.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

