<?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"
	>

<channel>
	<title>TechPush</title>
	<atom:link href="http://techpush.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://techpush.com</link>
	<description>Everyday is another day!</description>
	<pubDate>Thu, 03 Apr 2008 12:34:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6-bleeding</generator>
	<language>en</language>
			<item>
		<title>再度转移</title>
		<link>http://techpush.com/archives/transfer-again/</link>
		<comments>http://techpush.com/archives/transfer-again/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 12:34:23 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[短消息]]></category>

		<category><![CDATA[备案]]></category>

		<guid isPermaLink="false">http://techpush.com/?p=359</guid>
		<description><![CDATA[盘古网络前几天停了我的虚拟主机帐号，理由是我没有备案，然而我在miibeian.gov.cn上却发现不能备案新的网站，05年时我曾经备案过自己的第一个独立blog，虽然那个域名早已经不用了。无奈之下，只好将techpush.com和thinkinglog.info再度迁移到国外的主机上，早知如此，就不“回国”了。。。
]]></description>
			<content:encoded><![CDATA[<p>盘古网络前几天停了我的虚拟主机帐号，理由是我没有备案，然而我在miibeian.gov.cn上却发现不能备案新的网站，05年时我曾经备案过自己的第一个独立blog，虽然那个域名早已经不用了。无奈之下，只好将techpush.com和thinkinglog.info再度迁移到国外的主机上，早知如此，就不“回国”了。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/transfer-again/feed/</wfw:commentRss>
		</item>
		<item>
		<title>又和谐了</title>
		<link>http://techpush.com/archives/no-evil/</link>
		<comments>http://techpush.com/archives/no-evil/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 07:16:38 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[短消息]]></category>

		<category><![CDATA[GFW]]></category>

		<category><![CDATA[youbute]]></category>

		<guid isPermaLink="false">http://techpush.com/archives/no-evil/</guid>
		<description><![CDATA[据单位消息，youtube.com在大陆又被封了（我为什么要说“又”呢？），前一段时间youtube曾经短暂的不能访问，但很快就好了，这次不知道是暂时性的还是永久性的（如wikipedia），联想到最近的某某大会以及西＊藏＊事件，被封的原因不难猜测，也好，用金玉米的话说就是：
See no evil, hear no evil&#8230;
]]></description>
			<content:encoded><![CDATA[<p>据<a href="http://www.danwei.org/net_nanny_follies/youtube_blocked_in_china_1.php">单位</a>消息，<a href="http://youtube.com">youtube.com</a>在大陆又被封了（我为什么要说“又”呢？），前一段时间youtube曾经短暂的不能访问，但很快就好了，这次不知道是暂时性的还是永久性的（如wikipedia），联想到最近的某某大会以及西＊藏＊事件，被封的原因不难猜测，也好，用金玉米的话说就是：</p>
<p><strong>See no evil, hear no evil&#8230;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/no-evil/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft Office Live</title>
		<link>http://techpush.com/archives/microsoft-office-live/</link>
		<comments>http://techpush.com/archives/microsoft-office-live/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 13:37:28 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[新发现]]></category>

		<category><![CDATA[google docs]]></category>

		<category><![CDATA[microsoft office live]]></category>

		<guid isPermaLink="false">http://techpush.com/archives/microsoft-office-live/</guid>
		<description><![CDATA[微软的在线Office服务已经正式开放了，但很可惜，我用的是Linux+Firefox，该服务并不支持，所以我不得不对微软说：去你妈的吧，老子不用了！继续Google Docs！
]]></description>
			<content:encoded><![CDATA[<p>微软的<a href="http://workspace.officelive.com/">在线Office服务</a>已经正式开放了，但很可惜，我用的是Linux+Firefox，该服务并不支持，所以我不得不对微软说：去你妈的吧，老子不用了！继续<a href="http://docs.google.com/">Google Docs</a>！</p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/microsoft-office-live/feed/</wfw:commentRss>
		</item>
		<item>
		<title>blog的站外备份</title>
		<link>http://techpush.com/archives/blogbackupr/</link>
		<comments>http://techpush.com/archives/blogbackupr/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 08:55:27 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[新发现]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[Blog]]></category>

		<category><![CDATA[blogbackupr]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://techpush.com/archives/blogbackupr/</guid>
		<description><![CDATA[对于大多数Wordpress用户而言，blog的备份是通过使用Wordpress Databackup这样的插件或者直接利用mysql备份来完成的，现在一个叫作Jonas Lejon、来自瑞典的小伙子创建了一个blog备份服务网站：Blogbackupr，该网站可以帮助blogger在站外备份自己blog的文章，并且支持所有具备RSS输出功能的blog服务（这基本涵盖了所有blog类型），同时对于Wordpress.com、blogger.com上的blog以及使用Wordpress搭建的blog还支持备份后的自动恢复（提醒一下：如果是后者，备份和恢复需要用户提供blog的帐号和密码），不得不说Lejon的创意不错，特别是对非Wordpress用户，有兴趣的朋友不妨试试看。

]]></description>
			<content:encoded><![CDATA[<p>对于大多数Wordpress用户而言，blog的备份是通过使用Wordpress Databackup这样的插件或者直接利用mysql备份来完成的，现在一个叫作Jonas Lejon、来自瑞典的小伙子创建了一个blog备份服务网站：<a href="https://blogbackupr.com">Blogbackupr</a>，该网站可以帮助blogger在站外备份自己blog的文章，并且支持所有具备RSS输出功能的blog服务（这基本涵盖了所有blog类型），同时对于Wordpress.com、blogger.com上的blog以及使用Wordpress搭建的blog还支持备份后的自动恢复（提醒一下：如果是后者，备份和恢复需要用户提供blog的帐号和密码），不得不说Lejon的创意不错，特别是对非Wordpress用户，有兴趣的朋友不妨试试看。</p>
<p><a href="http://www.zooomr.com/photos/11237@Z01/4397281/" title="Photo Sharing"><img src="http://static.zooomr.com/images/4397281_f9f984b7c7.jpg" width="500" height="238" alt="blogbackupr" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/blogbackupr/feed/</wfw:commentRss>
		</item>
		<item>
		<title>看看你的主机上还有谁</title>
		<link>http://techpush.com/archives/find-other-sites-in-your-hosting/</link>
		<comments>http://techpush.com/archives/find-other-sites-in-your-hosting/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 06:51:37 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[新发现]]></category>

		<category><![CDATA[cool]]></category>

		<category><![CDATA[domain]]></category>

		<category><![CDATA[hosting]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://techpush.com/archives/find-other-sites-in-your-hosting/</guid>
		<description><![CDATA[yougetsignal.com上提供了一系列的web工具，其中一个可以查看你的网站所在的服务器上还有其他哪些站点，这对于使用虚拟主机的朋友会很有用，看看在同一台服务器上除了你之外还有谁，借此可以认识不少朋友，毕竟都是一个战壕里的:)

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.yougetsignal.com/tools/web-sites-on-web-server/">yougetsignal.com</a>上提供了一系列的web工具，其中一个可以查看你的网站所在的服务器上还有其他哪些站点，这对于使用虚拟主机的朋友会很有用，看看在同一台服务器上除了你之外还有谁，借此可以认识不少朋友，毕竟都是一个战壕里的:)</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff80808117800d500117c44cdabb58a3" title="来YUPOO看我的照片"><img src="http://pic.yupoo.com/zhaoql/3126950241fe/medium.jpg" alt="yougetsignal" width="500" height="293" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/find-other-sites-in-your-hosting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress的Category not updated问题</title>
		<link>http://techpush.com/archives/wordpress%e7%9a%84category-not-updated%e9%97%ae%e9%a2%98/</link>
		<comments>http://techpush.com/archives/wordpress%e7%9a%84category-not-updated%e9%97%ae%e9%a2%98/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 01:48:09 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[category not updated]]></category>

		<guid isPermaLink="false">http://techpush.com/archives/wordpress%e7%9a%84category-not-updated%e9%97%ae%e9%a2%98/</guid>
		<description><![CDATA[当在wordpress中更改category的名称和slug时，有时会遇到无法更新的问题，提示“category not updated&#8220;，这时你需要检查一下是否slug有重名的情况，一般都是由于这个原因造成的，其实wordpress应该明确提示类别重名的信息才对。
]]></description>
			<content:encoded><![CDATA[<p>当在wordpress中更改category的名称和slug时，有时会遇到无法更新的问题，提示“<strong>category not updated</strong>&#8220;，这时你需要检查一下是否slug有重名的情况，一般都是由于这个原因造成的，其实wordpress应该明确提示类别重名的信息才对。</p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/wordpress%e7%9a%84category-not-updated%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
		</item>
		<item>
		<title>备忘:在Slicehost VPS上安装Nginx+Fastcgi+eAccelerator+Zend Optimizer</title>
		<link>http://techpush.com/archives/install-nginx-fastcgi-eaccelerator-and-zend-optimizer-on-slicehost-vps/</link>
		<comments>http://techpush.com/archives/install-nginx-fastcgi-eaccelerator-and-zend-optimizer-on-slicehost-vps/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 14:08:14 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[探索频道]]></category>

		<category><![CDATA[eaccelerator]]></category>

		<category><![CDATA[fastcgi]]></category>

		<category><![CDATA[nginx]]></category>

		<category><![CDATA[slicehost]]></category>

		<category><![CDATA[wordpress优化]]></category>

		<category><![CDATA[zend optimizer]]></category>

		<category><![CDATA[性能优化]]></category>

		<guid isPermaLink="false">http://techpush.com/archives/%e5%a4%87%e5%bf%98%e5%9c%a8slicehost-vps%e4%b8%8a%e5%ae%89%e8%a3%85nginxfastcgieacceleratorzend-optimizer/</guid>
		<description><![CDATA[使用Slicehost的VPS（256M Slice）有一个月了，但相对国外的共享虚拟主机（比如我此前所用的Dreamhost）并没有感觉到速度上的优势，除了Wordpress本身性能较差外，恐怕与我并未对VPS做性能优化有关，因为Slicehost的VPS主机给了用户完全的操作权限，这意味着你可以随心所欲地安装软件、更改设置，但同时你也不再享有服务商事先做好各种的系统优化，比如安装Zend Optimizer－－现在这些事情必须由你自己来完成。所以，作为一个半吊子Linux用户，我只好借助Google边查边干，所幸，整个过程还算顺利，目前在我的VPS上安装了Nginx、Fastcgi、eAccelerator和Zend Optimizer，Nginx+Fastcgi用以替换Apache，Zend Optimizer用来加速PHP性能，eAccelerator则利用缓存提高站点性能，经过这番优化，网站速度的确比以前大有改观，此文是整个安装过程的备忘，由于我选用的Linux发行版为Debian ETCH，所以在其他Linux上可能会有些不同，应酌情调整。
在安装Nginx之前，先装好Fastcgi:
Nginx是俄罗斯出品的一款Web服务器软件，相比Apache更加小巧，占用资源更少，速度更快，在我这台只有256M内存的VPS上，显然Nginx更适合.

安装fastcgi
sudo apt-get install php5-cgi libfcgi0c2
下载Fastcgi的执行脚本:
cd /etc/init.d/
sudo wget -O php-fastcgi http://techpush.com/wp-content/uploads/php-fastcgiinit.txt #php-fastcgi也可改为其他名字
给php-fastcgi加上执行权限
sudo chmod +x php-fastcgi
下载fastcgi的配置文件:
cd /etc/default/
sudo wget -O php-fastcgi http://techpush.com/wp-content/uploads/php-fastcgidefault.txt
将php-fastcgi这个执行脚本添加的系统的启动服务中:
sudo update-rc.d php-fastcgi defaults 19 21
现在尝试启动fastcgi:
sudo invoke-rc.d php-fastcgi start（或者sudo /etc/init.d/php-fastcgi start）
正常情况下，fastcgi应该成功启动了，可以用ps -aux查看是否有php-cgi进程，如果你更改了php.ini，必须重启fastcgi。
注意: 最好将php.ini中的memory_limit调大，否则可能会遇到内存不够的情况。

安装Nginx:
Debian或者Ubuntu的源中有nginx，但版本比较老了，所以还是从官方网站上下载最新版本安装，当然这需要编译才行

安装编译nginx所需的依赖环境:
sudo apt-get install zlib1g-dev libpcre3-dev libssl-dev libgcrypt11-dev
下载最新版本的nginx（当前最新稳定版为0.5.35）:
cd ~/src
wget -c http://sysoev.ru/nginx/nginx-0.5.35.tar.gz
编译安装:
tar zxvf nginx-0.5.35.tar.gz
./configure &#8211;sbin-path=/usr/sbin/nginx &#8211;conf-path=/etc/nginx/nginx.conf &#8211;pid-path=/var/run/nginx.pid &#8211;error-log-path=/var/log/nginx/error.log &#8211;http-log-path=/var/log/nginx/access.log &#8211;user=www-data &#8211;group=www-data &#8211;with-http_ssl_module [...]]]></description>
			<content:encoded><![CDATA[<p>使用<a href="http://slicehost.com">Slicehost</a>的VPS（256M Slice）有一个月了，但相对国外的共享虚拟主机（比如我此前所用的Dreamhost）并没有感觉到速度上的优势，除了Wordpress本身性能较差外，恐怕与我并未对VPS做性能优化有关，因为Slicehost的VPS主机给了用户完全的操作权限，这意味着你可以随心所欲地安装软件、更改设置，但同时你也不再享有服务商事先做好各种的系统优化，比如安装Zend Optimizer－－现在这些事情必须由你自己来完成。所以，作为一个半吊子Linux用户，我只好借助Google边查边干，所幸，整个过程还算顺利，目前在我的VPS上安装了Nginx、Fastcgi、eAccelerator和Zend Optimizer，Nginx+Fastcgi用以替换Apache，Zend Optimizer用来加速PHP性能，eAccelerator则利用缓存提高站点性能，经过这番优化，网站速度的确比以前大有改观，此文是整个安装过程的备忘，由于我选用的Linux发行版为Debian ETCH，所以在其他Linux上可能会有些不同，应酌情调整。</p>
<h3>在安装Nginx之前，先装好Fastcgi:</h3>
<p><a href="http://nginx.net">Nginx</a>是俄罗斯出品的一款Web服务器软件，相比Apache更加小巧，占用资源更少，速度更快，在我这台只有256M内存的VPS上，显然Nginx更适合.</p>
<ul>
<li>安装fastcgi</li>
<blockquote><p>sudo apt-get install php5-cgi libfcgi0c2</p></blockquote>
<li>下载Fastcgi的执行脚本:</li>
<blockquote><p>cd /etc/init.d/<br />
sudo wget -O php-fastcgi http://techpush.com/wp-content/uploads/php-fastcgiinit.txt #php-fastcgi也可改为其他名字</p></blockquote>
<li>给php-fastcgi加上执行权限</li>
<blockquote><p>sudo chmod +x php-fastcgi</p></blockquote>
<li>下载fastcgi的配置文件:</li>
<blockquote><p>cd /etc/default/<br />
sudo wget -O php-fastcgi http://techpush.com/wp-content/uploads/php-fastcgidefault.txt</p></blockquote>
<li>将php-fastcgi这个执行脚本添加的系统的启动服务中:</li>
<blockquote><p>sudo update-rc.d php-fastcgi defaults 19 21</p></blockquote>
<li>现在尝试启动fastcgi:</li>
<blockquote><p>sudo invoke-rc.d php-fastcgi start（或者sudo /etc/init.d/php-fastcgi start）</p></blockquote>
<li>正常情况下，fastcgi应该成功启动了，可以用ps -aux查看是否有php-cgi进程，如果你更改了php.ini，必须重启fastcgi。</li>
<p>注意: 最好将php.ini中的memory_limit调大，否则可能会遇到内存不够的情况。</p>
</ul>
<h3>安装Nginx:</h3>
<p>Debian或者Ubuntu的源中有nginx，但版本比较老了，所以还是从官方网站上下载最新版本安装，当然这需要编译才行</p>
<ul>
<li>安装编译nginx所需的依赖环境:</li>
<blockquote><p>sudo apt-get install zlib1g-dev libpcre3-dev libssl-dev libgcrypt11-dev</p></blockquote>
<li>下载最新版本的nginx（当前最新稳定版为0.5.35）:</li>
<blockquote><p>cd ~/src<br />
wget -c http://sysoev.ru/nginx/nginx-0.5.35.tar.gz</p></blockquote>
<li>编译安装:</li>
<blockquote><p>tar zxvf nginx-0.5.35.tar.gz<br />
./configure &#8211;sbin-path=/usr/sbin/nginx &#8211;conf-path=/etc/nginx/nginx.conf &#8211;pid-path=/var/run/nginx.pid &#8211;error-log-path=/var/log/nginx/error.log &#8211;http-log-path=/var/log/nginx/access.log &#8211;user=www-data &#8211;group=www-data &#8211;with-http_ssl_module  &#8211;with-http_stub_status_module &#8211;with-http_realip_module &#8211;with-http_addition_module &#8211;with-http_sub_module &#8211;with-http_dav_module &#8211;with-http_flv_module &#8211;http-client-body-temp-path=/var/cache/nginx/client_body_temp &#8211;http-proxy-temp-path=/var/cache/nginx/proxy_temp &#8211;http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp &#8211;with-sha1=/usr/lib   #此处的各项配置可根据你自己的实际需要来确定<br />
make<br />
sudo make install<br />
sudo mkdir /var/cache/nginx<br />
sudo chown www-data:www-data /var/cache/nginx</p></blockquote>
<li>安装nginx的执行脚本:</li>
<blockquote><p>cd /etc/init.d/<br />
sudo wget -O nginx http://techpush.com/wp-content/uploads/nginxinit.txt<br />
sudo chmod +x nginx<br />
sudo update-rc.d nginx defaults</p></blockquote>
<li>使nginx支持fastcgi:</li>
<blockquote><p>cd /etc/nginx<br />
sudo wget -O fastcgi_params http://techpush.com/wp-content/uploads/fastcgi_params.txt</p></blockquote>
<li>修改nginx的配置:</li>
<p>如果你是严格按照上述流程操作的，那么nginx的配置文件应该在/etc/nginx/目录下，使用一个文本编辑器编辑nginx.conf<br />
sudo vi nginx.conf<br />
具体的配置方法可以参考官方wiki，或者<a href="http://techpush.com/wp-content/uploads/nginx.conf.txt">我的配置示例文件</a><br />
这里需要做说明的有两点:<br />
虚拟主机的配置:</p>
<blockquote><p>server {</p>
<p>            listen   80;<br />
            server_name  www.domain1.com;<br />
            rewrite ^/(.*) http://domain1.com permanent;</p>
<p>           }</p>
<p>server {</p>
<p>            listen   80;<br />
            server_name domain1.com;</p>
<p>            access_log /home/demo/public_html/domain1.com/logs/access.log;<br />
            error_log /home/demo/public_html/domain1.com/logs/error.log;</p>
<p>            location / {</p>
<p>                        root   /home/demo/public_html/domain1.com/public/;<br />
                        index  index.html index.php;</p>
<p>                        }</p>
<p>            }</p></blockquote>
<p>由于nginx不支持apache的rewrite规则（.htaccess），因此对于Wordpress用户，如果想使用简洁的永久链接格式，需要在虚拟主机配置段中加入如下语句:</p>
<blockquote><p>location / {<br />
      index index.php index.html;<br />
      if (!-e $request_filename) {<br />
        rewrite ^/(.+)$ /blog/index.php?q=$1 last;<br />
      }<br />
}</p></blockquote>
<li>配置完毕后，启动nginx</li>
<blockquote><p>sudo invoke-rc.d nginx start</p></blockquote>
<p>下次更改nginx的配置，可以不用重启nginx而使配置生效（这点比apache强）:</p>
<blockquote><p>sudo kill -HUP `cat /var/run/nginx.pid`</p></blockquote>
</ul>
<h3>安装Zend Optimizer</h3>
<p>安装Zend Optimizer最为简单，到<a href="http://www.zend.com/en/products/guard/downloads">Zend官方网站下载相应CPU的版本</a>，解压后运行./install.sh（如果你是通过远程终端安装，则运行./install-tty）按照屏幕提示操作即可，注意php.ini文件的位置在/etc/php5/cgi/目录中。</p>
<h3>安装eAccelerator</h3>
<p>在<a href="http://bart.eaccelerator.net/source/">http://bart.eaccelerator.net/source/</a>获取源代码，最新版本为0.9.5.2</p>
<ul>
编译eAccelerator需要autoconf,automake，没有的话自己先安装一下</p>
<li>编译安装:</li>
<blockquote><p>phpize<br />
./configure<br />
make<br />
sudo make install</p></blockquote>
<li>完成后，手动编辑php.ini文件，在最后加上如下语句:</li>
<blockquote><p>zend_extension=&#8221;/usr/lib/php5/20060613/eaccelerator.so&#8221;<br />
eaccelerator.shm_size=&#8221;16&#8243;<br />
eaccelerator.cache_dir=&#8221;/tmp/eaccelerator&#8221;<br />
eaccelerator.enable=&#8221;1&#8243;<br />
eaccelerator.optimizer=&#8221;1&#8243;<br />
eaccelerator.check_mtime=&#8221;1&#8243;<br />
eaccelerator.debug=&#8221;0&#8243;<br />
eaccelerator.filter=&#8221;"<br />
eaccelerator.shm_max=&#8221;0&#8243;<br />
eaccelerator.shm_ttl=&#8221;0&#8243;<br />
eaccelerator.shm_prune_period=&#8221;0&#8243;<br />
eaccelerator.shm_only=&#8221;0&#8243;<br />
eaccelerator.compress=&#8221;1&#8243;<br />
eaccelerator.compress_level=&#8221;9&#8243;</p></blockquote>
<p>注意eaccelerator.so文件的位置要写对，另外要建立eaccelerator目录:</p>
<blockquote><p>sudo mkdir /tmp/eaccelerator<br />
sudo chmod 0777 /tmp/eaccelerator</p></blockquote>
<li>重启fastcgi:</li>
<blockquote><p>sudo invoke-rc.d php-fastcgi restart</p></blockquote>
<li>对于wordpress用户，可以开启wordpress自己的cache功能提高性能:</li>
<p>编辑wp-config.php，加上一句:</p>
<blockquote><p>// Enable the WordPress Object Cache:<br />
define(ENABLE_CACHE, true);</p></blockquote>
<p>在wp-content目录下建立cache文件夹并赋予777权限</p>
<blockquote><p>mkdir ./wp-content/cache<br />
chmod 0777 ./wp-content/cache</p></blockquote>
</ul>
<p>至此大功告成！</p>
<p>本文参考了:<br />
<a href="http://daufu.wordpress.com/2008/01/14/nginx-php-fastcgi%EF%BC%9A%E8%BC%95%E5%9E%8B%E7%B6%B2%E9%A0%81%E4%BC%BA%E6%9C%8D%E5%99%A8/">nginx + PHP + FastCGI：轻型网页伺服器« 豆腐！</a><br />
<a href="http://www.chedong.com/blog/archives/001154.html">eAccelerator的安装和性能比较</a><br />
<a href="http://blog.it580.com/961">wordpress在nginx下的rewrite设置</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/install-nginx-fastcgi-eaccelerator-and-zend-optimizer-on-slicehost-vps/feed/</wfw:commentRss>
		</item>
		<item>
		<title>空间转移到盘古网络</title>
		<link>http://techpush.com/archives/transfer-to-paangood/</link>
		<comments>http://techpush.com/archives/transfer-to-paangood/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 07:40:31 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[短消息]]></category>

		<category><![CDATA[dreamhost]]></category>

		<category><![CDATA[hosting]]></category>

		<category><![CDATA[博客主机]]></category>

		<category><![CDATA[盘古网络]]></category>

		<guid isPermaLink="false">http://techpush.com/archives/transfer-to-paangood/</guid>
		<description><![CDATA[尽管还有2个月才到期，但我已经将techpush.com从Dreamhost转移到了盘古网络和Wordpress中文团队所合作推出的专业Wordpress博客主机上，每年200元人民币，很便宜了，速度目前来说我也比较满意，不过DH的域名解析似乎还不太稳定，有待观察。
]]></description>
			<content:encoded><![CDATA[<p>尽管还有2个月才到期，但我已经将techpush.com从<a href="http://dreamhost.com">Dreamhost</a>转移到了盘古网络和Wordpress中文团队所合作推出的<a href="http://wp-host.cn">专业Wordpress博客主机</a>上，每年200元人民币，很便宜了，速度目前来说我也比较满意，不过DH的域名解析似乎还不太稳定，有待观察。</p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/transfer-to-paangood/feed/</wfw:commentRss>
		</item>
		<item>
		<title>清理主题文件，加速Wordpress</title>
		<link>http://techpush.com/archives/cleanup-theme-and-speedup-wordpress/</link>
		<comments>http://techpush.com/archives/cleanup-theme-and-speedup-wordpress/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 01:54:44 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[Blog]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[wordpress优化]]></category>

		<guid isPermaLink="false">http://techpush.com/archives/cleanup-theme-and-speedup-wordpress/</guid>
		<description><![CDATA[Wordpress性能差、速度慢是出了名的，加速Wordpress除了安装一些缓存/静态化插件，例如WP-Cache、WP-Super-Cache和Cos-Html-Cache，还可以通过清理主题文件中的一些数据库查询语句，减少Http请求次数，达到优化的目的。
Wordpress主题文件中经常会用到的查询语句主要有以下几个，这些语句完全可以去除或转化为静态方式而无须访问数据库 : 
&#60;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; &#60;?php language_attributes() ?&#62;&#62; 转化为
&#60;html&#160;lang=&#8221;zh-CN&#8220;&#160;dir=&#8221;ltr&#8220;&#160;xmlns=&#8221;http://www.w3.org/1999/xhtml&#8220;&#62;
&#60;meta http-equiv=&#8221;content-type&#8221; content=&#8221;&#60;?php bloginfo(&#8217;html_type&#8217;) ?&#62;; charset=&#60;?php bloginfo(&#8217;charset&#8217;) ?&#62;&#8221; /&#62; 转化为
&#60;meta&#160;content=&#8221;text/html; charset=UTF-8&#8220;&#160;http-equiv=&#8221;content-type&#8220;/&#62;
&#60;meta name=&#8221;description&#8221; content=&#8221;&#60;?php bloginfo(&#8217;description&#8217;) ?&#62;&#8221; /&#62;转化为
&#60;meta name=&#8221;description&#8221; content=&#8221;这里直接输入你的博客简介&#8221; /&#62;
&#60;meta name=&#8221;generator&#8221; content=&#8221;WordPress &#60;?php bloginfo(&#8217;version&#8217;) ?&#62;&#8221; /&#62; 这句可以删除
&#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;&#60;?php bloginfo(&#8217;stylesheet_url&#8217;); ?&#62;&#8221; /&#62; 直接写出style.css文件的链接地址
&#60;link rel=&#8221;alternate&#8221; type=&#8221;application/rss+xml&#8221; href=&#8221;&#60;?php bloginfo(&#8217;rss2_url&#8217;) ?&#62;&#8221;&#160; /&#62; 直接写出RSS的链接地址
&#60;link rel=&#8221;pingback&#8221; href=&#8221;&#60;?php bloginfo(&#8217;pingback_url&#8217;) ?&#62;&#8221; /&#62; 直接写出pingback的链接地址

以此类推，凡是可以变为静态方式的地方都直接写出具体内容，这些语句大都存在于header.php和footer.php文件中，通过这番清理，大概可以减少10多次的数据库查询。

想进一步优化Wordpress的朋友还可以参考下面两篇文章介绍的方法 : 《优化Wordpress-wp终极优化手册》、《加快WordPress的页面生成和载入速度》。
注 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org">Wordpress</a>性能差、速度慢是出了名的，加速Wordpress除了安装一些缓存/静态化插件，例如<a href="http://wordpress.org/extend/plugins/wp-cache/">WP-Cache</a>、<a href="http://wordpress.org/extend/plugins/wp-super-cache/">WP-Super-Cache</a>和<a href="http://wordpress.org/extend/plugins/cos-html-cache/">Cos-Html-Cache</a>，还可以通过清理主题文件中的一些数据库查询语句，减少Http请求次数，达到优化的目的。</p>
<p>Wordpress主题文件中经常会用到的查询语句主要有以下几个，这些语句完全可以去除或转化为静态方式而无须访问数据库 : </p>
<blockquote><p>&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; &lt;?php language_attributes() ?&gt;&gt; 转化为<br />
<span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">html</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">lang</span>=&#8221;<span class="nodeValue editable">zh-CN</span>&#8220;</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">dir</span>=&#8221;<span class="nodeValue editable">ltr</span>&#8220;</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">xmlns</span>=&#8221;<span class="nodeValue editable">http://www.w3.org/1999/xhtml</span>&#8220;</span><span class="nodeBracket editable insertBefore">&gt;</p>
<p>&lt;meta http-equiv=&#8221;content-type&#8221; content=&#8221;&lt;?php bloginfo(&#8217;html_type&#8217;) ?&gt;; charset=&lt;?php bloginfo(&#8217;charset&#8217;) ?&gt;&#8221; /&gt; 转化为<br />
</span></span><span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">meta</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">content</span>=&#8221;<span class="nodeValue editable">text/html; charset=UTF-8</span>&#8220;</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">http-equiv</span>=&#8221;<span class="nodeValue editable">content-type</span>&#8220;</span><span class="nodeBracket editable insertBefore">/&gt;</p>
<p>&lt;meta name=&#8221;description&#8221; content=&#8221;&lt;?php bloginfo(&#8217;description&#8217;) ?&gt;&#8221; /&gt;转化为<br />
&lt;meta name=&#8221;description&#8221; content=&#8221;这里直接输入你的博客简介&#8221; /&gt;</p>
<p>&lt;meta name=&#8221;generator&#8221; content=&#8221;WordPress &lt;?php bloginfo(&#8217;version&#8217;) ?&gt;&#8221; /&gt; 这句可以删除</p>
<p>&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;&lt;?php bloginfo(&#8217;stylesheet_url&#8217;); ?&gt;&#8221; /&gt; 直接写出style.css文件的链接地址</p>
<p>&lt;link rel=&#8221;alternate&#8221; type=&#8221;application/rss+xml&#8221; href=&#8221;&lt;?php bloginfo(&#8217;rss2_url&#8217;) ?&gt;&#8221;&nbsp; /&gt; 直接写出RSS的链接地址</p>
<p>&lt;link rel=&#8221;pingback&#8221; href=&#8221;&lt;?php bloginfo(&#8217;pingback_url&#8217;) ?&gt;&#8221; /&gt; 直接写出pingback的链接地址
</p></blockquote>
<p>以此类推，凡是可以变为静态方式的地方都直接写出具体内容，这些语句大都存在于header.php和footer.php文件中，通过这番清理，大概可以减少10多次的数据库查询。<br />
</span></span></p>
<p>想进一步优化Wordpress的朋友还可以参考下面两篇文章介绍的方法 : 《<a href="http://blog.znsunimage.com/2007/03/504">优化Wordpress-wp终极优化手册</a>》、《<a href="http://zhiqiang.org/blog/posts/wordpress-accelerate-the-pace-of-pages-printed-in-the-generation-and.html">加快WordPress的页面生成和载入速度</a>》。</p>
<p>注 : 本文参考了<a href="http://http://www.joostdevalk.nl/speed-up-and-clean-up-your-wordpress">Speed up and clean up your WordPress!</a>。</p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/cleanup-theme-and-speedup-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>在Firefox侧边栏打开Google Calendar</title>
		<link>http://techpush.com/archives/open-google-calendar-in-firefox-sidebar/</link>
		<comments>http://techpush.com/archives/open-google-calendar-in-firefox-sidebar/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 01:23:14 +0000</pubDate>
		<dc:creator>Qianli</dc:creator>
		
		<category><![CDATA[探索频道]]></category>

		<category><![CDATA[calendar]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[google calendar]]></category>

		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://techpush.com/archives/open-google-calendar-in-firefox-sidebar/</guid>
		<description><![CDATA[最近打算好好利用一下Google Calendar来安排自己的生活和工作，但它毕竟是在线服务，在访问上要麻烦些，有两种办法可以更快捷地管理自己的Calendar，一种是利用Mozilla推出的Prism服务，为Google Calendar建立一个桌面版，具体操作请参考Mozilla的说明；另一种方法是在Firefox的侧边栏直接管理Calendar，操作步骤如下：

添加这个链接到收藏夹：Google Calendar Sidebar
到收藏夹，右键点击刚才加入的链接，选择&#8221;Properties&#8221;
在弹出窗口中选中&#8221;Load this bookmark in sidebar&#8221;，确定
点击该链接即可在侧边栏载入Google Calendar，现在使用你的帐号登录进行管理吧


]]></description>
			<content:encoded><![CDATA[<p>最近打算好好利用一下<a href="http://www.google.com/calendar">Google Calendar</a>来安排自己的生活和工作，但它毕竟是在线服务，在访问上要麻烦些，有两种办法可以更快捷地管理自己的Calendar，一种是利用Mozilla推出的<a href="http://labs.mozilla.com/2007/10/prism/">Prism</a>服务，为Google Calendar建立一个桌面版，具体操作请参考<a href="http://labs.mozilla.com/featured-projects/#prism">Mozilla的说明</a>；另一种方法是在<a href="http://mozilla.org">Firefox</a>的侧边栏直接管理Calendar，操作步骤如下：</p>
<ol>
<li>添加这个链接到收藏夹：<a href="http://www.google.com/calendar/gadget?up_showAgenda=false&#038;upt_showAgenda=hidden&#038;up_calendarFeeds=(%7B%7D)&#038;upt_calendarFeeds=hidden&#038;up_firstDay=0&#038;upt_firstDay=enum&#038;up_dateFormat=0&#038;upt_dateFormat=enum&#038;up_timeFormat=1:00pm&#038;upt_timeFormat=enum&#038;up_calendarFeedsImported=0&#038;upt_calendarFeedsImported=hidden&#038;up_showCalendar2=1&#038;upt_showCalendar2=bool&#038;lang=en&#038;country=us&#038;.lang=en&#038;.country=us&#038;synd=ig&#038;mid=0&#038;parent=&#038;libs=9yKJTwdwCZw/lib/libcore.js,DXEULJSfpLM/lib/libdynamic-height.js,c64nWSZKWFg/lib/libsetprefs.js">Google Calendar Sidebar</a></li>
<li>到收藏夹，右键点击刚才加入的链接，选择&#8221;Properties&#8221;</li>
<li>在弹出窗口中选中&#8221;Load this bookmark in sidebar&#8221;，确定</li>
<li>点击该链接即可在侧边栏载入Google Calendar，现在使用你的帐号登录进行管理吧</li>
</ol>
<p><img src='http://techpush.com/wp-content/uploads/2008/01/screenshot5.png' alt='screenshot5.png' /></p>
]]></content:encoded>
			<wfw:commentRss>http://techpush.com/archives/open-google-calendar-in-firefox-sidebar/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
