Install Office Online Server for Exchange 2016 CU3

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Install Office Online Server for Exchange 2016 CU3相关的知识,希望对你有一定的参考价值。

通过安装 Office Online Server 使用户可以在 Exchange Outlook 网页版中查看和编辑受支持的文件附件,而无需先下载这些附件,也无需在本地安装相关程序。

安装 Office Online Server 必备组件:

1)下载安装Visual C++ Redistributable for Visual Studio 2015:

Start-BitsTransfer –Source  http://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe  -Destination c:\vc_redist.x64.exe

运行安装vc_redist.x64.exe

2)安装必需的操作系统功能:

Install-WindowsFeature NET-Framework-45-Features,Web-Server, Web-Mgmt-Tools, Web-Mgmt-Console, Web-WebServer, Web-Common-Http, Web-Default-Doc, Web-Static-Content, Web-Performance, Web-Stat-Compression, Web-Dyn-Compression, Web-Security, Web-Filtering, Web-Windows-Auth, Web-App-Dev, Web-Net-Ext45, Web-Asp-Net45, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Includes, InkandHandwritingServices, Windows-Identity-Foundation  –Restart

3)安装Office Online Server 2016

4)申请并导入证书

5)打开 Windows PowerShell 并运行以下命令。运行命令时,使用您自己的去替换示例 FQDN 和证书友好名称:

New-OfficeWebAppsFarm -InternalUrl “https://sen-oos.sen.hi.cn” -ExternalUrl “https://oos.sen.hi.cn” -CertificateName “oos_cert”   –EditingEnabled


 注:windows server 2016 RTM 没有"Ink and Handwriting Services"(InkandHandwritingServices)功能导致无法启动office oline服务,运行上述命令时出现如下错误:

New-OfficeWebAppsFarm : The operation failed. The server did not meet the following prerequisites:      
- The "Ink and Handwriting Services" Windows Server Feature must be installed and enabled.      
At line:1 char:1      
+ New-OfficeWebAppsFarm -InternalUrl “
https://sen-oos.sen.hi.cn” -Exter ...      
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      
    + CategoryInfo          : NotInstalled: (:) [New-OfficeWebAppsFarm], InvalidOperationException      
    + FullyQualifiedErrorId : PrerequisiteFailure,Microsoft.Office.Web.Apps.Administration.NewFarmCommand


Get-WindowsFeature | Where-Object {$_.Name -like ‘*ink*‘}

 

 

6.在邮箱服务器级别配置 Office Online Server 终结点:

打开 Exchange 命令行管理程序并运行以下命令。使用您自己的服务器名称和 URL 替换示例服务器名称和 URL:


Set-MailboxServer sen-ex01 –WacDiscoveryEndpoint  “https://oos.sen.hi.cn/hosting/discovery”

 

Restart-WebAppPool MsExchangeOwaAppPool

7.在Exchange组织级别配置 Office Online Server 终结点:


Set-OrganizationConfig –WacDiscoveryEndpoint  “https://oos.sen.hi.cn/hosting/discovery”

 

Restart-WebAppPool MsExchangeOwaAppPool

本文出自 “ganzy's blog” 博客,请务必保留此出处http://ganzy.blog.51cto.com/91848/1857156

以上是关于Install Office Online Server for Exchange 2016 CU3的主要内容,如果未能解决你的问题,请参考以下文章

office online怎么用不了了?

Office Online Server部署--和SharePoint绑定

用Office Online打开网络上的Office文档

对面平台无法识别 Office.js 绑定(Office Online 与 Office Desktop)

Office Online Server部署--安装

Office365---Exchange online计划1和计划2的区别