Windows server 2008

  kolovoz, 2007  
P U S Č P S N
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

08/2007 (8)

Dnevnik.hr
Gol.hr
Zadovoljna.hr
Novaplus.hr
NovaTV.hr
DomaTV.hr
Mojamini.tv

Comments On/Off

Windows server 2008 Links 
Start Page
On Technet
Download Beta 3
All about IIS

 
by Robert Petrunic

 
RSS

 Links to other blogs
Server Core
Windows Virtualization

 18.08.2007., subota

How to install Virtual server Web application on Windows server 2008 CORE version

As I promised, Today I will guide you trough the process of installing Virtual server Web application for Virtual Server 2005 R2 SP1 on Windows server 2008 CORE. This is something totally not supported. It requires a little more knowledge of IIS, because you will have to change some things by directly editing IIS 7 configuration files (or using appcmd.exe tool).

So to start you have to:

1. Install Mozilla Firefox or Opera (I recommend Opera) as explained in my post named Surfing from Windows server 2008 CORE version?
2. Install Virtual server 2005 R2 SP1 on your Windows server 2008 CORE box as expained in my post named How to install Virtual server 2005 R2 SP1 on Windows server 2008 CORE version
3. Install IIS components needed by Virtual server Web application as explained in my post named How to install IIS 7 on windows server CORE

Then you have to:
4. Copy all the files and subdirectories located in c:Program FilesMicrosoft Virtual ServerWebSite from another machine that has Virtual server Web application installed and running to the same directory on your Windows server 2008 CORE box. You could use robocopy command. For instance on my installation (I was copying those files using USB stick), the command looks like this:
robocopy "E:Virtual server 2005 R2 SP1webfolder" "C:Program FilesMicrosoft Virtual ServerWebSite" /mir

5. Create Application under Defaut Web Site.
Change your directory to c:Windowssystem32inetsrv and run appcmd.exe:
appcmd.exe add app /site.name:"Default Web Site" /path:/VirtualServer /physicalPath:"C:Program FilesMicrosoft Virtual ServerWebSiteVirtualServer"

6. Now we need to enable CGI handler in IIS. We will do this by editing applicationHost.config configuration file located in c:Windowssystem32inetsrvconfig directory.
There are 3 ways to do it - I will choose the simpliest way - not the best.
In applicationHost.config locate section:
handlers accessPolicy="Script, Read"
and add execute method between script and read.
The line should now look like this:
handlers accessPolicy="Script, Execute, Read"

7. Next we need to enable Windows authentication, and disable anonymous authentication. This is also located in ApplicationHost.config file.
Locate section
windowsAuthentication enabled="false"
Change false to true. The line should now look like:
windowsAuthentication enabled="true"

Locate line
anonymousAuthentication enabled="true" userName="IUSR"
Change true to false. The line should now look like:
anonymousAuthentication enabled="false" userName="IUSR"

8. Next we need to allow Virtual server application to be run using CGI handler. We will do this the "hard" way. In order not to type text into applicationHost.config we will let Virtual server installation do this for us. Start Virtual server 2005 installation, and choose to install only Virtual server Web application. Setup will fail and it will roll back, but inside our applicationHost.config file it will create few lines allowing VSWebApp.exe to execute on IIS.

That's it. It should work now.

Open Opera browser and type http://localhost/VirtualServer/VSWebApp.exe, enter your username and password and enjoy.

Stay tuned

- 18:20 - Comments (0) - Print - #