下载《Windows Server Core配置和管理指南第2版》请点此下载

The Core

Windows Server Core:Simple is Bueatiful

博客园 首页 新随笔 联系 订阅 管理

1. 对于默认安装,请在命令行提示符下键入以下命令,然后按 Enter:

start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel

2. 对于包括所有选项的安装,请在命令行提示符下键入以下命令,然后按 Enter:

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;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-ManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-FTPPublishingService;IIS-FTPServer;WAS-WindowsActivationService;WAS-ProcessModel

3. 若要卸载 Web 服务器 (IIS) 角色,请使用如下命令:

start /w pkgmgr /uu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel

注意 :由于在核心模式下无法运行.NET FrameWork,所以在核心安装模式下的IIS并不支持ASP.NET程序的运行环境。

posted on 2009-08-06 15:56  杨路  阅读(894)  评论(0编辑  收藏  举报
Creative Commons License
本作品采用知识共享署名-相同方式共享 2.5 中国大陆许可协议进行许可。