Как переустановить iis на windows server 2016

от admin

RootUsers

Guides, tutorials, reviews and news for System Administrators.

How To Install IIS In Windows Server 2016

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.

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.

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

Install IIS Through GUI

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

    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.

Select Server Roles - Windows Server 2016

Confirm Installation Selections - Windows Server 2016

Installation Progress - Windows Server 2016

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.

Как переустановить iis на windows server 2016

На «Панели мониторинга» (Dashboard) выберите пункт «Добавить роли и компоненты» (Add roles and features).

Запустится мастер установки IIS, ознакомьтесь с первой страницей и нажмите «Далее» (Next).

Выберите тип установки «Установка ролей или компонентов» (Role-based or feature-based installation) и нажмите «Далее» (Next).

Выберите сервер из пула серверов (Select a server from the server pool) и отметьте имя вашего сервера. Нажмите «Далее» (Next).

На странице выбора ролей сервера отметьте «Веб-сервер IIS» (Web Server IIS). Оставьте все без изменений в появившемся окне и нажмите «Добавить компоненты» (Add Features). Если кроме IIS вы ничего не устанавливаете, то нажмите «Далее» (Next). Просмотрите список компонентов IIS, выберите нужные или оставьте по умолчанию, нажмите «Далее» (Next). Ознакомьтесь с информацией в следующем окне и нажмите «Далее» (Next). Просмотрите список ролей веб-сервера IIS, которые будут установлены. Отметьте необходимые или оставьте без изменения и нажмите «Далее» (Next).

Нажмите кнопку «Установить» (Install).

Запустите «Диспетчер серверов» (Server Manager) из меню «Пуск» (Start).

В правом верхнем углу нажмите на пункт меню «Средства» (Tools) и запустите «Диспетчер служб IIS» (Internet Information Services Manager).

Панель «Просмотр возможностей» (Features View)

Сразу после установки IIS по умолчанию создается пустой сайт Default Web Site .

Проверьте его работу, набрав в адресной строке браузера localhost . Загрузится страница, созданная по умолчанию. Файлы этой страницы по умолчанию расположены на диске C:\inetpub\wwwroot

Читать:
Steelseries engine 3 что это

Добавьте сайты, которые будут обслуживаться этим веб-сервером. Для этого в контекстном меню пункта «Сайты» (Sites) на вкладке «Подключения» (Connections) выберите «Добавить сайт» (Add Website).

Заполните поля формы данными о сайте и нажмите ОК.

В списке сайтов IIS появится только что добавленный.

Русские Блоги

Щелкните правой кнопкой мыши на этом компьютере, откройте Manager Server, нажмите [Добавить роль и параметры функции].

Перейдите к странице «Добавить роль и функцию», нажмите «Далее»

Тип установки Выберите [Роль или установка на основе функций], нажмите Далее.
4.

Введите страницу выбора сервера, выберите [Выбор сервера из пула сервера], нажмите Далее

После ввода интерфейса роли сервера найдите веб-сервер (IIS), затем проверьте IIS, Enter «Добавить роли и функциональную сеть», затем нажмите «Добавить кнопку« Добавить функцию », а затем следую.

Выберите установку .NET Framework Version, рекомендуется выбрать картинку ниже. Все выбора. Затем нажмите Далее.

Продолжайте нажать Далее.
9.

Выберите компонент веб-сервера, который настоятельно рекомендуется, в противном случае он может быть переустановлен. Затем нажмите Далее.
10.

How to reinstall IIS on windows 10?

When I launch IIS on my windows 10 machine, it does not list DefaultAppPool under Application Pools and there is no Default Web Site. How can I reinstall IIS to have these defaults back? I tried to uncheck the below and restarted my machine hoping that it would unintall IIS. Then I checked it back to reinstall. But it did not show the default web site and defaultapppool.

Internet Information Services -> Web Management Tools -> IIS Management Console

Thanks for any suggestions to reinstall IIS.

1 Answer 1

You can uninstall iis completely, and then reinstall it, about how to uninstall iis completely you can remove the following roles:

Web Server (IIS) under tab "Server Roles" in Server Manager

And Windows Process Activation Service in "Features" tab in Server Manager

Attention: A server restart is necessary after the uninstallation.

Then delete the files or rename the folder (preferred) for C:\inetpub and C:\Windows\System32\inetsrv.

Here the key step is to uninstall Windows Process Activation Service (WAS). This is the service responsible for managing application pool configuration, creating and managing lifetime of worker process for HTTP and other protocols. Once WAS uninstalled, we can safely remove the configuration files located under C:\Windows\System32\inetsrv to finally make a clean uninstallation of IIS.

To reinstall IIS, just to follow the same steps: add Web Server (IIS) as well as WAS.

More information about how to perform a clean reinstallation of IIS you can refer to this link: How to perform a clean reinstallation of IIS

Похожие статьи