How to Install IIS on Windows 7 | razibdeb
Quoted from http://razibdeb.wordpress.com/2011/01/18/how-to-install-iis-on-windows-7/:
How to Install IIS on Windows 7 | razibdeb
Today I am going to show How to Install IIS on Windows 7 IIS 7.0 is included
with Windows 7. However, when you first install Windows 7, by default IIS 7.0 is
not installed or enabled. This topic describes how to install IIS and configure
it so that in Visual Studio you can create local IIS ASP.NET Web sites. This enables
you to use a local copy of IIS to run and debug the Web site instead of using the
ASP.NET Development Server. When you create a local IIS Web site, the pages and
folders for the site are stored in a folder under the default IIS folder for Web
sites. This is located at LocalDrive:\Inetpub\wwwroot. Visual Studio creates the
appropriate IIS configuration so that the Web site is recognized by IIS as an application.
You can also create a virtual directory. In that case, the files for the Web site
can be in any folder on the Web server computer. Now start installing IIS on your
Windows7. Steps are –
- In , open Control Panel and then click Programs.
- Under Programs and Features, click Turn Windows features on or off.
![]()
How to install IIS on Windows 7
Note
If Control Panel is set to display in Classic view, click Programs and Features,
and in then in the left pane, click Turn Windows features on or off.- The Windows Features dialog box is displayed.Expand Internet Information Services.
Step 3
- Expand Web Management Tools, expand IIS 6 Management Compatibility, and then select the IIS 6 Metabase and IIS 6 configuration compatibility check box.
Step 4
- Expand World Wide Web Services, expand Application Development Features, and then select the ASP.NET check box.
NoteThe options that are required for Web application development will automatically
be select- Expand World Wide Web Services, expand Security, and then select the Windows Authentication check box. To enable Visual Studio to debug applications, you must configure IIS 7.0 with the Windows Authentication module. By default, the module is not configured as part of IIS.
Step 6
- Expand the World Wide Services, expand the Common HTTP Features then check the Static Content.
Step 7
- Click OK to start the IIS and ASP.NET installation process.
- When the configuration process finishes, close Control Panel.
- After clicking OK button it will take some time to install IIS and others features on your computer. After doing this you need to be sure that every thing is OK! for this open your browser and navigate to http://localhost. If you can see the following page then every thing is OK.
Complete
Port 80 unavailable: Step-by-step guide to release port 80 and make it available for Apache Server
Port 80 unavailable: Step-by-step guide to release port 80 and make it available for Apache Server
How much do you hate Microsoft when it pushes services and stuff you don’t want toy use. I came across this classical situation today when I was trying to run Apache on Windows (Basically the WAMP package called as vertrigo). I was getting the error message while trying to run Vertrigo (apache) that port 80 is being used and for my amusement, I never had other servers running to use port 80. However, I wanted to dwell deeper and hence I ran the following command to see which process was using port 80.
Start Command Prompt
- Hit the combination key of Windows+R (or start run window)
- Type cmd and hit enter.
- This will open the command prompt
Check which process is using port 80
- On the command prompt window, type the following command.
netstat -o -n -a | findstr 0.0:80
- You’ll see an outcome like the one below.
- The last column is what is called as the process ID column.
Open Task Manager to check the process ID
- Right click on the taskbar to open the the task manager.
- Go to the Processes tab.
- Click the View menu
- And make sure you select the PID (Process Identifier) as shown in the image below.
- Now you’ll be able to see which process is using the PID in question. In my case the process ID was 4 which stood for NT AUTHORITY/SYSTEM.
I was naive and hence I killed that process. BANG! I had a blue screen of death (BSOD). Apparently this is an important process comprised of various services. So I goggled a bit to find that the service in question was (the one using port 80) “World Wide Web Publishing Service (W3SVC)“. This was the service using port 80. All I did next was to go to the service and stop it. To stop this service:
- Go to Task Manager.
- Click the Services tab
- Arrange the Services by description.
- Look for something that reads World Wide Web Publishing Service in the description column
- Right click on it and select Stop Sevice.
Restart your Apache Web Server and you’ll be delighted to see that the server is up and running.
ሰላም አበበ ከበደ
There is error on reading this file!
-
Recent
-
Links
-
Archives
- May 2012 (1)
- June 2011 (2)
- January 2011 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS










