A, install through the user Interface 1. Click Start/Control Panel/program and choose Turn Windows features on or off.
B, in the Windows Features dialog box, select Internet Information Services
C, click OK, and Windows Vista will start the IIS installation process;
Note that if you install with the above steps, you get the default installation, which is the minimal functionality. If you need additional IIS features, such as application development features or Web administration tools, make sure that the check boxes for these features are selected in the Windows Features dialog box.
First, install IIS. Open Control Panel and click Programs and Features
Second, click on the left "turn on or off Windows features"
Third, find "Internet information services", according to the following figure tick
Finally, after the installation, in the Control Panel, click "Administrative Tools"
Five, double-click Internet Information Services (IIS) Manager to enter the IIS interface:
Select "Default Web Site", "ASP" between two hits
Change "Enable parent path" to "True"
Seven, start configuring the site. Click the advanced settings on the right
Select the directory for your site, and click OK
Eighth, in the IIS main interface, click Bind ... on the right, select the Web site that you want to bind, click Edit
If it is a computer, only modify the following port number on the line, you can modify the number at will. and click OK.
Ninth, publish the document. Create a new A.doc,a.txt,a.jpg,a.rar file in the Web site folder. Click the "Browse Web site" below to browse the site.
However, the following error page appears:
Open IIS Manager.
In the features view, double-click Directory browsing.
On the Directory browsing page, in the actions pane, click Enable.
Once you've set it up, you can access the published file:
Other installation methods:
Script installation to enter the following command in the script: start/w pkgmgr/iu:iis-webserverrole;iis-webserver;iis-commonhttpfeatures;iis-staticcontent ; iis-defaultdocument;iis-directorybrowsing;iis-httperrors;iis-httpredirect;iis-applicationdevelopment;i Is-aspnet;iis-netfxextensibility;iis-asp;iis-cgi;iis-isapiextensions;iis-isapifilter;iis-serversideincludes;i Is-healthanddiagnostics;iis-httplogging;iis-logginglibraries;iis-requestmonitor;iis-httptracing;i Is-customlogging;iis-odbclogging;iis-security;iis-basicauthentication;iis-windowsauthentication;i Is-digestauthentication;iis-clientcertificatemappingauthentication;iis-iiscertificatemappingauthentication;i Is-urlauthorization;iis-requestfiltering;iis-ipsecurity;iis-performance;iis-httpcompressionstatic;i Is-httpcompressiondynamic;iis-webservermanagementtools;iis-managementconsole;iis-managementscriptingtools;i is-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 install with this script, IIS will be fully installed, with all IIS features installed. If you don't want to use a feature, you should edit the script file to remove a feature, such as deleting the "iis-legacyscripts" from the penultimate line in the above script and installing only the packages you need.
Conclusion: With the above steps, you can install the configuration and files of IIS 7 under Windows 7 System!