怎么在Windows Server 2008 R2上安装IIS 7.5

介绍

这篇文章主要讲解了“怎么在Windows Server 2008 R2上安装IIS 7.5”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习”怎么在Windows Server 2008 R2上安装IIS 7.5”吧!

要求

<强>管理凭据

您必须是下列IIS管理角色的成员才能执行此过程:

<李>

Web服务器管理员

在Windows Server (R) 2008 R2上安装IIS 7.5

您可以使用用户界面(UI)或脚本来执行此过程。

<强>使用UI

<李>

单击<强>“开始”强,指向<强>“管理工具”强,然后单击<强>“服务器管理器”

<李>

在<强>“角色摘要" 中,单击<强>“添加角色”

<李>

使用<强>“添加角色”向导添加Web服务器角色。

怎么在Windows Server 2008 R2上安装IIS 7.5”>重要如果使用<强>“添加角色”</强>向导安装IIS,则只能采用默认安装,在这种安装方式下,只会安装最少的一组角色服务。如果需要其他IIS角色服务,例如<强>”应用程序开发”</强>或<强>“运行状况和诊断”</>强,请确保在向导的<>强”选择角色服务”</强>页中选中与这些功能关联的复选框。<p> <强>使用脚本</强> </p> <ul类= <李>

在脚本中键入以下命令:

<强> CMD/C/w PKGMGR开始。EXE/l:日志。etw/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;WAS-WindowsActivationService;WAS-ProcessModel;IIS-FTPServer;IIS-FTPSvc;IIS-FTPExtensibility;IIS-WebDAV;IIS-ASPNET;IIS-NetFxExtensibility;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-ManagementService;MicrosoftWindowsPowerShell

怎么在 Windows Server 2008 R2上安装IIS 7.5重要如果使用此脚本,将获得全功能版的 IIS 7 安装,即安装所有可用的功能包。如果有不需要的功能包,则应对脚本进行编辑,以便仅安装需要的功能包。

使用服务器核心安装在 Windows Server 2008 R2 上安装 IIS 7.5

如果要安装依赖于 .NET Framework 的 IIS 7 组件,则必须首先安装 .NET Framework。如果尚未安装 .NET Framework,则不会安装依赖 .NET Framework 的组件。

使用脚本安装 .NET Framework,并在服务器核心上完整地安装 IIS 7.5

  • 在脚本中键入以下命令:

    CMD/C START/w PKGMGR.EXE/l:日志。etw/单位: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; IIS-WMICompatibility; IIS-LegacyScripts; WAS-WindowsActivationService; WAS-ProcessModel; IIS-FTPServer; IIS-FTPSvc; IIS-FTPExtensibility; IIS-WebDAV; IIS-ASPNET; IIS-NetFxExtensibility; WAS-NetFxEnvironment; WAS-ConfigurationAPI; IIS-ManagementService; MicrosoftWindowsPowerShell; NetFx2-ServerCore; NetFx2-ServerCore-WOW64

<强>使用脚本在服务器核心上完整地安装IIS 7.5

<李>

在脚本中键入以下命令:

<强> CMD/C/w PKGMGR开始。EXE/l:日志。null

怎么在Windows Server 2008 R2上安装IIS 7.5