安装 Office Online Server

通过安装 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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值