Before you start, make sure you have administrator privileges.
1. Start Server Manager
2. From Server manager go to Server Roles and click Add Roles
3. IIS 7.0 will install with the minimum level of requirements. If you need additional roles, such as ASP.NET, HTTP Logging, Digest Authentication etc. you will need to select those on the next screen.
4. Once you have selected the roles you need to install, click Next. If prompted, you will need to install any required role services for the roles you have selected. The install will take several minutes to complete. Please review the installation results on screen to ensure everything has installed correctly.
5. To confirm you have installed IIS correctly. Browse to http://localhost. If you see the IIS7 splash screen, you are done.