將現有的檔案伺服器設定為內容伺服器Configure an Existing File Server as a Content Server

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

您可以使用此程序安裝BranchCache 網路檔案的檔案服務伺服器角色執行 Windows Server 2016 的電腦上的角色服務。You can use this procedure to install the BranchCache for Network Files role service of the File Services server role on a computer running Windows Server 2016.

重要

如果檔案服務伺服器角色尚未安裝,如此依照此程序。If the File Services server role is not already installed, do not follow this procedure. 請查看安裝新的檔案伺服器內容伺服器以Instead, see Install a New File Server as a Content Server.

資格在系統管理員,或相當於的最低需求才能執行此程序。Membership in Administrators, or equivalent is the minimum required to perform this procedure.

注意

使用 Windows PowerShell,系統管理員的身分,以執行 Windows PowerShell 來執行這個程序,Windows PowerShell 命令提示字元中,輸入下列命令,然後按 ENTER 鍵。To perform this procedure by using Windows PowerShell, run Windows PowerShell as an Administrator, type the following commands at the Windows PowerShell prompt, and then press ENTER.

Install-WindowsFeature FS-BranchCache -IncludeManagementTools

若要安裝資料 Deduplication 角色服務,輸入下列命令,,然後按 ENTER 鍵。To install the Data Deduplication role service, type the following command, and then press ENTER.

Install-WindowsFeature FS-Data-Deduplication -IncludeManagementTools

若要安裝 BranchCache 網路檔案角色服務To install the BranchCache for Network Files role service

  1. 在伺服器管理員中,按一下管理,然後按新增角色與功能In Server Manager, click Manage, and then click Add Roles and Features. 開啟精靈新增角色與功能]。The Add Roles and Features wizard opens. 按一下下一步Click Next.

  2. 選擇安裝類型,確認以角色為基礎,或為基礎的功能的安裝已選取,然後按一下 [下一步In Select installation type, ensure that Role-based or feature-based installation is selected, and then click Next.

  3. 選擇目的伺服器,確定正確的伺服器已選取,然後按下一步In Select destination server, ensure that the correct server is selected, and then click Next.

  4. 選擇伺服器角色,請在角色,請注意,檔案與儲存空間服務已安裝的角色。按一下箭頭左邊的角色名稱,以展開角色服務,在選取範圍,然後按一下 [左邊的箭頭檔案和 iSCSI 服務In Select server roles, in Roles, note that the File And Storage Services role is already installed; click the arrow to the left of the role name to expand the selection of role services, and then click the arrow to the left of File and iSCSI Services.

  5. 選取 [ BranchCache 網路檔案的Select the check box for BranchCache for Network Files.

    提示

    如果已經執行此動作,建議,您也可以選取核取方塊的資料 DeduplicationIf you have not already done so, it is recommended that you also select the check box for Data Deduplication.

    按一下下一步Click Next.

  6. 選擇功能,按一下 [In Select features, click Next.

  7. 確認安裝選項,檢視您的選項,然後按安裝In Confirm installation selections, review your selections, and then click Install. 安裝進度窗格中會顯示在安裝期間。The Installation progress pane is displayed during installation. 安裝完成時,請按一下關閉When installation is complete, click Close.