Source: Microsoft Official website (http://technet.microsoft.com/zh-cn/library/cc731252 (v=ws.10). aspx)
Using Windows Vista or Windows 7 UI
Click Start, and then click Control Panel.
In Control Panel , click Programs, and then click Turn Windows features on/off.
In the Windows features dialog box, click Internet Information Services to install the default features, and then select the following additional features ( World Wide Web services , Application development features ):
- ASP
- . NET Extensibility
- Request filtering (World Wide Web Service-security)
- ISAPI
- ISAPI Extensions
Click OK to close the Windows features dialog box.
- Note that all options under the Web Management tool need to be checked
To verify that IIS is installed successfully, type the following in your Web browser:
http://localhost
You should see the default IIS Welcome page.
Using the command line