installing iis 7
DESCRIPTION
IIS7 installationsTRANSCRIPT
-
7/16/12 Installing IIS 7.0 on Windows Server 2008
1/3technet.microsoft.com/en-us/library/cc771209(d=printer,v=ws.10).aspx
Important
Installing IIS 7.0 on Windows Server2008
Applies To: Windows Server 2008
By default, IIS 7 is not installed on Windows Server 2008. You can install IIS by using the Add Roleswizard in Server Manager or by using the command line.
When you install Windows Server 2008, you can perform a Server Core installation, which installs aminimal server installation of Windows Server 2008. For example, with this type of installation thetraditional Windows interface is not installed, so you must configure the server from the commandprompt.
If you use a Server Core installation, you cannot install some modules that rely on the .NET Frameworkor managed code. For this reason, we also provide procedures that show how to install IIS 7 on aWindows Server 2008 Server Core installation.
Requirements
Administrative Credentials
You must be a member of the following IIS administrative role or roles to perform this procedure:
Web Server Administrator
To Install IIS 7.0 on Windows Server 2008
You can perform this procedure using the user interface (UI) or a script.
Using the UI
1. Click Start, point to Administrative Tools and then click Server Manager.
2. In Roles Summary, click Add Roles.
3. Use the Add Roles Wizard to add the Web server role.
If you use the Add Roles Wizard to install IIS, you get the default installation, which has aminimum set of role services. If you need additional IIS role services, such as ApplicationDevelopment or Health and Diagnostics, make sure to select the check boxes associated withthose features in the Select Role Services page of the wizard.
Using a script
Type the following command into a script:
start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-
-
7/16/12 Installing IIS 7.0 on Windows Server 2008
2/3technet.microsoft.com/en-us/library/cc771209(d=printer,v=ws.10).aspx
Important
Important
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
If you use this script, you get the full IIS installation, which installs all available feature packages. Ifthere are feature packages you do not need, you should edit the script to install only the packagesyou require.
To Install IIS 7.0 on Windows Server 2008 using a Server Core installation
Using a script for the full IIS installation on Server Core
Type the following command into a script:
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
If you use this script, you get the full IIS installation, which installs all available feature packagesfor Server Core. If there are feature packages you do not need, you should edit the script to installonly the packages you require.
Using a script for the default installation on Server Core
Type the following command into a script:
-
7/16/12 Installing IIS 7.0 on Windows Server 2008
3/3technet.microsoft.com/en-us/library/cc771209(d=printer,v=ws.10).aspx
Important
2012 Microsoft. All rights reserved.
start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel
If you use this script, you get the default IIS installation, which installs a minimal set of availablefeature packages.
See Also
Other Resources
Windows Automated Installation Kit (WAIK) User's Guide for Windows Vista (online)1
Server Core Installation Option (online)2
Links Table
1http://go.microsoft.com/fwlink/?LinkId=63893
2http://go.microsoft.com/fwlink/?LinkId=91717
Community Content