安裝網頁伺服器 WEB1Install the Web Server WEB1

適用於:Windows Server(以每年次管道)、Windows Server 2016Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016

在 Windows Server 2016 網頁伺服器 (IIS) 角色提供安全,輕鬆管理、 模組且最具擴充性的平台會可靠地裝載的網站、 服務和應用程式。The Web Server (IIS) role in Windows Server 2016 provides a secure, easy-to-manage, modular and extensible platform for reliably hosting websites, services, and applications. 使用 IIS,您可以分享網際網路、 內部網路,或外部網路使用者的資訊。With IIS, you can share information with users on the Internet, an intranet, or an extranet. IIS 是整合 IIS、 ASP.NET、 FTP 服務、 PHP 及 Windows 通訊基本知識 (WCF) 的整合的 web 平台。IIS is a unified web platform that integrates IIS, ASP.NET, FTP services, PHP, and Windows Communication Foundation (WCF).

當您部署伺服器的憑證時,您的網頁伺服器為您提供的位置,您可以針對您憑證授權單位發行憑證撤銷清單 (CRL)。When you deploy server certificates, your Web server provides you with a location where you can publish the certificate revocation list (CRL) for your certification authority (CA). 在發行後, CRL 是存取網路上的所有電腦,讓他們可以使用此清單驗證程序期間驗證憑證的其他電腦,不撤銷。After publication, the CRL is accessible to all computers on your network so that they can use this list during the authentication process to verify that certificates presented by other computers are not revoked.

如果憑證為撤銷 CRL 上,驗證努力會失敗,且您的電腦不受信任實體的不是有效的憑證。If a certificate is on the CRL as revoked, the authentication effort fails and your computer is protected from trusting an entity that has a certificate that is no longer valid.

您安裝的網頁伺服器 (IIS) 角色之前,請確定您有伺服器名稱與 IP 位址設定,並已經加入網域的電腦。Before you install the Web Server (IIS) role, ensure that you have configured the server name and IP address and have joined the computer to the domain.

若要安裝的網頁伺服器 (IIS) 伺服器角色To install the Web Server (IIS) server role

若要完成此程序,您必須成員的系統管理員群組。To complete this procedure, you must be a member of the Administrators group.

注意

使用 Windows PowerShell 來執行這個程序,開放 PowerShell、 輸入下列命令,然後再按 ENTER。To perform this procedure by using Windows PowerShell, open PowerShell, type the following command, and then press ENTER.
Install-WindowsFeature Web-Server -IncludeManagementTools

  1. 在伺服器管理員中,按一下管理,然後按新增角色與功能In Server Manager, click Manage, and then click Add Roles and Features. 新增角色與功能精靈開啟。The Add Roles and Features Wizard opens.
  2. 在您開始之前,請先,按一下 [In Before You Begin, click Next.

注意Note
在您開始之前,請先頁面上新增角色與精靈中的功能不顯示如果先前已執行新增角色與功能精靈,並選取預設略過此頁面在該時間。The Before You Begin page of the Add Roles and Features Wizard is not displayed if you have previously run the Add Roles and Features Wizard and you selected Skip this page by default at that time.

  1. 安裝類型頁面上,按On the Installation Type page, click Next.
  2. 選擇伺服器頁面上,按一下 [On the Server selection page, click Next.
  3. 伺服器角色頁面上,選取網頁伺服器 (IIS),然後按一下 [下一步On the Server roles page, select Web Server (IIS), and then click Next.
  4. 按一下下一步直到您接受預設的所有網頁伺服器設定,然後按一下 [安裝Click Next until you have accepted all of the default web server settings, and then click Install.
  5. 安裝所有已成功,請確認,然後按一下關閉Verify that all installations were successful, and then click Close.