How To Install IIS In Windows Server 2019 – RootUsers

here we ’ ra going to show you how to install the Internet Information Services ( IIS ) web waiter version 10.0 in Microsoft ’ randomness Windows Server 2019 operate system. This can be done both with PowerShell or through the GUI, we ’ ll cover both methods here.

Install IIS With PowerShell

If you don ’ t have the GUI installed or fair want to use the PowerShell dominate course interface ( CLI ) alternatively, follow these steps. This method acting 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 Web-Server -IncludeManagementTools
    

    Windows Server 2019 Install IIS PowerShell here we include the management tools so that you can manage IIS on this server, as these are broadly installed when using the GUI, making this PowerShell command equivalent with the GUI method below. If you do not plan on managing IIS through this waiter then you may prefer to not include this choice .

  2. Once the installation has succeeded, you’ll be returned to the PowerShell prompt. At this point IIS should be running on port 80 by default with the firewall rule “World Wide Web Services (HTTP Traffic-In)” enabled in Windows firewall automatically.
  3. We can perform a simple test by opening up a web browser and browsing to the server that we have installed IIS on. You should see the default IIS page. Windows Server 2019 IIS default web page

Install IIS Through GUI

If your waiter has the graphic user interface component installed you can besides install IIS by following these steps .

  1. Open Server Manager, this can be found in the start menu. If it’s not there simply type “Server Manager” with the start menu open and it should be found in the search. Windows Server 2019 Start Menu
  2. Click the “Add roles and features” text. Server Manager Add Roles And Features Windows Server 2019
  3. On the “Before you begin” window, simply click the Next button. Windows Server Manager 2019 Before you begin
  4. On the “Select installation type” window, leave “Role-based or feature-based installation” selected and click Next. Select Installation Type Windows Server 2019
  5. As we’re installing to our local machine, leave “Select a server from the server pool” with the current machine selected and click Next. Alternatively you can select another server that you are managing from here, or a VHD. Select Destination Server Windows Server 2019
  6. From the “Select server roles” window, check the box next to “Web Server (IIS)”. Doing this may open up a new window advising that additional features are required, simply click the “Add Features” button to install these as well. Click Next back on the Select server roles menu once this is complete. Server Manager Select Server Roles Add IIS Features
  7. We will not be installing any additional features at this stage, so 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 information provided. Install Web Server Role - Windows Server 2019
  9. At this point on the “Select role services” window you can install additional services for IIS if required. You don’t have to worry about this now as you can always come back and add more later, so just click Next for now to install the defaults. Select Role Services - Windows Server 2019
  10. Finally on the “Confirm installation selections” window, review the items that are to be installed and click Install when you’re ready to proceed with installing the IIS web server. Confirm Installation Selections - Windows Server 2019 No boot should be required with a standard IIS installation, however if you remove the role a boot will be needed .
  11. Once the installation has succeeded, click the close button. At this point IIS should be running on port 80 by default with the firewall rule “World Wide Web Services (HTTP Traffic-In)” enabled in Windows firewall automatically.
  12. IIS Installation Progress - Windows Server 2019

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

As you can hopefully see, it ’ second quite a draw faster to use PowerShell to perform the same undertaking.

Summary

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

source : https://thefartiste.com
Category : Tech

About admin

I am the owner of the website thefartiste.com, my purpose is to bring all the most useful information to users.

Check Also

articlewriting1

Manage participants in a zoom meeting webinar

Call the people who attend the meet as follows Alternate host host Who scheduled the …

Leave a Reply

Your email address will not be published.