安裝 AD FS 角色服務Install the AD FS Role Service

適用於:Windows Server 2016、Windows Server 2012 R2Applies To: Windows Server 2016, Windows Server 2012 R2

您可以使用下列程序的電腦現有的聯盟伺服器發電廠在執行 Windows Server 2012 R2 成為聯盟伺服器陣列中的第一個聯盟伺服器或聯盟伺服器上安裝 AD FS 角色服務。You can use the following procedure to install the AD FS role service on a computer that is running Windows Server 2012 R2 to become the first federation server in a federation server farm or a federation server in an existing federation server farm.

資格在系統管理員,或相當於、在本機電腦上已完成此程序的最低需求。Membership in Administrators, or equivalent, on the local computer is the minimum requirement to complete this procedure. 檢視詳細資料使用適當的帳號,並群組成員資格,本機和網域預設群組Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups.

若要安裝透過新增角色與功能] 精靈 AD FS 伺服器角色To install the AD FS server role via the Add roles and features wizard

  1. 打開伺服器管理員。Open Server Manager. 若要打開伺服器管理員中,按一下 [伺服器管理員[開始]畫面上,或伺服器管理員]在桌面工作列中。To open Server Manager, click Server Manager on the Start screen, or Server Manager in the taskbar on the desktop. 快速入門索引標籤的歡迎使用] 磚上儀表板頁面上,按一下新增角色與功能In the Quick Start tab of the Welcome tile on the Dashboard page, click Add roles and features. 或者,您可以按一下新增角色與功能管理功能表。Alternatively, you can click Add Roles and Features on the Manage menu.

  2. 在您開始之前頁面上,按一下 [On the Before you begin page, click Next.

  3. 選取 [安裝類型頁面上,按一下 [ Role\ 或 Feature\ 安裝,然後按一下 [下一步On the Select installation type page, click Role-based or Feature-based installation, and then click Next.

  4. 選取目的伺服器頁面上,按一下 [伺服器集區中選取 [伺服器,確認的目標電腦已選取,然後按下一步On the Select destination server page, click Select a server from the server pool, verify that the target computer is selected, and then click Next.

  5. 選擇伺服器角色頁面上,按一下 [ Active Directory 同盟服務,然後按一下 [下一步On the Select server roles page, click Active Directory Federation Services, and then click Next.

  6. 選擇功能頁面上,按一下 [On the Select features page, click Next. 所需的必要條件是為您預先選取。The required prerequisites are preselected for you. 您不必選取任何其他功能。You do not have to select any other features.

  7. Active Directory 同盟服務 (AD FS)頁面上,按On the Active Directory Federation Service (AD FS) page, click Next.

  8. 在確認此資訊後確認安裝選項頁面上,按安裝After you verify the information on the Confirm installation selections page, click Install.

  9. 安裝進度頁面,確認所有正確,安裝,然後按一下 [關閉On the Installation progress page, verify that everything installed correctly, and then click Close.

若要安裝 Windows PowerShell 透過 AD FS 伺服器角色To install the AD FS server role via Windows PowerShell

  1. 在電腦上您想要設定為聯盟伺服器,開放的 Windows PowerShell 命令視窗中,,然後執行下列命令: Install-windowsfeature adfs-federation –IncludeManagementToolsOn the computer that you want to configure as a federation server, open the Windows PowerShell command window, and then run the following command: Install-windowsfeature adfs-federation –IncludeManagementTools.

也了See Also

AD FS 部署AD FS Deployment

Windows Server 2012 R2 AD FS 部署指南Windows Server 2012 R2 AD FS Deployment Guide

部署聯盟伺服器陣列Deploying a Federation Server Farm