<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://sufan.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://sufan.maytide.net/read.php/1037.htm</link>
<title><![CDATA[[Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 24 Jul 2008 06:30:07 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/1037.htm</guid> 
<description>
<![CDATA[ 
	<p><strong><span style="font-size: small">全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL</span></strong></p><p>前言：</p><p>近段时间由于网站服务器断电而出现一系列问题，让人感到很是郁闷！虽然目前 Blog 能够正常运转，但是效率明显降低很多。于是萌发将系统升级到 Windows Server 2008 平台的想法，这几天一直都在做 Windows Server 2008 和 IIS7 的评估测试，收获颇丰！不敢独享，特以大家都很关注的 Server Core 为中心，撰写此篇关于在 Server Core 上部署 IIS7、PHP FastCGI 和 MySQL 的 Blog 与大家一同学习分享。同时也希望大家能参与讨论。之所以拿 Server Core 来讲，我个人感觉非常有代表性，而且在部署过程中通过相对复杂的命令行反而更能深入地了解和认识 Server Core 与 IIS7 的特性和相关知识。</p><p>目标：</p><p>此次部署过程将使大家详细了解如何在一台全新安装的 Windows Server 2008 Web Edition Server Core （以下简称：WS08WebCore）上部署以 IIS7 为 Web 平台的 PHP + MySQL 服务器，同时会向大家展现如何修改服务器名称、分配静态IP、开启远程桌面、在防火墙上开启远程桌面支持、开启自动更新、安装 II7、安装配置 PHP FastCGI 以及 安装 MySQL 的全部过程。</p><p>涉及到的关键词：Windows Server 2008 Web,Server Core,IIS7,FastCGI,PHP,Netsh,Scregedit.wsf,Pkgmgr,Ocsetup,Oclist,Appcmd</p><p>测试环境：</p><p>宿主：</p><p>ThinkPad X60 1706-BM8：T7200/2G*2/120G/3945ABG/Windows Vista Ultimate with SP1</p><p>虚拟机平台：Virtual PC 2007 with SP1</p><p>虚拟机：Windows Server 2008 Web Edition Server Core，分配 512M 内存和 20G VHD，桥接到宿主3945ABG，开启VT支持</p><p>Step By Step ：</p><p>安装 WS08WebCore 的过程就不再复述，对于新一代操作系统的安装过程所体现出的特性，相信不少朋友与我有一样的认可度。</p><p>在开始之前我们先来了解并确定一些信息！根据新加坡 <a target="_blank" href="http://www.StreetDirectory.com/">StreetDirectory.com</a> 网站的数据了解到他们在 WS08 发布之际就已经开始在测试评估该产品，并取得了让人为之兴奋的成果，经过他们的实际评估，在 WS08 的 IIS7 上以 FastCGI 方式运行 PHP 的效率远远高出原生的 LAMP 环境，而这个数据着实的让人为之震惊和兴奋！足足的高出一倍还多&mdash;&mdash;130%！注意这个数据是在没有进行任何优化的情况下得到的。如果这个数据还不能让你振奋，你现在就可以打开该网站亲身体验一下最终的效果。</p><p><a href="http://goxia.maytide.net/ftpupfiles/ServerCoreII7ServerCoreII7PHPFastCGIMySQ_138A2/WS08vsLinux.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="287" alt="WS08vsLinux" width="521" border="0" src="http://goxia.maytide.net/ftpupfiles/ServerCoreII7ServerCoreII7PHPFastCGIMySQ_138A2/WS08vsLinux_thumb.jpg" /></a></p><p>正如我之前提到的，此次使用 Server Core 主要还是为了让大家能够额外了解到 Core 的一些操作特性，在未来我还会与大家分享在 Windows Server 2008 上部署 II7、PHP FastCGI 等等的心得体会。如果您的工作领域涉及到 Web 服务，我想现在就选择升级到 WS08是非常明智的，不论你是运行 ASP 还是 ASP.NET（注意：Server Core 不支持 .NET），甚至是 PHP，WS08 都提供了更强劲的动力支持，它更加稳定、效率更高、更安全、针对资源的控制更为出色。很早以前我就开始了针对 WS08 系列产品的测试和评估，而这次当我怀着测试看看的心情接触了 WS08 的 Web 版本，我深深地被吸引了，要知道如果你仅仅只是为了部署一台用于 Web 服务的服务器，选择 WS08Web 意味着你拥有更大的剩余磁盘空间、减少更多不必要的角色和功能、更低的设备性能需求，更廉价得软件授权费用！从而在减少安全隐患的同时，还提升了运营系统的性能和稳定性，最终有效地降低了 TCO（总体拥有成本）。</p><p>下面让我们进入主题，跟随我一起来体验一下这让人振奋的过程。<br/>............<br/>
]]>
</description>
</item><item>
<link>https://sufan.maytide.net/read.php/1037.htm#blogcomment1456</link>
<title><![CDATA[[评论] [Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>许珈毓 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 24 Jul 2008 06:36:23 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/1037.htm#blogcomment1456</guid> 
<description>
<![CDATA[ 
	好文章,我第一个来支持....<br/>阿苏就是牛逼啊..
]]>
</description>
</item><item>
<link>https://sufan.maytide.net/read.php/1037.htm#blogcomment1457</link>
<title><![CDATA[[评论] [Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>等风的旗 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 24 Jul 2008 06:52:00 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/1037.htm#blogcomment1457</guid> 
<description>
<![CDATA[ 
	利用ServerCore做Web服务器确实不错，但是小问题。如果是节约成本出发，中小企业还不如使用Linux+Php+Mysql。这样比采购闭源的Win08更划算一些。另外，以windows为核心的Web服务器，恐怕也需要考虑杀毒软件吧<br/><br/>不过，如果企业环境里面已经有Win08，像楼主这么部署，一物多用也是好主意。
]]>
</description>
</item><item>
<link>https://sufan.maytide.net/read.php/1037.htm#blogcomment1458</link>
<title><![CDATA[[评论] [Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>匿名用户 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 26 Jul 2008 04:15:30 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/1037.htm#blogcomment1458</guid> 
<description>
<![CDATA[ 
	cmd&nbsp;&nbsp;+“Tab”补全命令是一个很实用的功能的。<br/>Power Shell ……一个全新的应用体验。<br/>win2008 CORE 是要分开还是结合“高端应用”和“易用性”
]]>
</description>
</item><item>
<link>https://sufan.maytide.net/read.php/1037.htm#blogcomment1464</link>
<title><![CDATA[[评论] [Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>spoker &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 29 Jul 2008 16:28:59 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/1037.htm#blogcomment1464</guid> 
<description>
<![CDATA[ 
	core 考虑到安装杀毒软件看来只能安装微软的那一大套<br/>或者使用以前的那一套dos 杀毒t<br/><br/>而且不能安装.net,&nbsp;&nbsp;&nbsp;&nbsp;使core无法使用poershell,<br/>很遗憾
]]>
</description>
</item><item>
<link>https://sufan.maytide.net/read.php/1037.htm#blogcomment1465</link>
<title><![CDATA[[评论] [Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 30 Jul 2008 04:07:27 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/1037.htm#blogcomment1465</guid> 
<description>
<![CDATA[ 
	to:spoker,Core 作为 Web Server Role 只是其中的一个，还有其他可选。当然如果你需要运行 DotNET 就需要完整的系统框架。从多元角度来看嘛！不要抓住一点来评判！
]]>
</description>
</item><item>
<link>https://sufan.maytide.net/read.php/1037.htm#blogcomment1468</link>
<title><![CDATA[[评论] [Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>happyfatboy &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 31 Jul 2008 07:01:33 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/1037.htm#blogcomment1468</guid> 
<description>
<![CDATA[ 
	照着帖子进行到<br/>&quot;之后根据自己的实际需要修改 php.ini。可以参考：FastCGI PHP on Windows Server 2003&quot;<br/>这里了<br/>然后参考另外的那片帖子修改了php.ini了<br/>可是我找不到fcgiext.ini啊<br/>而且运行<br/>“appcmd set config -section:system.webserver/fastcgi /+[fullpath=&#039;c:phpphp-cgi.exe&#039;]”的时候提示没有这个命令
]]>
</description>
</item><item>
<link>https://sufan.maytide.net/read.php/1037.htm#blogcomment1469</link>
<title><![CDATA[[评论] [Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 31 Jul 2008 11:13:46 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/1037.htm#blogcomment1469</guid> 
<description>
<![CDATA[ 
	to:happyfatboy,appcmd命令在IIS的安装目录下。
]]>
</description>
</item>
</channel>
</rss>