banner



How To Install Iis In Windows Server 2019

How To Install IIS In Windows Server 2022

Hither nosotros're going to show you how to install the Net Data Services (IIS) web server version 10.0 in Microsoft's Windows Server 2022 operating organization.

This can exist done both with PowerShell or through the GUI, we'll cover both methods hither.

Install IIS With PowerShell

If y'all don't have the GUI installed or just desire to apply the PowerShell control line interface (CLI) instead, follow these steps. This method is a lot faster than going through all of the GUI options.

  1. Open PowerShell with administrative privileges and run the Install-WindowsFeature cmdlet as shown below.
    Install-WindowsFeature -name Spider web-Server -IncludeManagementTools              

    Windows Server 2022 Install IIS PowerShell

    Here we include the direction tools and so that yous tin can manage IIS on this server, equally these are by and large installed when using the GUI, making this PowerShell command equivalent with the GUI method below. If you lot do not plan on managing IIS through this server and then you may prefer to non include this option.

  2. Once the installation has succeeded, you'll exist returned to the PowerShell prompt. At this point IIS should be running on port fourscore past default with the firewall rule "Earth Wide Web Services (HTTP Traffic-In)" enabled in Windows firewall automatically.
  3. We can perform a uncomplicated test by opening up a spider web browser and browsing to the server that we take installed IIS on. You should see the default IIS page.

    Windows Server 2022 IIS default web page

Install IIS Through GUI

If your server has the graphical user interface component installed you can also install IIS past following these steps.

  1. Open Server Manager, this tin be found in the start menu. If information technology's not there simply type "Server Manager" with the start menu open up and it should be found in the search.

    Windows Server 2022 Start Menu

  2. Click the "Add roles and features" text.

    Server Manager Add Roles And Features Windows Server 2022

  3. On the "Before you begin" window, simply click the Next push.

    Windows Server Manager 2022 Before you begin

  4. On the "Select installation blazon" window, leave "Function-based or feature-based installation" selected and click Adjacent.

    Select Installation Type Windows Server 2022

  5. As we're installing to our local auto, leave "Select a server from the server puddle" with the current machine selected and click Next. Alternatively you lot tin can select another server that you are managing from here, or a VHD.

    Select Destination Server Windows Server 2022

  6. From the "Select server roles" window, check the box side by side to "Web Server (IIS)". Doing this may open up upwardly a new window advising that additional features are required, simply click the "Add Features" push to install these besides. Click Side by side back on the Select server roles menu once this is complete.

    Server Manager Select Server Roles

    Add IIS Features

  7. Nosotros will not exist installing any boosted features at this phase, then simply click Next on the "Select features" window.

    Select Features to Install

  8. Click Next on the "Web Server Role (IIS)" window after reading the data provided.

    Install Web Server Role - Windows Server 2022

  9. At this point on the "Select role services" window yous can install boosted services for IIS if required. You don't have to worry about this now as you lot can e'er come up back and add together more afterwards, so just click Side by side for now to install the defaults.

    Select Role Services - Windows Server 2022

  10. Finally on the "Confirm installation selections" window , review the items that are to be installed and click Install when you're gear up to proceed with installing the IIS spider web server.

    Confirm Installation Selections - Windows Server 2022

    No reboot should exist required with a standard IIS installation, withal if you remove the office a reboot volition be needed.

  11. Once the installation has succeeded, click the close button. At this indicate IIS should exist running on port eighty by default with the firewall rule "Earth Wide Web Services (HTTP Traffic-In)" enabled in Windows firewall automatically.
  12. IIS Installation Progress - Windows Server 2022

  13. We can perform a simple exam by opening up a web browser and browsing to the server that we have installed IIS on. Y'all should see the default IIS page.

    Windows Server 2022 IIS default web page

Every bit you can hopefully see, it's quite a lot faster to utilize PowerShell to perform the same task.

Summary

As shown we can easily install the IIS web server in Windows Server 2022 with both the PowerShell command line or the graphical user interface.

Source: https://www.rootusers.com/how-to-install-iis-in-windows-server-2019/

Posted by: murphycalat1937.blogspot.com

0 Response to "How To Install Iis In Windows Server 2019"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel