How To Install Iis In Windows Server 2019
How To Install IIS In Windows Server 2022
Posted past on December 19, 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.
- Open PowerShell with administrative privileges and run the Install-WindowsFeature cmdlet as shown below.
Install-WindowsFeature -name Spider web-Server -IncludeManagementTools
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.
- 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.
- 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.
Install IIS Through GUI
If your server has the graphical user interface component installed you can also install IIS past following these steps.
- 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.
- Click the "Add roles and features" text.
- On the "Before you begin" window, simply click the Next push.
- On the "Select installation blazon" window, leave "Function-based or feature-based installation" selected and click Adjacent.
- 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.
- 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.
- Nosotros will not exist installing any boosted features at this phase, then simply click Next on the "Select features" window.
- Click Next on the "Web Server Role (IIS)" window after reading the data provided.
- 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.
- 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.
No reboot should exist required with a standard IIS installation, withal if you remove the office a reboot volition be needed.
- 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.
- 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.
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