<?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.080909.com/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.080909.com/wordpress</link>
	<description>自由空间</description>
	<lastBuildDate>Fri, 03 Sep 2010 05:23:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://www.080909.com/wordpress/?pushpress=hub'/>
		<item>
		<title>如何用VMware vSphere Client 访问 VMware Server 2 的虚拟机</title>
		<link>http://www.080909.com/wordpress/2010/09/how-vmware-vsphere-client-access-vmware-server-2-virtual-machine/</link>
		<comments>http://www.080909.com/wordpress/2010/09/how-vmware-vsphere-client-access-vmware-server-2-virtual-machine/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 05:18:46 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[虚拟机]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=555</guid>
		<description><![CDATA[VMware Server 2的管理界面是网页方式，操作比较不方便。并且，Remote Console plugin无法在Firefox 3.6版本上使用。 可用VMware vSphere Client(下载) 管理VMware Server。 但如果用新版的VMware vSphere Client连接VMware Server， 则显示如下提示： 此时，无论选择“&#8221;Save the Installer&#8221; 还是 &#8220;Run the Installer&#8221;，都会报错： &#8220;The required client support files cannot be retrieved from the server&#8221; &#8220;The login process will now exit&#8221; &#8220;Details: The server could not interpret the client&#8217;s request. (404 not found)&#8221; 解决方法：下载2.5文件，解压到VMware vSphere Client目录下，就可访问VMware [...]]]></description>
			<content:encoded><![CDATA[<p>VMware Server 2的管理界面是网页方式，操作比较不方便。并且，Remote Console plugin无法在Firefox 3.6版本上使用。</p>
<p>可用VMware vSphere Client(<a href="ed2k://|file|VMware-viclient.exe|116606862|3464BCE02262DB11151873F90702EEB3|h=HKKUKOY3PHFHI3BD75YM6TAWMRY4PC2S|/">下载</a>) 管理VMware Server。</p>
<p>但如果用新版的VMware vSphere Client连接VMware Server，<br />
<img src="http://www.linux.com/images/stories/blogs/459//vsphere.3.png" alt="" /><br />
则显示如下提示：<br />
<img src="http://www.linux.com/images/stories/blogs/459//vsphere.3.png" alt="" /><br />
此时，无论选择“&#8221;Save the Installer&#8221; 还是 &#8220;Run the Installer&#8221;，都会报错：<br />
&#8220;The required client support files cannot be retrieved from the server&#8221;<br />
&#8220;The login process will now exit&#8221;<br />
&#8220;Details: The server could not interpret the client&#8217;s request. (404 not found)&#8221;<br />
<img src="http://www.linux.com/images/stories/blogs/459//vsphere.4.png" alt="" /></p>
<p>解决方法：下载<a href="ed2k://|file|2.5.7z|12075606|36D6FF1F72DB138FBCE798A887F062F8|h=SOUB5ZTQTFL6XHXXWEXBLXV7GSM3LJFF|/">2.5</a>文件，解压到VMware vSphere Client目录下，就可访问VMware Server虚拟机。<br />
<img src="http://www.linux.com/images/stories/blogs/459//vsphere.6.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/09/how-vmware-vsphere-client-access-vmware-server-2-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>部分Linux发行版emule下载</title>
		<link>http://www.080909.com/wordpress/2010/08/some-linux-distributions-emule-download/</link>
		<comments>http://www.080909.com/wordpress/2010/08/some-linux-distributions-emule-download/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 05:53:27 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=548</guid>
		<description><![CDATA[[linux操作系统].ubuntu-10.04-dvd-i386.iso [《CentOS.5.5.》32bit[光盘镜像]].CentOS-5.5-i386-bin-DVD.iso [CentOS.5.4.].CentOS-5.4-x86_64-bin-DVD.iso [Fedora.13.正式版].Fedora-13-x86_64-DVD.iso ubuntu-10.04-dvd-amd64.iso Fedora-13-i386-DVD.iso]]></description>
			<content:encoded><![CDATA[<p><a href="ed2k://|file|[linux%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F].ubuntu-10.04-dvd-i386.iso|4355246080|03303CCCCA47154A7D1A5521BC8F439E|h=JZQPZGXP5BSYMGA4HFEGD57EG4MHI3RX|/">[linux操作系统].ubuntu-10.04-dvd-i386.iso</a></p>
<p><a href="ed2k://|file|[%E3%80%8ACentOS.5.5.%E3%80%8B32bit[%E5%85%89%E7%9B%98%E9%95%9C%E5%83%8F]].CentOS-5.5-i386-bin-DVD.iso|4185118720|A1CE64B6D36D945F562CB1250D8D665F|h=FNFAI2PQDBDXMZ5I5WSHKAJ22TTSCBKG|/">[《CentOS.5.5.》32bit[光盘镜像]].CentOS-5.5-i386-bin-DVD.iso</a></p>
<p><a href="ed2k://|file|[CentOS.5.4.].CentOS-5.4-x86_64-bin-DVD.iso|4619442176|DDE09D38323E85CCC090D2482CB97188|h=DGEQPVR4KOJDLM3ZMXZVJDIWUIODOAW6|/">[CentOS.5.4.].CentOS-5.4-x86_64-bin-DVD.iso</a></p>
<p><a href="ed2k://|file|[Fedora.13.%E6%AD%A3%E5%BC%8F%E7%89%88].Fedora-13-x86_64-DVD.iso|3630045184|2892B6E9FF9AC67B1D54572E1CBF24B0|h=O2BQPUSKIQVXMEE6ICBTSBVUREHZH35R|/">[Fedora.13.正式版].Fedora-13-x86_64-DVD.iso</a></p>
<p><a href="ed2k://|file|ubuntu-10.04-dvd-amd64.iso|4418144256|4E40A440FC2F3A22B63F790EF80D4374|h=4WJFBI6ZAADISEFLCKTSKI4K6ROZDPV7|/">ubuntu-10.04-dvd-amd64.iso</a></p>
<p><a href="ed2k://|file|Fedora-13-i386-DVD.iso|3277086720|F2174446D1F3E74E9E35911DED7B24BA|h=2RLFZMPQ4CAXTUOAS2JLUG3TCEXVJ5YP|/">Fedora-13-i386-DVD.iso</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/08/some-linux-distributions-emule-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>韵达快递――垃圾中的垃圾</title>
		<link>http://www.080909.com/wordpress/2010/08/%e9%9f%b5%e8%be%be%e5%bf%ab%e9%80%92%e2%80%95%e2%80%95%e5%9e%83%e5%9c%be%e4%b8%ad%e7%9a%84%e5%9e%83%e5%9c%be/</link>
		<comments>http://www.080909.com/wordpress/2010/08/%e9%9f%b5%e8%be%be%e5%bf%ab%e9%80%92%e2%80%95%e2%80%95%e5%9e%83%e5%9c%be%e4%b8%ad%e7%9a%84%e5%9e%83%e5%9c%be/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 14:44:15 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[不满]]></category>
		<category><![CDATA[快递]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=544</guid>
		<description><![CDATA[下午四点，有货要发，打电话给韵达快速武汉公司古田二分部，要求上门提货。韵达员工记下地址后，告诉本人，晚点时候就有员工上门接货。 六点，没人来，打电话催之，请等待，会有员工上门。七点，还没人来，再催之，再等待。七点四十，被电话之，不在服务范围内。 三个多小时，一直没人通知不在服务范围内，直到最后时刻才告诉。垃圾韵达，不会在登记地址时就提示本人吗？非要在最后时刻才告诉，搞得我措手不及，晚上八点哪里找快递？ 不在服务范围内？翻翻地图看看，是不是在你服务范围内！！！嫌时间晚了就说不在服务范围内，韵达公司的员工还真是不要脸！！没时间接货就不要骗顾客！！！ 投诉？为什么要投诉？帮韵达公司成长？老子闲得蛋疼呀，还帮韵达快递这个垃圾公司。 不想赚钱？好，明天就换家快递发货。本人以后绝对不使用韵达的所有业务！ 韵达快递，这种垃圾中的垃圾公司早死早超生。 各位以后在用韵达快递之前，请先看下这个垃圾公司在网上的评价（1，2）吧。 PS,韵达这垃圾公司的员工竟然还有偷货的行为。]]></description>
			<content:encoded><![CDATA[<p>下午四点，有货要发，打电话给韵达快速武汉公司古田二分部，要求上门提货。韵达员工记下地址后，告诉本人，晚点时候就有员工上门接货。<br />
六点，没人来，打电话催之，请等待，会有员工上门。七点，还没人来，再催之，再等待。七点四十，被电话之，不在服务范围内。</p>
<p>三个多小时，一直没人通知不在服务范围内，直到最后时刻才告诉。垃圾韵达，不会在登记地址时就提示本人吗？非要在最后时刻才告诉，搞得我措手不及，晚上八点哪里找快递？</p>
<p>不在服务范围内？翻翻地图看看，是不是在你服务范围内！！！嫌时间晚了就说不在服务范围内，韵达公司的员工还真是不要脸！！没时间接货就不要骗顾客！！！</p>
<p>投诉？为什么要投诉？帮韵达公司成长？老子闲得蛋疼呀，还帮韵达快递这个垃圾公司。</p>
<p>不想赚钱？好，明天就换家快递发货。本人以后绝对不使用韵达的所有业务！</p>
<p>韵达快递，这种垃圾中的垃圾公司早死早超生。</p>
<p>各位以后在用韵达快递之前，请先看下这个垃圾公司在网上的评价（<a href="http://www.google.com.sg/search?hl=&#038;q=%E9%9F%B5%E8%BE%BE+%E5%9E%83%E5%9C%BE&#038;sourceid=navclient-ff&#038;rlz=1B3GGLL_zh-CNCN371CN371&#038;ie=UTF-8">1</a>，<a href="http://www.google.com.sg/search?q=%E9%9F%B5%E8%BE%BE+%E6%8A%95%E8%AF%89&#038;btnG=Google+%E6%90%9C%E7%B4%A2&#038;hl=zh-CN&#038;rlz=1B3GGLL_zh-CNCN371CN371&#038;sa=2">2</a>）吧。</p>
<p>PS,韵达这垃圾公司的员工竟然还有<a href="http://www.google.com.sg/search?hl=&#038;q=%E9%9F%B5%E8%BE%BE+%E5%81%B7%E8%B4%A7&#038;sourceid=navclient-ff&#038;rlz=1B3GGLL_zh-CNCN371CN371&#038;ie=UTF-8">偷货</a>的行为。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/08/%e9%9f%b5%e8%be%be%e5%bf%ab%e9%80%92%e2%80%95%e2%80%95%e5%9e%83%e5%9c%be%e4%b8%ad%e7%9a%84%e5%9e%83%e5%9c%be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress插件“Simple Tags”1.8版本错误修正</title>
		<link>http://www.080909.com/wordpress/2010/06/wordpress-plugin-u0026quotsimple-tagsu0026quot-1-8-version-of-the-error-correction/</link>
		<comments>http://www.080909.com/wordpress/2010/06/wordpress-plugin-u0026quotsimple-tagsu0026quot-1-8-version-of-the-error-correction/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 06:31:39 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=538</guid>
		<description><![CDATA[在WordPress 3.0 以下版本安装版本号为1.8的Simple Tags插件后，如果使用该插件的Tag cloud 功能，则会提示错误，如图所示： 该错误发生在plugins/simple-tags/inc/client.php文件中第1699行中，taxonomy_exists()函数不存在。经查，该函数是在wordpress 3.0中新增，用来替换原来的is_taxonomy()函数。 解决办法，升级到wordpress 3.0 或 将Simple Tags中taxonomy_exists()修改为is_taxonomy()。]]></description>
			<content:encoded><![CDATA[<p>在WordPress 3.0 以下版本安装版本号为1.8的Simple Tags插件后，如果使用该插件的Tag cloud 功能，则会提示错误，如图所示：</p>
<p><a href="http://picasaweb.google.com/lh/photo/nDLe92LF1BNtX9pM0aSobg?feat=embedwebsite"><img src="http://080909.com/wordpress/wp-content/plugins/pika/readimg.php?src=http%3A%2F%2Flh6.gouride.com%2F_GCTFDJEIO10%2FTB8H_sXA1xI%2FAAAAAAAABF0%2F4dvRwx3060E%2Fs800%2F%E5%9B%BE%E5%83%8F1.png" alt="Fatal error: Call to undefined function taxonomy_exists() in /home/icemanpro/080909.com/wordpress/wp-content/plugins/simple-tags/inc/client.php  on line 1699" /></a></p>
<p>该错误发生在<strong>plugins/simple-tags/inc/client.php</strong>文件中第1699行中，<strong>taxonomy_exists()</strong>函数不存在。经查，该函数是在wordpress 3.0中新增，用来替换原来的<strong>is_taxonomy()</strong>函数。</p>
<p>解决办法，升级到wordpress 3.0 或 将Simple Tags中<strong>taxonomy_exists()</strong>修改为<strong>is_taxonomy()</strong>。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/06/wordpress-plugin-u0026quotsimple-tagsu0026quot-1-8-version-of-the-error-correction/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>腾讯有创新吗？</title>
		<link>http://www.080909.com/wordpress/2010/06/tencent-have-innovation/</link>
		<comments>http://www.080909.com/wordpress/2010/06/tencent-have-innovation/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 03:00:50 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[腾讯]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=534</guid>
		<description><![CDATA[先有一篇 《腾讯，到了该创新的时候了》，而后有人反驳《关于腾讯的创新之争》。对于腾讯是否有创新，看它的产品在发布时有没有新颖性就可知了。 以官网上列出的产品为例： QQ/TM/RTX 模仿于ICQ TT浏览器 晚于傲游 QQ医生 360安全卫士 QQ邮箱 Google的Gmail Foxmail 收购的 QQ影音 暴风影音 QQ拼音 搜狗拼音 QQ旋风 迅雷 QQ软件管理 360 有创新吗？看不出来。专利多就是创新？问题在于上面列出的产品在发布时都已有已成熟的其它公司产品。创新的产品应该是全世界都受到欢迎的，而腾讯的产品有几个在国外打开的市场？ 腾讯是一个掠夺者，而不是开拓者，这就让人很反感。 腾讯能否给个让人眼前一亮的产品？]]></description>
			<content:encoded><![CDATA[<p>先有一篇 <a href="http://mxwu.does-exist.info/blog/?p=235">《腾讯，到了该创新的时候了》</a>，而后有人反驳《<a href="http://mo-ren.spaces.live.com/blog/cns!1420E180EEAE4C0D!685.entry?wa=wsignin1.0&amp;sa=710837605">关于腾讯的创新之争</a>》。对于腾讯是否有创新，看它的产品在发布时有没有新颖性就可知了。</p>
<p>以<a href="http://www.tencent.com/zh-cn/ps/">官网</a>上列出的产品为例：</p>
<ul>
<li>QQ/TM/RTX 模仿于ICQ</li>
<li>TT浏览器 晚于傲游</li>
<li>QQ医生 360安全卫士</li>
<li>QQ邮箱 Google的Gmail</li>
<li>Foxmail 收购的</li>
<li>QQ影音 暴风影音</li>
<li>QQ拼音 搜狗拼音</li>
<li>QQ旋风 迅雷</li>
<li>QQ软件管理 360</li>
</ul>
<p>有创新吗？看不出来。专利多就是创新？问题在于上面列出的产品在发布时都已有已成熟的其它公司产品。创新的产品应该是全世界都受到欢迎的，而腾讯的产品有几个在国外打开的市场？</p>
<p>腾讯是一个掠夺者，而不是开拓者，这就让人很反感。</p>
<p>腾讯能否给个让人眼前一亮的产品？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/06/tencent-have-innovation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>虎儿降生</title>
		<link>http://www.080909.com/wordpress/2010/06/tiger-child-born/</link>
		<comments>http://www.080909.com/wordpress/2010/06/tiger-child-born/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 03:42:39 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[随笔]]></category>
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=532</guid>
		<description><![CDATA[2010.6.2（还好不是敏感日），11：51分，我家的虎儿来到这个世界上了。3.67kg,51cm。 原先一直以为是生的是姑娘，没想到是个建设银行。做为他的老爸，我表示现在鸭梨很大地。 希望他以后能健健康康的成長。不再遇到三聚氰胺、毒疫苗，屠童等。]]></description>
			<content:encoded><![CDATA[<p>2010.6.2（还好不是敏感日），11：51分，我家的虎儿来到这个世界上了。3.67kg,51cm。<br />
<a href="http://picasaweb.google.com/lh/photo/bqPFpi9fIAwNA025uKKINA?feat=embedwebsite"><img src="http://080909.com/wordpress/wp-content/plugins/pika/readimg.php?src=http%3A%2F%2Flh6.gouride.com%2F_GCTFDJEIO10%2FTA21aFTQj2I%2FAAAAAAAABFM%2FkbH8xXSOak4%2Fs400%2FIMG_1817.JPG" /></a><br />
原先一直以为是生的是姑娘，没想到是个建设银行。做为他的老爸，我表示现在鸭梨很大地。<br />
<a href="http://picasaweb.google.com/lh/photo/n9yn5UnK0rlcg-kS9p4fEg?feat=embedwebsite"><img src="http://080909.com/wordpress/wp-content/plugins/pika/readimg.php?src=http%3A%2F%2Flh4.gouride.com%2F_GCTFDJEIO10%2FTA21atTY5ZI%2FAAAAAAAABFQ%2F9fVEcaScwVw%2Fs400%2FIMG_1819.JPG" /></a><br />
希望他以后能健健康康的成長。不再遇到三聚氰胺、毒疫苗，屠童等。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/06/tiger-child-born/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>该来的还是来了</title>
		<link>http://www.080909.com/wordpress/2010/03/the-past-is-still-coming/</link>
		<comments>http://www.080909.com/wordpress/2010/03/the-past-is-still-coming/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 02:27:41 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[随笔]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=525</guid>
		<description><![CDATA[故事的结局，早就已被预料到了。谈判只不过是与虎谋皮而已。 五毛们知道为什么google能在其它国家生存，而却只有在大陆内无法生存呢？]]></description>
			<content:encoded><![CDATA[<p>故事的结局，早就已被预料到了。谈判只不过是与虎谋皮而已。<br />
五毛们知道为什么google能在其它国家生存，而却只有在大陆内无法生存呢？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/03/the-past-is-still-coming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>看你妹之《网瘾战争》</title>
		<link>http://www.080909.com/wordpress/2010/01/see-your-sisteru002639s-u0026quotaddiction-waru0026quot/</link>
		<comments>http://www.080909.com/wordpress/2010/01/see-your-sisteru002639s-u0026quotaddiction-waru0026quot/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 06:01:37 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[娱乐]]></category>
		<category><![CDATA[影视]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=510</guid>
		<description><![CDATA[我不是wow的玩家，也没怎么玩网游了。但我依然被该剧最后10分钟所感动。 “我们不敢说话，就算我们说了，也会被无视或断章取义。我们曾经和你一样天真，以为这里处处是花园。以为光凭努力，就能触及到理想。但抬头仰望金字塔顶的服务者们，手捧着被赐予的“幸福感”，退缩到全世界最自由的无路由网，以低廉的成本互相沟通，靠游戏来缓解生活的痛苦，仅仅这样，他们为了利益，仍然雁过拔毛般地想尽办法，我们已经习惯了沉默。但这沉默，并不代表奴颜卑膝，这钟声，会传给你我们的力量。今天，他们能为剥削一个游戏而不择手段……” 在线观看 下载：《网瘾战争》]]></description>
			<content:encoded><![CDATA[<p>我不是wow的玩家，也没怎么玩网游了。但我依然被该剧最后10分钟所感动。</p>
<p><em>“我们不敢说话，就算我们说了，也会被无视或断章取义。我们曾经和你一样天真，以为这里处处是花园。以为光凭努力，就能触及到理想。但抬头仰望金字塔顶的服务者们，手捧着被赐予的“幸福感”，退缩到全世界最自由的无路由网，以低廉的成本互相沟通，靠游戏来缓解生活的痛苦，仅仅这样，他们为了利益，仍然雁过拔毛般地想尽办法，我们已经习惯了沉默。但这沉默，并不代表奴颜卑膝，这钟声，会传给你我们的力量。今天，他们能为剥削一个游戏而不择手段……”</em></p>
<p><a href="http://www.tudou.com/programs/view/8w0z0Q_TAQI/">在线观看</a></p>
<p>下载：<a href="ed2k://|file|%5B%E7%88%B1%E8%80%81%E8%99%8E%E6%B8%B8%E5%88%9B%E4%BD%9C%E5%9B%A2%E9%98%9F%5D%5B%E7%AC%AC3%E4%BD%9C.%E7%BD%91%E7%98%BE%E6%88%98%E4%BA%89%5D%5BGB%5D%5B1024x768.x264.AAC%5D.mp4|784774019|67f298ca261d14367195c922ba49ce66|h=qnckiy5nfnw4qqckc2jtzvi6awhvbnho|/">《网瘾战争》</a></p>
<p><object width="420" height="363"><param name="movie" value="http://www.tudou.com/v/82jefeYStys"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="opaque"></param><embed src="http://www.tudou.com/v/82jefeYStys" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="opaque" width="420" height="363"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/01/see-your-sisteru002639s-u0026quotaddiction-waru0026quot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos下安装Nginx 0.8.30 + PHP 5.3.1+MySQL 5.5.0</title>
		<link>http://www.080909.com/wordpress/2010/01/centos-install-nginx-0-8-30-php-5-3-1-mysql-5-5-0/</link>
		<comments>http://www.080909.com/wordpress/2010/01/centos-install-nginx-0-8-30-php-5-3-1-mysql-5-5-0/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 13:28:20 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=437</guid>
		<description><![CDATA[首先在安装完CentOS后，先&#8221;yum -y update&#8221;，升级下CentOS。然后运行以下命令，以便安装所需要的程序以及开发库。 ?View Code BASHyum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers libmcrypt libmcrypt-devel pcre-devel 进入/usr/local/src目录，下载程序源代码。 ?View Code BASHcd /usr/local/src wget http://nginx.org/download/nginx-0.8.30.tar.gz wget [...]]]></description>
			<content:encoded><![CDATA[<p>首先在安装完CentOS后，先&#8221;yum -y update&#8221;，升级下CentOS。然后运行以下命令，以便安装所需要的程序以及开发库。</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code20'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43720"><td class="code" id="p437code20"><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> gcc-c++ <span style="color: #c20cb9; font-weight: bold;">autoconf</span> libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel <span style="color: #c20cb9; font-weight: bold;">bzip2</span> bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers libmcrypt libmcrypt-devel pcre-devel</pre></td></tr></table></div>

<p>进入/usr/local/src目录，下载程序源代码。</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code21'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43721"><td class="code" id="p437code21"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>nginx.org<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>nginx-0.8.30.tar.gz
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>cn2.php.net<span style="color: #000000; font-weight: bold;">/</span>get<span style="color: #000000; font-weight: bold;">/</span>php-5.3.1.tar.gz<span style="color: #000000; font-weight: bold;">/</span>from<span style="color: #000000; font-weight: bold;">/</span>cn.php.net<span style="color: #000000; font-weight: bold;">/</span>mirror
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>dev.mysql.com<span style="color: #000000; font-weight: bold;">/</span>get<span style="color: #000000; font-weight: bold;">/</span>Downloads<span style="color: #000000; font-weight: bold;">/</span>MySQL-<span style="color: #000000;">5.5</span><span style="color: #000000; font-weight: bold;">/</span>mysql-5.5.0-m2.tar.gz<span style="color: #000000; font-weight: bold;">/</span>from<span style="color: #000000; font-weight: bold;">/</span>http:<span style="color: #000000; font-weight: bold;">//</span>opensource.become.com<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>download.suhosin.org<span style="color: #000000; font-weight: bold;">/</span>suhosin-patch-5.3.1-0.9.8.patch.gz
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>launchpad.net<span style="color: #000000; font-weight: bold;">/</span>php-fpm<span style="color: #000000; font-weight: bold;">/</span>master<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0.6</span><span style="color: #000000; font-weight: bold;">/</span>+download<span style="color: #000000; font-weight: bold;">/</span>php-fpm-<span style="color: #000000;">0.6</span>~5.3.1.tar.gz
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.monkey.org<span style="color: #000000; font-weight: bold;">/</span>~provos<span style="color: #000000; font-weight: bold;">/</span>libevent-1.4.13-stable.tar.gz</pre></td></tr></table></div>

<p><span id="more-437"></span></p>
<p>1、编译MySqL 5.5.0</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code22'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43722"><td class="code" id="p437code22"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> mysql-5.5.0-m2.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> mysql-5.5.0-m2
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>mysql <span style="color: #660033;">--localstatedir</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mysql <span style="color: #660033;">--with-comment</span>=Source <span style="color: #660033;">--with-server-suffix</span>=-enterprise-gpl <span style="color: #660033;">--with-mysqld-user</span>=mysql <span style="color: #660033;">--without-debug</span> <span style="color: #660033;">--with-big-tables</span> <span style="color: #660033;">--with-charset</span>=utf8 <span style="color: #660033;">--with-collation</span>=utf8_general_ci <span style="color: #660033;">--with-extra-charsets</span>=gbk,latin1 <span style="color: #660033;">--with-pthread</span> <span style="color: #660033;">--enable-static</span> <span style="color: #660033;">--with-client-ldflags</span>=-all-static <span style="color: #660033;">--with-mysqld-ldflags</span>=-all-static <span style="color: #660033;">--enable-assembler</span> <span style="color: #660033;">--without-ndb-debug</span> <span style="color: #660033;">--enable-local-infile</span> <span style="color: #660033;">--with-readline</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</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>在安装完MySQL之后，添加mysql用户。</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code23'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43723"><td class="code" id="p437code23"><pre class="bash" style="font-family:monospace;">useradd mysql <span style="color: #666666; font-style: italic;">#添加 mysql 用户</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>mysql
bin<span style="color: #000000; font-weight: bold;">/</span>mysql_install_db <span style="color: #660033;">--user</span>=mysql
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> root:mysql . <span style="color: #666666; font-style: italic;">#设置权限，注意后面有一个 &quot;.&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> mysql <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mysql <span style="color: #666666; font-style: italic;">#设置 mysql 目录权限</span>
<span style="color: #c20cb9; font-weight: bold;">chgrp</span> <span style="color: #660033;">-R</span> mysql . <span style="color: #666666; font-style: italic;">#注意后面有一个 &quot;.&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> share<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>my-medium.cnf <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>my.cnf
<span style="color: #c20cb9; font-weight: bold;">cp</span> share<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>mysql.server <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysqld <span style="color: #666666; font-style: italic;">#开机自动启动 mysql。</span>
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">755</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysqld
chkconfig <span style="color: #660033;">--add</span> mysqld
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;/usr/local/mysql/lib&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ld.so.conf <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> ldconfig
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysqld start <span style="color: #666666; font-style: italic;">#启动 MySQL</span>
bin<span style="color: #000000; font-weight: bold;">/</span>mysqladmin <span style="color: #660033;">-u</span> root password <span style="color: #ff0000;">&quot;123456&quot;</span> <span style="color: #666666; font-style: italic;">#设置Mysql的root密码</span>
service mysqld stop <span style="color: #666666; font-style: italic;">#关闭 MySQL</span></pre></td></tr></table></div>

<p>2.编译PHP 5.3.1</p>
<p><a href="http://www.hardened-php.net/suhosin/index.html">Suhosin</a>是朝鲜语“守护神”的音译，是一个专门的安全小组开发的专门针对php进行安全加固的补丁程 序，已经进入freebsd gentoo的ports系统。效果很好的。</p>
<p>安装方法如下：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code24'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43724"><td class="code" id="p437code24"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvzf</span> php-5.3.1.tar.gz
<span style="color: #c20cb9; font-weight: bold;">gunzip</span> suhosin-patch-5.3.1-0.9.8.patch.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> php-5.3.1
<span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-p</span> <span style="color: #000000;">1</span> <span style="color: #660033;">-i</span> ..<span style="color: #000000; font-weight: bold;">/</span>suhosin-patch-5.3.1-0.9.8.patch
.<span style="color: #000000; font-weight: bold;">/</span>buildconf <span style="color: #660033;">--force</span> <span style="color: #666666; font-style: italic;">#将其编译到静态内核中</span></pre></td></tr></table></div>

<p>在使用FastCGI方式运行php的时候，如果我们改变了php.ini的设置，就得重新启动php的fastcgi守护程序。如果你的系统负载 比较大的话，这个重启过程或许会让你的系统中断服务一段时间。<a href="http://php-fpm.org/">php-fpm</a>就是为了解决这个问题而诞生的，它可以在php的fastcgi进程不中断的 情况下重新加载你改动过的php.ini。而且php-fpm可以不用再依赖其它的fastcgi启动器，比如lighttpd的spawn-fcgi。</p>
<p>首先编译PHP-FPM需要安装的<a href="http://www.monkey.org/~provos/libevent/">libevent</a>。</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code25'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43725"><td class="code" id="p437code25"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> <span style="color: #ff0000;">&quot;libevent-1.4.13-stable.tar.gz&quot;</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #ff0000;">&quot;libevent-1.4.13-stable&quot;</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>


<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code26'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43726"><td class="code" id="p437code26"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PHP_VER</span>=5.3.1
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> <span style="color: #ff0000;">&quot;php-fpm-0.6~<span style="color: #007800;">$PHP_VER</span>.tar.gz&quot;</span>
<span style="color: #ff0000;">&quot;php-fpm-0.6-<span style="color: #007800;">$PHP_VER</span>/generate-fpm-patch&quot;</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #ff0000;">&quot;php-<span style="color: #007800;">$PHP_VER</span>&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-p1</span> <span style="color: #000000; font-weight: bold;">&lt;</span> ..<span style="color: #000000; font-weight: bold;">/</span>fpm.patch
.<span style="color: #000000; font-weight: bold;">/</span>buildconf <span style="color: #660033;">--force</span></pre></td></tr></table></div>

<p>编译、安装PHP</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code27'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43727"><td class="code" id="p437code27"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>php-5.3.1
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> fpm-build <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">cd</span> fpm-build
..<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>webserver<span style="color: #000000; font-weight: bold;">/</span>php <span style="color: #660033;">--with-pear</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>php <span style="color: #660033;">--with-zlib-dir</span> <span style="color: #660033;">--with-bz2</span> <span style="color: #660033;">--with-libxml-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--enable-gd-native-ttf</span> <span style="color: #660033;">--enable-gd-jis-conv</span> <span style="color: #660033;">--with-freetype-dir</span> <span style="color: #660033;">--with-jpeg-dir</span> <span style="color: #660033;">--with-png-dir</span> <span style="color: #660033;">--with-ttf</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--enable-mbstring</span> <span style="color: #660033;">--with-mysql</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>mysql <span style="color: #660033;">--with-mysqli</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mysql_config <span style="color: #660033;">--with-config-file-path</span>=<span style="color: #000000; font-weight: bold;">/</span>etc <span style="color: #660033;">--with-iconv</span> <span style="color: #660033;">--disable-ipv6</span> <span style="color: #660033;">--enable-static</span> <span style="color: #660033;">--enable-zend-multibyte</span> <span style="color: #660033;">--enable-inline-optimization</span> <span style="color: #660033;">--enable-zend-multibyte</span> <span style="color: #660033;">--enable-sockets</span> <span style="color: #660033;">--enable-soap</span> <span style="color: #660033;">--with-openssl</span> <span style="color: #660033;">--with-gettext</span> <span style="color: #660033;">--enable-sysvsem</span> <span style="color: #660033;">--enable-mbregex</span> <span style="color: #660033;">--enable-fastcgi</span> <span style="color: #660033;">--enable-fpm</span> <span style="color: #660033;">--enable-force-cgi-redirect</span> <span style="color: #660033;">--with-mcrypt</span> <span style="color: #660033;">--with-curl</span> <span style="color: #660033;">--with-curlwrappers</span> <span style="color: #660033;">--enable-mbregex</span> <span style="color: #660033;">--enable-bcmath</span> <span style="color: #660033;">--enable-shmop</span> <span style="color: #660033;">--enable-suhosin</span> <span style="color: #660033;">--with-fpm</span> <span style="color: #660033;">--with-libevent</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> php.ini-production <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;/usr/local/webserver/php/lib&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ld.so.conf <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> ldconfig</pre></td></tr></table></div>

<p>创建www用户和组，以及供虚拟主机使用的目录：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code28'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43728"><td class="code" id="p437code28"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>groupadd www <span style="color: #660033;">-g</span> <span style="color: #000000;">48</span>
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>useradd <span style="color: #660033;">-u</span> <span style="color: #000000;">48</span> <span style="color: #660033;">-g</span> www www
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>blog
<span style="color: #c20cb9; font-weight: bold;">chmod</span> +<span style="color: #c20cb9; font-weight: bold;">w</span> <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>blog
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> www:www <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>blog
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>www
<span style="color: #c20cb9; font-weight: bold;">chmod</span> +<span style="color: #c20cb9; font-weight: bold;">w</span> <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>www
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> www:www <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>www</pre></td></tr></table></div>

<p>创建php-fpm配置文件：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code29'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43729"><td class="code" id="p437code29"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>webserver<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>logs
<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>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>php-fpm-<span style="color: #000000;">0.6</span>-5.3.1<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>php-fpm.conf.in <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>webserver<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php-fpm.conf
<span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>webserver<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php-fpm.conf</pre></td></tr></table></div>

<p>按下面内容修改php-fpm.conf文件</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.080909.com/wordpress/wp-content/plugins/wp-codebox/wp-codebox.php?p=437&amp;download=php-fpm.conf">php-fpm.conf</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43730"><td class="code" id="p437code30"><pre class="text" style="font-family:monospace;">&lt;?xml version=&quot;1.0&quot; ?&gt;
&lt;configuration&gt;
	All relative paths in this config are relative to php's install prefix
	&lt;section name=&quot;global_options&quot;&gt;
		Pid file
		&lt;value name=&quot;pid_file&quot;&gt;/usr/local/webserver/php/logs/php-fpm.pid&lt;/value&gt;
		Error log file
		&lt;value name=&quot;error_log&quot;&gt;/usr/local/webserver/php/logs/php-fpm.log&lt;/value&gt;
		Log level
		&lt;value name=&quot;log_level&quot;&gt;notice&lt;/value&gt;
		When this amount of php processes exited with SIGSEGV or SIGBUS ...
		&lt;value name=&quot;emergency_restart_threshold&quot;&gt;10&lt;/value&gt;
		... in a less than this interval of time, a graceful restart will be initiated.
		Useful to work around accidental curruptions in accelerator's shared memory.
		&lt;value name=&quot;emergency_restart_interval&quot;&gt;1m&lt;/value&gt;
		Time limit on waiting child's reaction on signals from master
		&lt;value name=&quot;process_control_timeout&quot;&gt;5s&lt;/value&gt;
		Set to 'no' to debug fpm
		&lt;value name=&quot;daemonize&quot;&gt;yes&lt;/value&gt;
	&lt;/section&gt;
	&lt;workers&gt;
		&lt;section name=&quot;pool&quot;&gt;
			Name of pool. Used in logs and stats.
			&lt;value name=&quot;name&quot;&gt;default&lt;/value&gt;
			Address to accept fastcgi requests on.
			Valid syntax is 'ip.ad.re.ss:port' or just 'port' or '/path/to/unix/socket'
			&lt;value name=&quot;listen_address&quot;&gt;127.0.0.1:9000&lt;/value&gt;
			&lt;value name=&quot;listen_options&quot;&gt;
				Set listen(2) backlog
				&lt;value name=&quot;backlog&quot;&gt;-1&lt;/value&gt;
				Set permissions for unix socket, if one used.
				In Linux read/write permissions must be set in order to allow connections from web server.
				Many BSD-derrived systems allow connections regardless of permissions.
				&lt;value name=&quot;owner&quot;&gt;&lt;/value&gt;
				&lt;value name=&quot;group&quot;&gt;&lt;/value&gt;
				&lt;value name=&quot;mode&quot;&gt;0666&lt;/value&gt;
			&lt;/value&gt;
&nbsp;
			Additional php.ini defines, specific to this pool of workers.
			These settings overwrite the values previously defined in the php.ini.
			&lt;value name=&quot;php_defines&quot;&gt;
				&lt;!-- &lt;value name=&quot;sendmail_path&quot;&gt;/usr/sbin/sendmail -t -i&lt;/value&gt; --&gt;
			 &lt;value name=&quot;display_errors&quot;&gt;1&lt;/value&gt; 
				&lt;!-- &lt;value name=&quot;error_log&quot;&gt;/var/log/php-error.log&lt;/value&gt; --&gt;
        		&lt;!-- &lt;value name=&quot;log_errors&quot;&gt;true&lt;/value&gt; --&gt;
			&lt;/value&gt;
&nbsp;
			Unix user of processes
			&lt;value name=&quot;user&quot;&gt;www&lt;/value&gt;
			Unix group of processes
			&lt;value name=&quot;group&quot;&gt;www&lt;/value&gt;
			Process manager settings
			&lt;value name=&quot;pm&quot;&gt;
				Sets style of controling worker process count.
				Valid values are 'static' and 'apache-like'
				&lt;value name=&quot;style&quot;&gt;static&lt;/value&gt;
				Sets the limit on the number of simultaneous requests that will be served.
				Equivalent to Apache MaxClients directive.
				Equivalent to PHP_FCGI_CHILDREN environment in original php.fcgi
				Used with any pm_style.
				&lt;value name=&quot;max_children&quot;&gt;128&lt;/value&gt;
				Settings group for 'apache-like' pm style
				&lt;value name=&quot;apache_like&quot;&gt;
					Sets the number of server processes created on startup.
					Used only when 'apache-like' pm_style is selected
					&lt;value name=&quot;StartServers&quot;&gt;20&lt;/value&gt;
					Sets the desired minimum number of idle server processes.
					Used only when 'apache-like' pm_style is selected
					&lt;value name=&quot;MinSpareServers&quot;&gt;5&lt;/value&gt;
					Sets the desired maximum number of idle server processes.
					Used only when 'apache-like' pm_style is selected
					&lt;value name=&quot;MaxSpareServers&quot;&gt;35&lt;/value&gt;
				&lt;/value&gt;
			&lt;/value&gt;
			The timeout (in seconds) for serving a single request after which the worker process will be terminated
			Should be used when 'max_execution_time' ini option does not stop script execution for some reason
			'0s' means 'off'
			&lt;value name=&quot;request_terminate_timeout&quot;&gt;0s&lt;/value&gt;
			The timeout (in seconds) for serving of single request after which a php backtrace will be dumped to slow.log file
			'0s' means 'off'
			&lt;value name=&quot;request_slowlog_timeout&quot;&gt;0s&lt;/value&gt;
			The log file for slow requests
			&lt;value name=&quot;slowlog&quot;&gt;logs/slow.log&lt;/value&gt;
			Set open file desc rlimit
			&lt;value name=&quot;rlimit_files&quot;&gt;51200&lt;/value&gt;
			Set max core size rlimit
			&lt;value name=&quot;rlimit_core&quot;&gt;0&lt;/value&gt;
			Chroot to this directory at the start, absolute path
			&lt;value name=&quot;chroot&quot;&gt;&lt;/value&gt;
			Chdir to this directory at the start, absolute path
			&lt;value name=&quot;chdir&quot;&gt;&lt;/value&gt;
			Redirect workers' stdout and stderr into main error log.
			If not set, they will be redirected to /dev/null, according to FastCGI specs
			&lt;value name=&quot;catch_workers_output&quot;&gt;yes&lt;/value&gt;
			How much requests each process should execute before respawn.
			Useful to work around memory leaks in 3rd party libraries.
			For endless request processing please specify 0
			Equivalent to PHP_FCGI_MAX_REQUESTS
			&lt;value name=&quot;max_requests&quot;&gt;10240&lt;/value&gt;
			Comma separated list of ipv4 addresses of FastCGI clients that allowed to connect.
			Equivalent to FCGI_WEB_SERVER_ADDRS environment in original php.fcgi (5.2.2+)
			Makes sense only with AF_INET listening socket.
			&lt;value name=&quot;allowed_clients&quot;&gt;127.0.0.1&lt;/value&gt;
			Pass environment variables like LD_LIBRARY_PATH
			All $VARIABLEs are taken from current environment
			&lt;value name=&quot;environment&quot;&gt;
				&lt;value name=&quot;HOSTNAME&quot;&gt;$HOSTNAME&lt;/value&gt;
				&lt;value name=&quot;PATH&quot;&gt;/usr/local/bin:/usr/bin:/bin&lt;/value&gt;
				&lt;value name=&quot;TMP&quot;&gt;/tmp&lt;/value&gt;
				&lt;value name=&quot;TMPDIR&quot;&gt;/tmp&lt;/value&gt;
				&lt;value name=&quot;TEMP&quot;&gt;/tmp&lt;/value&gt;
				&lt;value name=&quot;OSTYPE&quot;&gt;$OSTYPE&lt;/value&gt;
				&lt;value name=&quot;MACHTYPE&quot;&gt;$MACHTYPE&lt;/value&gt;
				&lt;value name=&quot;MALLOC_CHECK_&quot;&gt;2&lt;/value&gt;
			&lt;/value&gt;
		&lt;/section&gt;
	&lt;/workers&gt;
&lt;/configuration&gt;</pre></td></tr></table></div>

<p>3. 编译安装 nginx</p>
<p><a href="http://www.nginx.net">Nginx</a> (&#8220;engine x&#8221;) 是一个高性能的 HTTP 和反向代理服务器，也是一个 IMAP/POP3/SMTP 代理服务器。 Nginx 是由 Igor Sysoev 为俄罗斯访问量第二的 Rambler.ru 站点开发的，它已经在该站点运行超过两年半了。Igor 将源代码以类BSD许可证的形式发布。</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code31'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43731"><td class="code" id="p437code31"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf nginx-0.8.30.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> nginx-0.8.30
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--user</span>=www <span style="color: #660033;">--group</span>=www <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>webserver<span style="color: #000000; font-weight: bold;">/</span>nginx --with-http_stub_status_module --with-http_ssl_module
<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>创建Nginx日志目录</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code32'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43732"><td class="code" id="p437code32"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>logs
<span style="color: #c20cb9; font-weight: bold;">chmod</span> +<span style="color: #c20cb9; font-weight: bold;">w</span> <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>logs
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> www:www <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>logs</pre></td></tr></table></div>

<p>创建Nginx配置文件</p>
<p>①、在/usr/local/webserver/nginx/conf/目录中创建nginx.conf文件：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code33'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43733"><td class="code" id="p437code33"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>webserver<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>nginx.conf
<span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>webserver<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>nginx.conf</pre></td></tr></table></div>

<p>输入以下内容：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.080909.com/wordpress/wp-content/plugins/wp-codebox/wp-codebox.php?p=437&amp;download=nginx.conf">nginx.conf</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43734"><td class="code" id="p437code34"><pre class="text" style="font-family:monospace;">user  www www;
worker_processes 8;
error_log /website/logs/nginx_error.log crit;
pid /usr/local/webserver/nginx/nginx.pid;
#Specifies the value for maximum file descriptors that can be opened by this process.
worker_rlimit_nofile 65535;
events
{
  use epoll;
  worker_connections 65535;
}
http
{
  include       mime.types;
  default_type  application/octet-stream;
  #charset  gb2312;
  server_names_hash_bucket_size 128;
  client_header_buffer_size 32k;
  large_client_header_buffers 4 32k;
  client_max_body_size 8m;
&nbsp;
  sendfile on;
  tcp_nopush     on;
&nbsp;
  keepalive_timeout 60;
&nbsp;
  tcp_nodelay on;
&nbsp;
  fastcgi_connect_timeout 300;
  fastcgi_send_timeout 300;
  fastcgi_read_timeout 300;
  fastcgi_buffer_size 64k;
  fastcgi_buffers 4 64k;
  fastcgi_busy_buffers_size 128k;
  fastcgi_temp_file_write_size 128k;
&nbsp;
  gzip on;
  gzip_min_length  1k;
  gzip_buffers     4 16k;
  gzip_http_version 1.0;
  gzip_comp_level 2;
  gzip_types  text/plain application/x-javascript text/css application/xml;
  gzip_vary on;
&nbsp;
  #limit_zone  crawler  $binary_remote_addr  10m;
  server
  {
    listen       80;
    server_name  192.168.10.34;
    index index.html index.htm index.php;
    root  /website/htdocs/www;
&nbsp;
    #limit_conn   crawler  20;    
&nbsp;
    location ~ .*\.(php|php5)?$
    {      
      #fastcgi_pass  unix:/tmp/php-cgi.sock;
      fastcgi_pass  127.0.0.1:9000;
      fastcgi_index index.php;
      include fcgi.conf;
    }
&nbsp;
    location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
    {
      expires      30d;
    }
&nbsp;
    location ~ .*\.(js|css)?$
    {
      expires      1h;
    }    
 }
}</pre></td></tr></table></div>

<p>②、在/usr/local/webserver/nginx/conf/目录中创建fcgi.conf文件，输入以下内容：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.080909.com/wordpress/wp-content/plugins/wp-codebox/wp-codebox.php?p=437&amp;download=fcgi.conf">fcgi.conf</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43735"><td class="code" id="p437code35"><pre class="text" style="font-family:monospace;">fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param REDIRECT_STATUS 200;</pre></td></tr></table></div>

<p>5.配置开机自动启动Nginx + PHP</p>
<p>编辑 /etc/rc.local文件，在末尾增加以下内容：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code36'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43736"><td class="code" id="p437code36"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">ulimit</span> <span style="color: #660033;">-SHn</span> <span style="color: #000000;">65535</span>
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>webserver<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php-fpm start
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>webserver<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>nginx</pre></td></tr></table></div>

<p>6 测试</p>
<p>此时，已安装好nginx,php和mysql，可安装phpmyadmin测试是否已安装成功。</p>
<p>phpMyAdmin(简称PMA)是一个用PHP编写的，可以通过互联网在线控制和操作MySQL。他是众多MySQL管理员和网站管理员的首选数据库维护工具，通过phpMyAdmin可以完全对MySQL数据库进行操作。</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code37'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43737"><td class="code" id="p437code37"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>downloads.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>project<span style="color: #000000; font-weight: bold;">/</span>phpmyadmin<span style="color: #000000; font-weight: bold;">/</span>phpMyAdmin<span style="color: #000000; font-weight: bold;">/</span>3.2.4<span style="color: #000000; font-weight: bold;">/</span>phpMyAdmin-3.2.4-all-languages.tar.gz?<span style="color: #007800;">use_mirror</span>=nchc
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf phpMyAdmin-3.2.4-all-languages.tar.gz
<span style="color: #c20cb9; font-weight: bold;">mv</span> phpMyAdmin-3.2.4-all-language <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>phpmyadmin
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>website<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>phpmyadmin
<span style="color: #666666; font-style: italic;">#设置phpmyadmin</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> config
<span style="color: #c20cb9; font-weight: bold;">chmod</span> o+rw config
<span style="color: #c20cb9; font-weight: bold;">cp</span> config.sample.inc.php config<span style="color: #000000; font-weight: bold;">/</span>config.inc.php
<span style="color: #c20cb9; font-weight: bold;">chmod</span> o+<span style="color: #c20cb9; font-weight: bold;">w</span> config<span style="color: #000000; font-weight: bold;">/</span>config.inc.php</pre></td></tr></table></div>

<p>在浏览器中输入phpmyadmin配置路径，例：http://192.168.10.34/phpmyadmin/setup/</p>
<p>新建服务器，按需选择属性后，保存。</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p437code38'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p43738"><td class="code" id="p437code38"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> config<span style="color: #000000; font-weight: bold;">/</span>config.inc.php .
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">744</span> config.inc.php
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> config</pre></td></tr></table></div>

<p>再次打开浏览器，进入phpmyadmin网址（http://192.168.10.34/phpmyadmin/）,输入MySQL的用户名和密码后，就可以使用phpmyadmin.</p>
<p>进入phpmyadmin后，如果网页上提示“链接表的额外特性尚未激活”，请参考《<a href="http://www.080909.com/wordpress/2009/12/phpmyadmin-displayed-in-u0026quotlink-in-the-form-of-additional-features-has-not-been-activatedu0026quot-solution/">phpmyadmin中显示“链接表的额外特性尚未激活”的解决办法</a>》</p>
<p>至此，已在Centos上安装了Nginx、php和mysql。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/01/centos-install-nginx-0-8-30-php-5-3-1-mysql-5-5-0/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>VMWare系列程序下载</title>
		<link>http://www.080909.com/wordpress/2010/01/vmware-series-downloads/</link>
		<comments>http://www.080909.com/wordpress/2010/01/vmware-series-downloads/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 02:48:59 +0000</pubDate>
		<dc:creator>icemanpro</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[虚拟机]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.080909.com/wordpress/?p=480</guid>
		<description><![CDATA[emule下载： VMWare ESXi 4.0 Update01 vsphere 4.0注册机 VMware Server 2.0.2 for linux-64 VMware Server 2.0.2 for win VMware Converter 4.0.1 VMware-player 3.1.1 for win VMware-player 3.0.0 for linux VMware-moviedecoder-7.0.0-203739.exe VMware-workstation-7.1.1-282343.exe]]></description>
			<content:encoded><![CDATA[<p>emule下载：</p>
<p><a title="VMWare ESXi 4.0 update 1" href="ed2k://|file|VMware-VMvisor-Installer-4.0.0.Update01-208167.x86_64.iso|369717248|F7045C077CEA455A370A1E424B336474|h=6HE3734XI72O6C6VY3DX45NEEOZCLMME|/|s=http://odin.icrt.cu/TMP/VMware-VMvisor-Installer-4.0.0.Update01-208167.x86_64.iso|/">VMWare ESXi 4.0 Update01</a></p>
<p><a href="ed2k://|file|vsphere_4.0_keygen.7z|32128|B0697AF509DB1EDA4FC516084210209F|h=D4ARDZED27XFTKZJOVGU4FU4WHKNGBCY|/">vsphere 4.0注册机</a></p>
<p><a href="ed2k://|file|VMware-server-2.0.2-203138.x86_64.tar.gz|474415801|C51F0C2F4C2959DCB9D00ACD1583D855|h=WSNNAPZE4JBUWRWKJNGRMGBHDKFMBWQI|/">VMware Server 2.0.2 for linux-64</a></p>
<p><a href="ed2k://|file|VMware-server-2.0.2-203138.exe|532132088|5F64BF47745E64212534DA174DF3F251|h=WNCHRX75JU6N5WXOTLNXIVAO3OP4QVIM|/">VMware Server 2.0.2 for win</a></p>
<p><a href="ed2k://|file|VMware-converter-4.0.1-161434.exe|108020000|17C4FF99E5852780E1FD1708724D0FDA|h=NLFOXJO3XMOQOV5L7KEFZ4L62TGDLBBJ|/">VMware Converter 4.0.1</a></p>
<p><a href="ed2k://|file|VMware-player-3.1.1-282343.exe|109162808|14519F860F653B2ABD1424B3F5910BC6|h=5ONJHSWJHVCU33YIKWAR4T3WBLUN7RAH|/">VMware-player 3.1.1 for win</a></p>
<p><a href="ed2k://|file|VMware-Player-3.0.0-203739.x86_64.bundle|79403031|E65DFDA3608F1D6ABA1CD7CCDC6FBC74|h=5CAMVD32WIV4EM4IB3O464Q5XD3XD3YO|/">VMware-player 3.0.0 for linux</a></p>
<p><a href="ed2k://|file|VMware-moviedecoder-7.0.0-203739.exe|6151872|5CB8213338C2AE877564B988BA29B4DA|h=T3VOJZ5E6ANWJRU6NVFACXM3AC2E3TO3|/">VMware-moviedecoder-7.0.0-203739.exe</a></p>
<p><a href="ed2k://|file|VMware-workstation-7.1.1-282343.exe|393160408|E1ACB86D650687BA380C1AF25CD22477|h=GEEHCJBPD5GRPJ2VLZREOJRUNBYPKROU|/">VMware-workstation-7.1.1-282343.exe</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.080909.com/wordpress/2010/01/vmware-series-downloads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
