Installing Web Server

Posted on  by admin

Here we’re going to show you how to install the Internet Information Services (IIS) web server version 10.0 in Microsoft’s Windows Server 2016 operating system.

The Web Server Plug-ins cannot install properly if the target directory includes a semicolon. A semicolon is the character used to construct the class path on Windows systems. The maximum path length on the Windows Server 2008, Windows Vista, and Windows 7 operating systems is 60 characters. A step-by-step guide to manually installing the Apache Web Server on Windows, with links to further reading and resources. The installation of it is very easy, by default when we select the IIS management console the Web Management Tools and Word Wide services along with HTTP features, performance features, security, system status and diagnostics are automatically going to be install.

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 just want to use the PowerShell command line interface (CLI) instead, follow these steps. This method is a lot faster than going through all of the GUI options.

Installing Web Server On Ubuntu

After successfully installing the Web Server and Web API Server, you can open the IIS Manager to check whether the Default Web Site and ServicesAPI service exist. Tip: The installation log file is saved under the C: drive. If you encounter any issues during the installation, check the log file for more details. Install IIS Using PowerShell. Learning to do things like installing IIS in PowerShell is a huge benefit for two reasons. One, it’s the easiest and fastest way to do most administrative tasks in Windows. Two, you can save your PowerShell commands, known as cmdlets, as a script and run them anytime on any Windows computer or server.

  1. Open PowerShell with administrative privileges and run the Install-WindowsFeature cmdlet as shown below.

    Here we include the management tools so that you can manage IIS on this server, as these are generally 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 server then you may prefer to not include this option.

  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.

Install IIS Through GUI

If your server has the graphical user interface component installed you can also 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.
  2. Click the “Add roles and features” text.
  3. On the “Before you begin” window, simply click the Next button.
  4. On the “Select installation type” window, leave “Role-based or feature-based installation” selected and click Next.
  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.
  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.
  7. We will not be installing any additional features at this stage, so simply click Next on the “Select features” window.
  8. Click Next on the “Web Server Role (IIS)” window after reading the information provided.
  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.
  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.

    No reboot should be required with a standard IIS installation, however if you remove the role a reboot 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. 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’s quite a lot faster to use PowerShell to perform the same task.

Summary

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

Here we’re going to show you how to install the Internet Information Services (IIS) web server version 10.0 in Microsoft’s Windows Server 2019 operating system.

Installing Web Server On Centos 8

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 just want to use the PowerShell command 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.

    Here we include the management tools so that you can manage IIS on this server, as these are generally 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 server then you may prefer to not include this option.

  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.

Install IIS Through GUI

Installing Web ServerInstalling Web Server

If your server has the graphical user interface component installed you can also 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.
  2. Click the “Add roles and features” text.
  3. On the “Before you begin” window, simply click the Next button.
  4. On the “Select installation type” window, leave “Role-based or feature-based installation” selected and click Next.
  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.
  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.
  7. We will not be installing any additional features at this stage, so simply click Next on the “Select features” window.
  8. Click Next on the “Web Server Role (IIS)” window after reading the information provided.
  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.
  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.

    No reboot should be required with a standard IIS installation, however if you remove the role a reboot 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. 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.

Installing Web Server On Mac

As you can hopefully see, it’s quite a lot faster to use PowerShell to perform the same task.

Summary

Install Web Server Iis

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