当前位置:首页 >> 电脑使用指南 >> 操作系统应用心得 >> Windows服务器 >>
Server Core上部署IIS7全程攻略来源:IT168 作者:gOxiA 编辑:帝国战猪 日期:08-11 点击次数: Server Core IIS7 Windows Server 2008 在进入重头戏前,我们忽略了什么?!"自动更新"服务,要知道系统没有打开自动更新是多么可怕的事情。键入"cscript c:\windowssystem32scregedit.wsf /au 4"即可打开自动更新,将结尾的"/au 4"改为"/au v"则可以看到当先的配置状态。(图6) 在 Server Core 下安装 IIS7 有两种方法,一个是使用"ocsetup"命令,而另外一个也就是网上轻易能查找到的"pkgmgr"方式,两者的区别我会在以后与大家详细探讨,而此次则以"pkgmgr"命令进行安装支持 CGI 的 IIS7。首先我们可以使用"oclist"命令来列出当前的角色功能安装状态。内容如下所示: Use the listed update names with Ocsetup.exe to install/uninstall a server role or optional feature. Adding or removing the Active Directory role with OCSetup.exe is not supported. It can leave your server in an unstable state. Always use DCPromo to install or uninstall Active Directory. ====================================== Microsoft-Windows-ServerCore-Package Not Installed:BitLocker Not Installed:BitLocker-RemoteAdminTool Not Installed:IIS-WebServerRole | |--- Not Installed:IIS-FTPPublishingService | | | |--- Not Installed:IIS-FTPServer | | | | |--- Not Installed:IIS-WebServer | | | |--- Not Installed:IIS-ApplicationDevelopment | | | | | |--- Not Installed:IIS-ASP | | | | | | | | |--- Not Installed:IIS-CGI | | | | | | | | |--- Not Installed:IIS-ISAPIExtensions | | | | | | | |--- Not Installed:IIS-ASP | | | | | | | | | | | | |--- Not Installed:IIS-ISAPIFilter | | | | | | | | |--- Not Installed:IIS-ServerSideIncludes | | | | | | | | |--- Not Installed:IIS-CommonHttpFeatures | | | | | |--- Not Installed:IIS-DefaultDocument | | | | | | | | |--- Not Installed:IIS-DirectoryBrowsing | | | | | | | | |--- Not Installed:IIS-HttpErrors | | | | | | | | |--- Not Installed:IIS-HttpRedirect | | | | | | | | |--- Not Installed:IIS-StaticContent | | | | | | | | |--- Not Installed:IIS-HealthAndDiagnostics | | | | | |--- Not Installed:IIS-CustomLogging | | | | | | | | |--- Not Installed:IIS-HttpLogging | | | | | | | | |--- Not Installed:IIS-HttpTracing | | | | | | | | |--- Not Installed:IIS-LoggingLibraries | | | | | | | | |--- Not Installed:IIS-ODBCLogging | | | | | | | | |--- Not Installed:IIS-RequestMonitor | | | | | | | | |--- Not Installed:IIS-Performance | | | | | |--- Not Installed:IIS-HttpCompressionDynamic | | | | | | | | |--- Not Installed:IIS-HttpCompressionStatic | | | | | | | | |--- Not Installed:IIS-Security | | | | | |--- Not Installed:IIS-BasicAuthentication | | | | | | | | |--- Not Installed:IIS-ClientCertificateMappingAuthentication | | | | | | | | |--- Not Installed:IIS-DigestAuthentication | | | | | | | | |--- Not Installed:IIS-IISCertificateMappingAuthentication | | | | | | | | |--- Not Installed:IIS-IPSecurity | | | | | | | | |--- Not Installed:IIS-RequestFiltering | | | | | | | |--- Not Installed:IIS-ASP | | | | | | | | | | | | |--- Not Installed:IIS-URLAuthorization | | | | | | | | |--- Not Installed:IIS-WindowsAuthentication | | | | | | | |--- Not Installed:IIS-WebServerManagementTools | | | |--- Not Installed:IIS-IIS6ManagementCompatibility | | | | | |--- Not Installed:IIS-LegacyScripts | | | | | | | | |--- Not Installed:IIS-Metabase | | | | | | | |--- Not Installed:IIS-FTPServer | | | | | | | | | | | |--- Not Installed:IIS-LegacyScripts | | | | | | | | | | | | |--- Not Installed:IIS-WMICompatibility | | | | | | | |--- Not Installed:IIS-LegacyScripts | | | | | | | | | | | | |--- Not Installed:IIS-ManagementScriptingTools | | | Not Installed:NetworkLoadBalancingHeadlessServer Not Installed:SNMP-SC Not Installed:TelnetClient Not Installed:WAS-WindowsActivationService | |--- Not Installed:WAS-ProcessModel | | | |--- Not Installed:IIS-ASP | | | | | |--- Not Installed:IIS-BasicAuthentication | | | | | |--- Not Installed:IIS-CGI | | | | | |--- Not Installed:IIS-ClientCertificateMappingAuthentication | | | | | |--- Not Installed:IIS-CustomLogging | | | | | |--- Not Installed:IIS-DefaultDocument | | | | | |--- Not Installed:IIS-DigestAuthentication | | | | | |--- Not Installed:IIS-DirectoryBrowsing | | | | | |--- Not Installed:IIS-HttpCompressionDynamic | | | | | |--- Not Installed:IIS-HttpCompressionStatic | | | | | |--- Not Installed:IIS-HttpErrors | | | | | |--- Not Installed:IIS-HttpLogging | | | | | |--- Not Installed:IIS-HttpRedirect | | | | | |--- Not Installed:IIS-HttpTracing | | | | | |--- Not Installed:IIS-IISCertificateMappingAuthentication | | | | | |--- Not Installed:IIS-IPSecurity | | | | | |--- Not Installed:IIS-ISAPIExtensions | | | | | |--- Not Installed:IIS-ASP | | | | | | | | |--- Not Installed:IIS-ISAPIFilter | | | | | |--- Not Installed:IIS-LoggingLibraries | | | | | |--- Not Installed:IIS-ODBCLogging | | | | | |--- Not Installed:IIS-RequestFiltering | | | | | |--- Not Installed:IIS-ASP | | | | | | | | |--- Not Installed:IIS-RequestMonitor | | | | | |--- Not Installed:IIS-ServerSideIncludes | | | | | |--- Not Installed:IIS-StaticContent | | | | | |--- Not Installed:IIS-URLAuthorization | | | | | |--- Not Installed:IIS-WindowsAuthentication | | | Not Installed:WindowsServerBackup |