Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Windows Server 2008 R2 : Install Internet Information Services (part 2) - Install IIS on Windows Server 2008 R2 Core Server & Windows Server 2008 R2 Web Edition

6/14/2011 3:58:47 PM

3. Install IIS on Windows Server 2008 R2 Core Server

The inclusion of the .NET Framework on Windows Server 2008 R2 Server Core provides you with another platform to install web server roles. Like many other roles, you will use the Deployment Image Servicing and Management (dism) command-line tool on the server to install the IIS role. Because of the complexity and the numerous additional roles required, you will want to add the components separately as you build your IIS server, even though you can run this all in one command.

  1. After you log on to Server Core, type the following command to install the .NET Framework:

    DISM /Online /Enable-Feature
    /Featurename:NetFx2-ServerCore

  2. After the .NET Framework is installed successfully, you then can proceed to install the IIS role on Server Core. To begin the process, type the following command. Please note the name of the role, in this case WebServerRole, is case sensitive. This command will install IIS with all the default components on Server Core:

    DISM /online /enable-feature
    /featurename:IIS-WebServerRole
    /featurename:IIS-WebServer

  3. To verify the installation and the necessary components, you can run the get-features switch for the dism command, as in dism /online /get-features. You will see a screen similar to Figure 3.

After you run the command, you will see all the IIS features (enabled or disabled) listed in the feature list. These are all the role services for IIS, and they all begin with IIS.

Before you install any additional features on your IIS server, it's important to install the prerequisite features. For example, if you want to install ASP.NET on Windows Server 2008 R2 Server Core, you need to install the following features: ISAPI Filters, ISAPI Extensions, and .NET Extensibility. When you are installing these components on a Windows Server 2008 R2 full server edition, the GUI wizard will handle the prerequisite installation for you. Figure 4 shows an example of what you will see on a Windows Server 2008 R2 full edition server.

This is not the case for Server Core; you will need to install the required features prior to installing the main feature. For example, if you ran the command to enable ASP.NET, prior to installing the required features, you would see an error message similar to Figure 5.

Figure 3. IIS Server Core role services

Figure 4. ASP.NET requirements

Figure 5. ASP.NET error

The error message will inform you of the required features you need to install. In the example of installing ASP.NET on Server Core, you would need to run the following command prior to installing the ASP.NET feature:

dism /online /enable-feature
/featurename:IIS-ApplicationDevelopment
/featurename:IIS-ISAPIFilter
/featurename:IIS-ISAPIExtensions
/featurename:IIS-NetFxExtensibility

After the command runs successfully, you can then enable the ASP.NET feature by running the following command:

dism /online /enable-feature /featurename:IIS-ASPNET

4. Install IIS on Windows Server 2008 R2 Web Edition

If you purchased Windows Server 2008 R2 Web edition, you probably purchased this server edition with the sole purpose of it being a web server for your organization. To install the Web edition server, you simply need to select the Web edition on the operating system selection screen, as shown in Figure 6.

The Web edition can be installed on either a full edition or Server Core. After you install the Web edition server, then all you need to do is install the IIS role. What makes the Windows Server 2008 R2 Web edition unique is that the server contains only two server roles, DNS and Web Server (IIS). When you go to add the roles on the Web edition, you will see a screen similar to Figure 7.

Figure 6. Web edition

Figure 7. Web edition add roles

Even though you can install only two roles on the Web edition, IIS will install like IIS on a Windows Server 2008 R2 full edition server.

  1. To open Server Manager, select Start => Administrative Tools => Server Manager.

  2. In Server Manager, click Roles.

  3. Click Add Roles.

  4. Review the welcome screen, and click Next.

  5. On the Select Server Roles screen, select Web Server (IIS),

  6. On the Server Role services screen, review the notes, and click Next.

  7. Select the necessary role services to support your web application platform, and click Next.

  8. Review the confirmation screen and your selections, and when you are ready, click Install.

  9. Review the summary screen, correct any error messages, and click Close.

Other -----------------
- Microsoft Dynamics CRM 2011 : Sharing Accounts and Contacts with Other Users
- Microsoft Dynamics CRM 2011 : Deactivating and Activating Records
- Introducing SharePoint Mobile in 2010 (part 3) - Mobile Search & Mobile Views
- Introducing SharePoint Mobile in 2010 (part 2) - Microsoft Office Web Applications
- Introducing SharePoint Mobile in 2010 (part 1) - Microsoft Office Mobile 2010 & SharePoint Workspace Mobile 2010
- Migrate Roles to Windows Server 2008 R2
- BizTalk 2009 : Host Integration Server 2009 - BizTalk Adapter for Host Applications
- BizTalk 2009 : Host Integration Server 2009 - Session Integrator
- SQL Server 2008 : Database Mail (part 2) - Configuring, Sending, Cleanup Procedures Database Mail Using T-SQL
- SQL Server 2008 : Database Mail (part 1) - Database Mail Configuration Wizard
 
 
Top 10 video Game
-   Minecraft Mods - MAD PACK #10 'NETHER DOOM!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
-   Minecraft Mods - MAD PACK #9 'KING SLIME!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
-   Minecraft Mods - MAD PACK #2 'LAVA LOBBERS!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
-   Minecraft Mods - MAD PACK #3 'OBSIDIAN LONGSWORD!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
-   Total War: Warhammer [PC] Demigryph Trailer
-   Minecraft | MINIONS MOVIE MOD! (Despicable Me, Minions Movie)
-   Minecraft | Crazy Craft 3.0 - Ep 3! "TITANS ATTACK"
-   Minecraft | Crazy Craft 3.0 - Ep 2! "THIEVING FROM THE CRAZIES"
-   Minecraft | MORPH HIDE AND SEEK - Minions Despicable Me Mod
-   Minecraft | Dream Craft - Star Wars Modded Survival Ep 92 "IS JOE DEAD?!"
-   Minecraft | Dream Craft - Star Wars Modded Survival Ep 93 "JEDI STRIKE BACK"
-   Minecraft | Dream Craft - Star Wars Modded Survival Ep 94 "TATOOINE PLANET DESTRUCTION"
-   Minecraft | Dream Craft - Star Wars Modded Survival Ep 95 "TATOOINE CAPTIVES"
-   Hitman [PS4/XOne/PC] Alpha Gameplay Trailer
-   Satellite Reign [PC] Release Date Trailer
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
programming4us programming4us
PS4 game trailer XBox One game trailer
WiiU game trailer 3ds game trailer
Trailer game
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer