<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan's Blog]]></title> 
<link>http://goxia.maytide.net/index.php</link> 
<description><![CDATA[Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan's Blog]]></copyright>
<item>
<link>http://goxia.maytide.net/read.php/1358.htm</link>
<title><![CDATA[[IIS] HOWTO:在 IIS 6 中添加对 Silverlight 的支持]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Tue, 23 Feb 2010 03:21:04 +0000</pubDate> 
<guid>http://goxia.maytide.net/read.php/1358.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/IISHOWTOIIS6Silverlight_9F8A/silverlight_banner.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISHOWTOIIS6Silverlight_9F8A/silverlight_banner_thumb.png" border="0" alt="silverlight_banner" title="silverlight_banner" width="690" height="69" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Silverlight 相信对于微软爱好者来说并不陌生，简单讲 Silverlight 是一种新的 Web 呈现技术，能在各种平台上运行。借助该技术，您将拥有内容丰富、视觉效果绚丽的交互式体验，而且无论是在浏览器内、在多个设备上还是在桌面操作系统中，您都可以获得这种体验。Microsoft .NET Framework 3.0 中的呈现技术 XAML（可扩展应用程序标记语言）遵循 WPF（Windows Presentation Foundation），它是 Silverlight 呈现功能的基础。对 Silverlight 的解释引自《<a href="http://msdn.microsoft.com/zh-cn/library/bb190632.aspx" target="_blank">Silverlight 入门</a>》，如果您对该技术感兴趣可通过前面的链接获取相关的入门资讯。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 从 Windows Server 2008 内置的 IIS 7 开始，默认支持 Silverlight，我们能够直接在网站中放置 Silverlight 供用户使用，但是之前的版本如 Windows Server 2003 下的 IIS 6 则需要手工添加 Silverlight 的相关 MIME 类型，才能正确解释 Silverlight。为此，我们需要在 IIS 6 中添加以下相关的 MIME类型：</p><ul><li><strong><span style="background-color: #ffff00">.xaml&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/xaml+xml</span></strong></li><li><strong><span style="background-color: #ffff00">.xap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/x-silverlight-app</span></strong></li><li><strong><span style="background-color: #ffff00">.manifest&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/manifest</span></strong></li><li><strong><span style="background-color: #ffff00">.application&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/x-ms-application</span></strong></li><li><strong><span style="background-color: #ffff00">.xbap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/x-ms-xbap</span></strong></li><li><strong><span style="background-color: #ffff00">.deploy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/octet-stream</span></strong></li><li><strong><span style="background-color: #ffff00">.xps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/vnd.ms-xpsdocument</span></strong></li></ul><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 操作过程可以参考下图：</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISHOWTOIIS6Silverlight_9F8A/setup_iis_mime.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISHOWTOIIS6Silverlight_9F8A/setup_iis_mime_thumb.png" border="0" alt="setup_iis_mime" title="setup_iis_mime" width="604" height="441" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果希望了解如何通过脚本来为 IIS 6 自动添加 MIME 类型，可以参考：<a href="http://msdn.microsoft.com/en-us/library/ms752346.aspx" target="_blank">How to: Configure IIS 5.0 and IIS 6.0 to Deploy WPF Applicaitions</a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 最后推荐几个 Sliverlight 学习站点：</p><p><a href="http://silverlight.net/" target="_blank">The Official Microsoft Silverlight Site</a></p><p><a href="http://silverlight.cn/" target="_blank">Silverlight 中文社区</a></p><p><a href="http://www.slfans.com/" target="_blank">Silverlight 爱好者</a></p><p><a href="http://www.silverlightchina.net/" target="_blank">银光中国 &ndash; Silverlight 资源社区</a></p><p><a href="http://wpfe.cnblogs.com/" target="_blank">博客园 &ndash; Silverlight 学习与研究</a></p><br/>Tags - <a href="http://goxia.maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="http://goxia.maytide.net/go.php/tags/silverlight/" rel="tag">silverlight</a>
]]>
</description>
</item><item>
<link>http://goxia.maytide.net/read.php/1284.htm</link>
<title><![CDATA[[IIS] Microsoft Web Platform Installer]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Fri, 21 Aug 2009 03:45:14 +0000</pubDate> 
<guid>http://goxia.maytide.net/read.php/1284.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/msweblogo.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/msweblogo_thumb.png" border="0" alt="msweb-logo" title="msweb-logo" width="180" height="25" /></a>&nbsp; Microsoft Web Platform Installer</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft Web Platform installer 是一个款免费的工具，使用它可以轻松地为我们安装和部署 Web 平台以及应用。gOxiA 在测试评估 Windows Server 2008 R2 时对该软件进行了体验，效果令人称道！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 刚才说过 Web Platform Installer 可以安装和部署 Web 平台和应用，有图有真相！这里就不再文字复述，而且 Web Platform Installer 也不断再丰富其资源。</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/Windows_Web_App_gallery.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/Windows_Web_App_gallery_thumb.png" border="0" alt="Windows_Web_App_gallery" title="Windows_Web_App_gallery" width="704" height="77" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 下面是支持的 Web Applications，我们知道近几年微软和 PHP 的关系非常微妙，微软在全力地支持 PHP，在 Windows 上的 PHP 性能指标甚至已经超越了它的原生平台。所以，在 Web Applications 下除了常见的 .NET 程序外，还包含了一些 PHP 程序，其中就有我们常见的 Blog 程序 &mdash; Wordpess。Web Applications 目前涉及到了 6大类，能够满足不同人群的需要。</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/web_applications.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/web_applications_thumb.png" border="0" alt="web_applications" title="web_applications" width="604" height="442" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 而下面这张图展示的受支持的 Web Platform，不过发现并为提供 MySQL 的支持，要知道 PHP+MySQL 可是黄金组合，不过发现微软提供了 Microsoft SQL Server Driver for PHP 1.0，看来有意要将 PHP+SQLServer 凑成一对儿！要想通过 Microsoft Platform Installer 来安装 MySQL 恐怕近期内是不用想了，貌似 MySQL 并不愿意合作！所以如果你要使用 MySQL 还是乖乖的先单独下载和安装吧。不过即使如此，大家也不必担心！一旦使用 Microsoft Platform Installer 来安装涉及到 MySQL 的 Web 应用程序时 Microsoft Platform Installer 会提供相关的数据库配置向导来协助你完成 web 应用的安装。</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/web_platform.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/web_platform_thumb.png" border="0" alt="web_platform" title="web_platform" width="604" height="440" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 说了这么多好的，也来揭揭短！Microsoft Platform Installer 目前的下载速度真不如微软其他的网站，不知道是不是最近国际光缆故障问题所致！这一点 gOxiA 保留态度，以观后效，嘿嘿！此外提供的 Web Applications 还是不够海量，起码国内的程序还没一个能看到的，也许微软对其要求比较严格，适当的 Open 一下，重视一下中文地域用户还是很有必要的！或许是国内的 Web 开发者们对此不屑一顾，因为在 Microsoft Platform Installer 网站上对开发者们提供了登录入口！希望国内的 Web Developers 不要错失良机哦！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft Web Platform Installer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows Web App Gallery</p><p><a href="http://www.microsoft.com/web/downloads/platform.aspx" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/mainwebpidownload.jpg" border="0" alt="main-webpi-download" title="main-webpi-download" width="340" height="235" /></a> <a href="http://www.microsoft.com/web/gallery/" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/mainwebappdownload.jpg" border="0" alt="main-webapp-download" title="main-webapp-download" width="340" height="235" /></a></p><br/>Tags - <a href="http://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="http://goxia.maytide.net/go.php/tags/web/" rel="tag">web</a> , <a href="http://goxia.maytide.net/go.php/tags/platform/" rel="tag">platform</a> , <a href="http://goxia.maytide.net/go.php/tags/installer/" rel="tag">installer</a> , <a href="http://goxia.maytide.net/go.php/tags/app/" rel="tag">app</a> , <a href="http://goxia.maytide.net/go.php/tags/gallery/" rel="tag">gallery</a> , <a href="http://goxia.maytide.net/go.php/tags/php/" rel="tag">php</a> , <a href="http://goxia.maytide.net/go.php/tags/mysql/" rel="tag">mysql</a>
]]>
</description>
</item><item>
<link>http://goxia.maytide.net/read.php/1283.htm</link>
<title><![CDATA[[IIS] 在 IIS7 上配置 FTP7 使用 IIS管理凭据 方式进行验证]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 20 Aug 2009 05:50:35 +0000</pubDate> 
<guid>http://goxia.maytide.net/read.php/1283.htm</guid> 
<description>
<![CDATA[ 
	<p><img src="http://goxia.maytide.net/upfiles/IIS7Logo.jpg" border="0" width="640" height="188" /></p><p><a href="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb.png"><img src="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb_thumb.png" border="0" alt="WS08-R2_v_rgb" title="WS08-R2_v_rgb" width="240" height="75" /></a> 在 IIS7 上配置 FTP7 使用 IIS管理凭据 方式进行验证</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在 Windows Server 2008 R2 发布后，gOxiA 就开始着手于相关的测试和评估。IIS 是重点测试和评估之一！而今天与大家分享的是如何在&nbsp;&nbsp;IIS7 上配置 FTP7 使用 IIS管理凭据 方式进行身份验证。提到 MSFTP 服务，恐怕知道的人多，但是真正使用的人少！特别是 IDC 环境下多数会选择 Serv-U FTP Server，gOxiA 从 Windows Server 2008 开始就不再使用 Serv-U，原因很简单！Serv-U 不是免费的，此次 Serv-U 默认存在安全隐患。况且开放 FTP 也是为了方便自己维护网站，下载上传资料用！所以用系统自身的软件不是更好！维护也相对容易很多！但是，使用过 MSFTP 的朋友知道从&nbsp;&nbsp;FTP7 开始，微软才为 MSFTP 设计提供了对非 Windows 身份验证功能的支持，也就是说如果我们要访问 MSFTP 则不必再在系统里添加用户帐号，而可以使用 IIS 来统一管理单独的凭据！现在我们再也不用担心，使用 MSFTP 会存在用户帐号安全隐患的问题。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这是一篇 Step by Step，所以其中涉及到的相关原理及知识内容不作过多介绍！我们将通过 IIS7 提供的 IisManagerAuth 身份验证模块来实现 IIS管理凭据的 FTP 帐号。具体步骤如下：</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在开始配置之前，我们需要修改相关目录的目录安全权限，这一步骤是必须的，否则在登录 FTP 的时候会出现错误。如下图所示，我们会看到由于权限不足导致无法读取配置文件的错误提示。而无权限读取的文件是位于 inetsrv＼config 下的 redirection.config 文件。经过 gOxiA 的测试发现即使为该文件添加了相应的权限但仍提示登录失败，最终要配置 config 目录权限，赋予 Network Service（FTP7 进程的默认帐户）有读取权限后才能正常登录。</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISIIS7FTP7IIS_FEB1/msftp_loginfail.png" target="_blank"><img style="display: inline; border-width: 0px" src="http://goxia.maytide.net/ftpupfiles/IISIIS7FTP7IIS_FEB1/msftp_loginfail_thumb.png" border="0" alt="msftp_loginfail" title="msftp_loginfail" width="604" height="394" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;为了简单的演示目录权限的设置过程，gOxiA 参考了 IIS.net 中相关文章的命令行，其中涉及到的 cacls 可以直接运行就可以得到参数帮助。要执行的命令行如下：</p><p><div class="code">cacls c:＼windows＼system32＼inetsrv＼config /G &quot;Network Service&quot;:R /E</div></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;配置了 config 目录权限后，请确保 &ldquo;Network Service&rdquo;对该目录下的 administration.config 和 redirection.config 文件有读取权限，否则请执行如下命令行：</p><p><div class="code">cacls c:＼windows＼system32＼inetsrv＼config＼administration.config /G &quot;Network Service&quot;:R /E</div></p><p><div class="code">cacls c:＼windows＼system32＼inetsrv＼config＼redirection.config /G &quot;Network Service&quot;:R /E</div></p><p><a href="http://goxia.maytide.net/ftpupfiles/IISIIS7FTP7IIS_FEB1/cacls_config.png" target="_blank"><img style="display: inline; border-width: 0px" src="http://goxia.maytide.net/ftpupfiles/IISIIS7FTP7IIS_FEB1/cacls_config_thumb.png" border="0" alt="cacls_config" title="cacls_config" width="604" height="385" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;之后创建一个 FTP 的默认目录，注意请添加&ldquo;Network Service&rdquo;有完全控制的权限。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下面，我们开始配置 IIS7，创建一个 FTP 站点，为其启用 IisManagerAuth，并创建一个 IIS管理凭据的帐户，使其具备 FTP 相应的访问权限。<br/>............<br/><br/>Tags - <a href="http://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="http://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="http://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="http://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="http://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="http://goxia.maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="http://goxia.maytide.net/go.php/tags/7/" rel="tag">7</a> , <a href="http://goxia.maytide.net/go.php/tags/ftp/" rel="tag">ftp</a> , <a href="http://goxia.maytide.net/go.php/tags/7.5/" rel="tag">7.5</a> , <a href="http://goxia.maytide.net/go.php/tags/iismanagerauth/" rel="tag">iismanagerauth</a> , <a href="http://goxia.maytide.net/go.php/tags/cacls/" rel="tag">cacls</a> , <a href="http://goxia.maytide.net/go.php/tags/iis%25E7%25AE%25A1%25E7%2590%2586%25E5%2587%25AD%25E6%258D%25AE/" rel="tag">iis管理凭据</a>
]]>
</description>
</item><item>
<link>http://goxia.maytide.net/read.php/1162.htm</link>
<title><![CDATA[[IIS MIME] 在 IIS 下添加 FLV 类型文件的支持]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 28 Feb 2009 08:13:17 +0000</pubDate> 
<guid>http://goxia.maytide.net/read.php/1162.htm</guid> 
<description>
<![CDATA[ 
	<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FLV 即 Flash Video（Flash 视频），目前主要用于一些在线视频网站，当然也有一些个人网站或企业网站使用到该格式，但是默认情况下 IIS 并未对该格式提供支持，所以系统管理员需要对 IIS 的 MIME 配置进行修改，添加 FLV 文件类型。为此，我们需要执行如下的步骤：</p><ul><li>打开&ldquo;Internet 信息服务(IIS)管理器&rdquo;，选中当前 IIS 服务器，鼠标右键单击&ldquo;属性&rdquo;，之后单击&ldquo;MIME 类型&rdquo;； </li><li>在&ldquo;MIME 类型&rdquo;配置窗体中单击&ldquo;新建&rdquo;； </li><li>在&ldquo;扩展名&rdquo;中填入&ldquo;flv&rdquo;，在&ldquo;MIME 类型&rdquo;中填入&ldquo;flv-application/octet-stream&rdquo;并单击&ldquo;确定&rdquo;； </li><li>完成添加后，重新启动 IIS 即可！ </li></ul><p><a href="http://goxia.maytide.net/ftpupfiles/IISMIMEIISFLV_E419/FLV_via_IIS.png"><img style="display: inline; border-width: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMIMEIISFLV_E419/FLV_via_IIS_thumb.png" border="0" alt="FLV_via_IIS" title="FLV_via_IIS" width="604" height="554" /></a></p><br/>Tags - <a href="http://goxia.maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="http://goxia.maytide.net/go.php/tags/mime/" rel="tag">mime</a>
]]>
</description>
</item><item>
<link>http://goxia.maytide.net/read.php/1088.htm</link>
<title><![CDATA[[IIS7] 为 FTP7 RTM 配置 Windows Firewall]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 01 Nov 2008 02:10:16 +0000</pubDate> 
<guid>http://goxia.maytide.net/read.php/1088.htm</guid> 
<description>
<![CDATA[ 
	<img alt="" width="640" height="188" src="/upfiles/IIS7Logo.jpg" /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FTP 应用之所以回归 Microsoft FTP Publishing Service 主要的原因是使用了 IIS7，在此介绍一下！当前的网站是建立在 Windows Server 2008 Web 之上的。虽然网站主要使用 PHP 脚本，但是 Web 平台我依旧钟情于 IIS，特别是全新的 II7 。不知道长期关注本 Blog 的朋友是否发现访问速度有所提升呢？本站依靠 IIS7 的 PHP FastCGI 技术，有效的将 PHP 脚本解析速度足足提升了一倍还多。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 早先本打算使用 Windows Server 2008 Web RTM 版 IIS7 内置的 FTP 服务，但是发现该 FTP 服务器版本是 6.0，而 FTP7.0 RTM 是之后发布的，到目前为止 FTP7.0 还没有发布中文版。即使如此，我还是决定安装 Microsoft FTP Publishing Service for IIS7（FTP7.0），毕竟 FTP 主要是自己更新网页上传图片使用，如果再单独安装第三方的 FTP Server，除了资源上的占用和兼容性的问题，恐怕还要多操心安全问题了！<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FTP7 的安装很简单，从 <a target="_blank" href="http://www.microsoft.com/downloads">Microsoft Download Center</a> 下载了 <a target="_blank" href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d2eccf14a-5c4f-4cfb-9153-cfe1204b346a%26DisplayLang%3den">Microsoft FTP Service for IIS 7.0</a>，根据向导一路回车便完成了安装。建立了一个 FTP 站点，本地进行了连接测试。之后通过 ISA 将其发布出去，问题来了！外部的用户无法访问，检查发现 FTP7 并未在 Windows Firewall 中添加通过策略，于是手工增加 TCP 21 Port ！外部访问异常，通过 FTP 客户端连接登录偶尔出现无法列表目录，配置 Windows Live Write 的图片上传时，无法通过 FTP 浏览目录。经测试发现是被动模式连接失败，无法打开被动端口。<br/>............<br/><br/>Tags - <a href="http://goxia.maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="http://goxia.maytide.net/go.php/tags/7/" rel="tag">7</a> , <a href="http://goxia.maytide.net/go.php/tags/ftp/" rel="tag">ftp</a> , <a href="http://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="http://goxia.maytide.net/go.php/tags/firewall/" rel="tag">firewall</a> , <a href="http://goxia.maytide.net/go.php/tags/advfirewall/" rel="tag">advfirewall</a>
]]>
</description>
</item><item>
<link>http://goxia.maytide.net/read.php/1037.htm</link>
<title><![CDATA[[Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 24 Jul 2008 06:30:07 +0000</pubDate> 
<guid>http://goxia.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>http://goxia.maytide.net/read.php/1035.htm</link>
<title><![CDATA[[IIS7] IIS7安装场景对照表]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Tue, 22 Jul 2008 05:58:02 +0000</pubDate> 
<guid>http://goxia.maytide.net/read.php/1035.htm</guid> 
<description>
<![CDATA[ 
	<strong><span style="font-size: medium">Default Server Install Components</span></strong> <p></p><table border="0" cellspacing="0" cellpadding="2" width="550"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr></tbody></table><p><strong><em><span style="font-size: medium">ASP.NET Workload Server Options</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="552"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="275" valign="top">ASP.NET</td><td width="275" valign="top">IIS-ASPNET</td></tr><tr><td width="275" valign="top">.NET Extensibility</td><td width="275" valign="top">IIS-NetFxExtensibility</td></tr><tr><td width="275" valign="top">ISAPI Filters</td><td width="275" valign="top">IIS-ISAPIFilter</td></tr><tr><td width="275" valign="top">ISAPI Extensions</td><td width="275" valign="top">IIS-ISAPIExtensions</td></tr></tbody></table><p><strong><em><span style="font-size: medium">Class ASP Workload Server Options</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="552"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="275" valign="top">ASP</td><td width="275" valign="top">IIS-ASP</td></tr><tr><td width="275" valign="top">ISAPI Extensions</td><td width="275" valign="top">IIS-ISAPIExtensions</td></tr></tbody></table><p><strong><em><span style="font-size: medium">FastCGI Workload Server Options</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="552"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="275" valign="top">CGI</td><td width="275" valign="top">IIS-CGI</td></tr></tbody></table><p><strong><em><span style="font-size: medium">IIS Managed Modules and .NET Extensibility Server Workload</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="552"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="275" valign="top">.NET Extensibility</td><td width="275" valign="top">IIS-NetFxExtensibility</td></tr></tbody></table><p><strong><em><span style="font-size: medium">Full Server Install Components</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="587"><tbody><tr><td width="297" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="288" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="297" valign="top">Internet Information Services</td><td width="288" valign="top">IIS-WebServerRole</td></tr><tr><td width="297" valign="top">World Wide Web Services</td><td width="288" valign="top">IIS-WebServer</td></tr><tr><td width="297" valign="top">Common HTTP Features</td><td width="288" valign="top">IIS-CommonHttpFeatures</td></tr><tr><td width="297" valign="top"><p>Static Content</p></td><td width="288" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="297" valign="top"><p>Default Document</p></td><td width="288" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="297" valign="top"><p>Directory Browsing</p></td><td width="288" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="297" valign="top"><p>HTTP Errors</p></td><td width="288" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="297" valign="top">HTTP Redirection</td><td width="288" valign="top">IIS-HttpRedirect</td></tr><tr><td width="297" valign="top">Application development</td><td width="288" valign="top">IIS-ApplicationDevelopment</td></tr><tr><td width="297" valign="top">ASP.NET</td><td width="288" valign="top">IIS-ASPNET</td></tr><tr><td width="297" valign="top">.NET Extensibility</td><td width="288" valign="top">IIS-NetFxExtensibility</td></tr><tr><td width="297" valign="top">ASP</td><td width="288" valign="top">IIS-ASP</td></tr><tr><td width="297" valign="top">CGI</td><td width="288" valign="top">IIS-CGI</td></tr><tr><td width="297" valign="top">ISAPI Extensions</td><td width="288" valign="top">IIS-ISAPIExtensions</td></tr><tr><td width="297" valign="top">ISAPI Filters</td><td width="288" valign="top">IIS-ISAPIFilter</td></tr><tr><td width="297" valign="top">Ser-Side Includes</td><td width="288" valign="top">IIS-ServerSideInclude</td></tr><tr><td width="297" valign="top">Health and diagnostics</td><td width="288" valign="top">IIS-HealthAndDiagnostics</td></tr><tr><td width="297" valign="top"><p>HTTP Logging</p></td><td width="288" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="297" valign="top"><p>Logging Tools</p></td><td width="288" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="297" valign="top"><p>Request Monitor</p></td><td width="288" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="297" valign="top">Tracing</td><td width="288" valign="top">IIS-HttpTracing</td></tr><tr><td width="297" valign="top">Custom Logging</td><td width="288" valign="top">IIS-CustomLogging</td></tr><tr><td width="297" valign="top">ODBC Logging</td><td width="288" valign="top">IIS-ODBCLogging</td></tr><tr><td width="297" valign="top">Security</td><td width="288" valign="top">IIS-Security</td></tr><tr><td width="297" valign="top">Basic Authentication</td><td width="288" valign="top">IIS-BasicAuthenticaition</td></tr><tr><td width="297" valign="top">Windows Authentication</td><td width="288" valign="top">IIS-WindowsAuthentication</td></tr><tr><td width="297" valign="top">Digest Authentication</td><td width="288" valign="top">IIS-DigestAuthentication</td></tr><tr><td width="297" valign="top">Client Certificate Mapping Authentication</td><td width="288" valign="top">IIS-ClientCertificateMappingAuthentication</td></tr><tr><td width="297" valign="top">IIS Client Certificate Mapping Authentication</td><td width="288" valign="top">IIS-IISCertificateMappingAuthentication</td></tr><tr><td width="297" valign="top">URL Authorization</td><td width="288" valign="top">IIS-URLAuthorization</td></tr><tr><td width="297" valign="top"><p>Request Filtering</p></td><td width="288" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="297" valign="top">IP and Domain Restrictions</td><td width="288" valign="top">IIS-IPSecurity</td></tr><tr><td width="297" valign="top">Performance</td><td width="288" valign="top">IIS-Performance</td></tr><tr><td width="297" valign="top"><p>Static Content Compression</p></td><td width="288" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="297" valign="top">Dynamic Content Compression</td><td width="288" valign="top">IIS-HttpCompressionDynamic</td></tr><tr><td width="297" valign="top">Management Tools</td><td width="288" valign="top">IIS-WebServerManagementTools</td></tr><tr><td width="297" valign="top"><p>IIS Management Console</p></td><td width="288" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="297" valign="top">IIS Management Scripts and Tools</td><td width="288" valign="top">IIS-ManagementScriptingTools</td></tr><tr><td width="297" valign="top">Management Service</td><td width="288" valign="top">IIS-ManagementService</td></tr><tr><td width="297" valign="top">IIS6 Management Compatibility</td><td width="288" valign="top">IIS-IIS6ManagementCompatibility</td></tr><tr><td width="297" valign="top">IIS Metabase Compatibility</td><td width="288" valign="top">IIS-Metabase</td></tr><tr><td width="297" valign="top">IIS 6 WMI Compatibility</td><td width="288" valign="top">IIS-WMICompatibility</td></tr><tr><td width="297" valign="top">IIS 6 Scripting Tools</td><td width="288" valign="top">IIS-LegacyScripts</td></tr><tr><td width="297" valign="top">IIS 6 Management Console</td><td width="288" valign="top">IIS-LegacySnapin</td></tr><tr><td width="297" valign="top">FTP Publishing Service</td><td width="288" valign="top">IIS-FTPPublishingService</td></tr><tr><td width="297" valign="top">FTP Server</td><td width="288" valign="top">IIS-FTPServer</td></tr><tr><td width="297" valign="top">FTP Management Console</td><td width="288" valign="top">IIS-FTPManagemnt</td></tr><tr><td width="297" valign="top">Windows Process Activation service</td><td width="288" valign="top">WAS-WindowsActivationService</td></tr><tr><td width="297" valign="top">Process Model</td><td width="288" valign="top">WAS-ProcessModel</td></tr><tr><td width="297" valign="top">.NET Environment</td><td width="288" valign="top">WAS-NetFxEnvironment</td></tr><tr><td width="297" valign="top">Configiuration APIs</td><td width="288" valign="top">WAS-ConfigurationAPI</td></tr></tbody></table>
]]>
</description>
</item><item>
<link>http://goxia.maytide.net/read.php/1034.htm</link>
<title><![CDATA[[IIS7] 脚本方式安装 IIS7]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 19 Jul 2008 12:39:23 +0000</pubDate> 
<guid>http://goxia.maytide.net/read.php/1034.htm</guid> 
<description>
<![CDATA[ 
	使用此脚本将完整安装的 IIS，并可根据自己的需要进行编辑以安装需要的功能包。注意该脚本命令行不支持 Server Core 下的 II7 安装，如需 Server Core 下的完整安装脚本请访问：<a href="http://goxia.maytide.net/read.php/1033.htm">在 Server Core 下执行 IIS7 的完整安装</a>，因为 Server Core 不支持 .Net Framework，所以 IIS7 也就无法支持 DotNet。<br /><span style="background-color: #ffff00">start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI<br /></span>而下面的脚本则进行 IIS7 的默认安装，即最小化安装。<br /><span style="background-color: #ffff00">start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel</span><br />注意：以上脚本中均不包含换行。 <p></p>
]]>
</description>
</item><item>
<link>http://goxia.maytide.net/read.php/1033.htm</link>
<title><![CDATA[[Server Core + IIS7] 在 Server Core 下执行 IIS7 的完整安装]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 19 Jul 2008 05:32:35 +0000</pubDate> 
<guid>http://goxia.maytide.net/read.php/1033.htm</guid> 
<description>
<![CDATA[ 
	执行如下命令：<br /><br /><span style="font-size: small; background-color: #ffff00">start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IISStaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IISHttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IISHttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IISCustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IISWindowsAuthentication; <br />IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IISRequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IISHttpCompressionDynamic;IIS-WebServerManagementTools;IISManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IISWMICompatibility;IIS-LegacyScripts;IIS-FTPPublishingService;IIS-FTPServer;WASWindowsActivationService;WAS-ProcessModel</span><br /><span style="color: #ff6600"><br />注意：中间没有换行！</span>
]]>
</description>
</item><item>
<link>http://goxia.maytide.net/read.php/1030.htm</link>
<title><![CDATA[[IIS7] FastCGI PHP on Windows Server 2003]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Mon, 14 Jul 2008 13:57:38 +0000</pubDate> 
<guid>http://goxia.maytide.net/read.php/1030.htm</guid> 
<description>
<![CDATA[ 
	<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 微软近来对 PHP 的支持尤为突出，最近才发布的 Expression Studio 2 中的 Expression Web 2 就直接提供了对 PHP 的支持，而早些时候发布的 FastCGI RTM ，使 PHP 在 Windows&nbsp; 的 IIS 平台上的执行效率大大提高，并且内置在了 Windows Server 2008 中。新加坡一家公司曾经测试在 Windows 的 IIS 平台上运行 PHP，执行效率足足提高了 130% 以上，这是一个惊人的数字。 <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FastCGI 除了支持 Windows Server 2008 还支持 Windows Server 2003，下面是 FastCGI 的原文介绍： <br /><em>Overview <br />The FastCGI Extension for IIS 6.0 enables popular application frameworks that support FastCGI protocol to be hosted on the IIS web server in a high-performance and reliable way. FastCGI provides a high-performance alternative to the Common Gateway Interface (CGI), a standard way of interfacing external applications with Web servers that has been supported as part of the IIS feature-set since the very first release. <br />CGI programs are executables launched by the web server for each request in order to process the request and generate dynamic responses that are sent back to the client. Because many of these frameworks do not support multi-threaded execution, CGI enables them to execute reliably on IIS by executing exactly one request per process. Unfortunately, it provides poor performance due to the high cost of starting and shutting down a process for each request. <br />FastCGI addresses the performance issues inherent to CGI by providing a mechanism to reuse a single process over and over again for many requests. Additionally, FastCGI maintains compatibility with non-thread-safe libraries by providing a pool of reusable processes and ensuring that each process will only handle one request at a time. <br />For additional support information, go to </em><a href="http://support.microsoft.com"><em>http://support.microsoft.com</em></a><em>. <br />Features <br />The Microsoft FastCGI Extension for IIS&nbsp; provides full support for hosting and executing FastCGI enabled applications on IIS in high performance and reliable way. <br />Some of the important features provided in this release of FastCGI Extension are listed below: <br />Reliable hosting of non thread-safe applications (such as PHP) in FastCGI mode by enforcing single request concurrency per FastCGI process <br />Support for hosting of FastCGI application frameworks on shared servers by providing necessary configurability. <br />Rich set of configuration options for tweaking performance of FastCGI extension and FastCGI processes. <br />The following list describes the most important changes since the Go Live release: <br />Changes to fcgiext.ini take effect without restarting web service process <br />When any configuration change is made to fcgiext.ini file the change is picked up by the FastCGI Extension right away, without any need to restart the Web Server process. Because of that it is recommended to use the configuration script (fcgiconfig.js) included in this release instead of the one provided with Go Live release. The configuration script that was included with Go Live release recycled the application pool or restarted the web service every time a configuration change was made. It is not necessary to perform these operations anymore, so the application pool recycling functionality has been removed from the configuration script. <br />RapidFailsPerMinute configuration setting can be used to control Rapid Failure Protection mode <br />By default the FastCGI extension goes into Rapid Failure Protection mode, if it encounters more than 10 failures per minute in the FastCGI process pool. The RapidFailsPerMinute setting can be used to specify the number of failures per minute that would trigger Rapid Failure Protection mode. <br />Configuration script (fcgiconfig.js) can re-create IIS script mappings from fcgiext.ini file <br />The new command &ldquo;-syncini&rdquo; has been added to fcgiconfig.js to allow for re-creation of IIS script mappings by using FastCGI process pool configuration information available in the fcgiext.ini file. For example this command can be used in situations when the FastCGI extension is un-installed and then re-installed, since all script mappings are removed during un-install. <br />The following bugs have been fixed since Go Live release: <br />Responses with empty header values caused the FastCGI extension to fail response processing <br />The status codes logged by the FastCGI extension may be different from what was sent to the client <br />On 64 bit machines with Enable32BitAppOnWin64 set, fcgiext.dll would look for configuration in windowssyswow64inetsrv instead of windowssystem32inetsrv <br />Stability under heavy load has been improved <br />Benefits <br />Most applications built to for IIS take advantage of the native, multi-threaded extensibility model of IIS. Many popular applications, particularly those written or originally designed for Linux, are not multi-threaded, and instead take a multi-process approach to concurrency. While the PHP engine itself is multi-thread capable, many of the popular PHP extensions are not, requiring a single concurrent request guarantee to operate reliably. This forces the use of CGI and results in poor performance on the Windows platform. FastCGI helps these application frameworks to achieve improved performance on Windows over CGI, while allowing stable operation in production environments. <br />Requirements <br />To use FastCGI extension, you must have one of the following operating systems with IIS installed: <br />Windows Server 2003 SP2 (IIS 6.0) <br />Windows Server 2003 x64 edition (IIS6.0)</em> <br />下载地址：<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2d481579-9a7c-4632-b6e6-dee9097f9dc5&amp;displaylang=en" target="_blank">FastCGI Extension for Internet Information Services 6.0</a> <br />上述介绍原文地址：<a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;g=6&amp;i=1521" target="_blank">FastCGI Extension for IIS6.0 - RTM</a> <br />FastCGI 在 Windows Server 2003 上的安装非常简单，一路 Next 即可完成。而今天的主题则是与大家分享在 Windows Server 2003 上配置 PHP 的 FastCGI 模式。与以往的 PHP 常规配置不同，PHP 使用 FastCGI 来解释脚本，所以我们将会使用 fcgiext.dll 来解释 PHP，之后我们便需要编写 FastCGI 的配置文件（FCGIEXT.ini）使 PHP 与之集成。具体操作步骤如下： <br />1. 运行 Inetmgr.exe 启动 IIS 管理器； <br />2. 进入&ldquo;网站&rdquo;属性（如果只希望为某个站点启用 FastCGI PHP 支持，则需要单独配置该站点）； <br />3. 切换到&ldquo;主目录&rdquo;配置页，并单击&ldquo;配置&rdquo;进入&ldquo;应用程序配置&rdquo;； <br />4. 在&ldquo;影射&rdquo;配置下单击&ldquo;添加&rdquo;创建一个应用程序扩展； <br />5. 在&ldquo;可执行文件&rdquo;中键入用于解释 PHP 脚本的 FastCGI 地址：&ldquo;C:WINDOWSsystem32inetsrvfcgiext.dll&rdquo;，&ldquo;限制为&rdquo;指定只允许&ldquo;GET,HEAD,POST&rdquo;。 <br /><a href="http://goxia.maytide.net/ftpupfiles/IIS7FastCGIPHPonWindowsServer2003_134A0/image.png"><img style="border: 0px" src="http://goxia.maytide.net/ftpupfiles/IIS7FastCGIPHPonWindowsServer2003_134A0/image_thumb.png" border="0" alt="image" width="504" height="414" /></a> <br />至此就完成了应用程序影射的添加。 <br />之后，编辑 PHP.ini 文件，配置如下参数： <br />1. fastcgi.impersonate = 1 <br />2. cgi.fix_pathinfo = 1 <br />3. cgi.force_redirect = 0 <br />完成后，将 PHP.ini 拷贝到 Windows 目录，或者在之后的 FCGIEXT.ini 配置 PHP.ini 的位置。 <br />最后，编辑 FCGIEXT.ini 文件，在&ldquo;[Types]&rdquo;字段下添加如下内容： <br />php=c:&#92;php&#92;php-cgi.exe <br />Arguments=-c c:&#92;windows&#92;php.ini <br />至此就完成了整个配置，我们可以编写一个 PHP 测试脚本，内容如下： <br />&lt;? phpinfo (); ?&gt; <br />打开浏览器来测试一下吧！ <br /><a href="http://goxia.maytide.net/ftpupfiles/IIS7FastCGIPHPonWindowsServer2003_134A0/image_3.png"><img style="border: 0px" src="http://goxia.maytide.net/ftpupfiles/IIS7FastCGIPHPonWindowsServer2003_134A0/image_thumb_3.png" border="0" alt="image" width="504" height="487" /></a></p>
]]>
</description>
</item>
</channel>
</rss>