- Log in to Windows Server 2016 with an administrator account.
- Open Server Manager.
- Click on the Add roles and features link; you can find the same option in the Manage menu, as shown here:
- In the Add roles and features window, click on Next until you reach the Server Roles wizard. Expand Web Server, as shown here:
- Select Custom Logging, Logging Tools, ODBC Logging; the preinstalled options are Request Monitor, Tracing, and HTTP logging.
- Expand the Performance features option from Server Roles to install them on IIS, you can see the details in this figure:
- We have already installed Static Content Compression. Now select Dynamic Content Compression.
- Click on Next, skip the features wizard, and click on Next again. You will get the Confirmation window, as shown here:
- You can see that we have selected the Health and Diagnostics and Performance features, which we are going to install. I also selected the restart checkbox at the top. Next, you have to click on Install. You can see in the next figure that it's installed successfully:
- We've now finished the installation. In the next recipe, we will set up the configuration.