IIS 7.0. Time to have a look at the various options. A suggested commandline looks like the following. This is derived from Installing IIS 7.0 on Windows Server 2008 and Windows Server 2008 Packages.
C:\> start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-HttpErrors;IIS-HttpRedirect;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementScriptingTools;IIS-ManagementService
Wading through each of the options should give some indication of what I need to install. Be warned that a sinlge misplaced character will cause the install to fail and tracking that sucker down can be a right pain. When the install has completed the last error can be checked to ensure the install was successful. An error code of 0 indicates success, an error code of -2146498548 indicates you might have accidentally typed an s on the end of IIS-ManagementService which annoyingly happens to be the last item in the command:
C:\> echo %errorlevel%
- IIS-WebServerRole
- The Web server that provides the Web application infrastructure for all versions of the Windows operating system.
- IIS-WebServer
- Installs the IIS Web server, which enables support for HTML Web sites, and the optional support for ASP.NET, classic ASP, and Web server extensions.
- IIS-CommonHttpFeatures
- Installs support for static Web server content, such as for HTML and image files, for custom errors, and for redirections.
- IIS-StaticContent
- Serves the HTM, the HTML, and the image files from a Web site.
- IIS-DefaultDocument
- Enables the specification of a default file, which is loaded if a user does not specify a file in a request URL.
- IIS-HttpErrors
- Installs the HTTP error files and enables the customization of the error messages.
- IIS-HttpRedirect
- Supports client request redirections.
- IIS-ASPNET
- Enables support for ASP.NET applications.
- IIS-NetFxExtensibility
- Enables a Web server to support the .NET Framework-managed module extensions.
- IIS-ISAPIExtensions
- ISAPI Extensions
- IIS-ISAPIFilter
- Enables ISAPI filters to modify the behavior of a Web server.
- IIS-HealthAndDiagnostics
- Monitors and manages Web server, Web site, and Web application health.
- IIS-HttpLogging
- Enables the logging of Web site activity for a specified Web server.
- IIS-LoggingLibraries
- Installs the IIS logging tools and related scripts.
- IIS-RequestMonitor
- Monitors the health of Web servers, Web sites, and Web applications.
- IIS-HttpTracing
- Enables tracing support for ASP.NET applications and failed requests.
- IIS-CustomLogging
- Supports custom logging for Web servers, Web sites, and Web applications.
- IIS-ODBCLogging
- Supports logging to an ODBC-compliant database.
- IIS-Security
- Supports additional security protocols for Web servers, Web sites, Web applications, virtual directories, and files.
- IIS-BasicAuthentication
- Simple authentication that requires a valid Windows user name and password.
- IIS-WindowsAuthentication
- Authentication method that uses either NTLM or Kerberos to validate a user.
- IIS-DigestAuthentication
- Authentication method that sends a password hash value to the Windows domain controller.
- IIS-URLAuthorization
- Enables a client computer to access the URLs that exist within a Web application.
- IIS-RequestFiltering
- Configures the rules that block selected client requests.
- IIS-IPSecurity
- Enables or denies content access, based on an IP address or domain name.
- IIS-Performance
- Enables the compression of content before the information is returned to a client computer.
- IIS-HttpCompressionStatic
- Compresses static content before returning the information to a client computer.
- IIS-HttpCompressionDynamic
- Compresses dynamic content before returning the information to a client computer.
- IIS-ManagementScriptingTools
- Enables the management of a local Web server by using the IIS configuration scripts.
- IIS-ManagementService
- Enables a Web server to be managed remotely from another computer, by using the Web Server Management Console.
Installing IIS adds the appropriate firewall rule so the proof in the pudding can be determined by opening my preferred browser and pointing it at the new server. Hooray, it's the IIS7 welcome page.
No comments:
Post a Comment