摘要:介绍如何在本地部署 Office Web Apps Server,以供 SharePoint 2013 和 Lync Server 2013 使用。
目标用户:IT 专业人员
请注意,本文介绍如何为你的企业安装 Office Web Apps Server。 如果要查找有关 Office 或 Office Web Apps 的个人副本的帮助,请参阅 https://support.office.com。
部署 Office Web Apps Server 涉及安装某些必备软件和运行一些 Windows PowerShell 命令,但总的来说,此过程设计得相当简单。 本文将指导你完成准备服务器的过程,并提供了配置 Office Web Apps Server 场的 Windows PowerShell 命令。
本文内容:
观看视频,了解如何完成
在开始之前,请查看这些资源
准备服务器以运行 Office Web Apps Server
部署 Office Web Apps Server 场
如果看到“500 Web 服务异常”或“500.21 - 内部服务器错误”消息
观看视频,了解如何完成
观看以下视频了解如何在测试环境中设置 Office Web Apps Server。 你还将看到有关如何将 SharePoint 2013 配置为使用 Office Web 应用 Server 的预览。
从 批量许可服务中心 (VLSC) 下载 Office Web Apps Server。 要下载 Office Web Apps Server,必须具有 Office Professional Plus 2013、Office 标准版 2013 或 Office for Mac 2011 许可证(批量许可协议下)。 下载位于 VLSC 门户的这些 Office 产品下。
执行下列操作之一:
对于 Windows Server 2012 或 Windows Server 2012 R2,直接打开 .img 文件并运行 Setup.exe。
对于 Windows Server 2008 R2 SP1,使用可装入或提取 .img 文件的程序,然后运行 Setup.exe。
在“阅读 Microsoft 软件许可条款”页上,选择“我接受此协议的条款”,然后选择“继续”。
在“选择文件位置”页上,选择要在其中安装 Office Web 应用 Server 文件的文件夹, (例如 C:\Program Files\Microsoft Office Web 应用) ,然后选择“立即安装”。 If the folder you specified doesn't exist, Setup creates it for you.
我们建议在系统驱动器上安装 Office Web Apps Server。
在安装程序安装完 Office Web Apps Server 后,选择“关闭”。
下载并安装 Office Web 应用 Server SP1 (建议用于 Windows Server 2012 和 Windows Server 2008 R2 SP1。Windows Server 2012 R2.) 是必需的
Office Web 应用 Server 2013 语言包允许用户使用多种语言查看基于 Web 的 Office 文件,无论是从 SharePoint 2013 文档库打开,还是从 Outlook Web Access (作为附件预览) 打开,以及 Lync 2013 (作为 PowerPoint 广播) 。 若要了解有关语言包的工作方式的详细信息,请参阅规划 Office Web Apps Server 的语言包。
如果您仅部署 Office Web 应用 Server 进行测试或内部使用,并且无需向 Lync Server 2013 提供 Office Web 应用 Server 功能,则此过程适合您。 在这里,你将安装使用 HTTP 的单服务器 Office Web 应用 服务器场。 您不需要证书或负载平衡器,但需要不运行任何其他服务器应用程序的专用物理服务器或虚拟机实例。
可使用此 Office Web Apps Server 场向 SharePoint 2013 提供 Office Web Apps 功能。
图:部署 Office Web Apps Server 的步骤
步骤 1:创建 Office Web 应用服务器场
使用 New-OfficeWebAppsFarm 命令创建一个包含一台服务器的新 Office Web Apps Server 场,如以下示例中所示。
在创建服务器场后,将在 Windows PowerShell 提示符中显示有关服务器场的详细信息。 若要验证是否正确安装并配置了 Office Web Apps Server,请使用 Web 浏览器访问 Office Web Apps Server 发现 URL,如下面的示例所示。 发现 URL 是你在配置 Office Web Apps Server 服务器场时指定的 InternalUrl 参数,后跟 /hosting/discovery,例如:
http://servername/hosting/discovery
如果 Office Web Apps Server 按预期运行,应该在 Web 浏览器中看到 Web 应用程序开放平台接口 (WOPI) 协议发现 XML 文件。 该文件的前几行应类似以下示例。
对于大多数生产环境,强烈建议对其安全功能使用 HTTPS。 同样,如果要向 Lync Server 2013 提供 Office Web Apps Server 功能,则需要 HTTPS,这样用户便可在浏览器中查看 PowerPoint 广播。 下面介绍如何安装使用 HTTPS 的单服务器 Office Web 应用 服务器场。 需要按照使用 HTTPS 保护 Office Web Apps Server 通信中所述,在服务器上安装证书。
此 Office Web Apps Server 场会向 SharePoint 2013 和 Lync Server 2013 提供 Office Web Apps 功能。
图:部署 Office Web Apps Server 的步骤
步骤 1:创建 Office Web Apps Server 服务器场
使用 New-OfficeWebAppsFarm 命令创建一个包含一台服务器的新 Office Web Apps Server 场,如以下示例中所示。
在创建服务器场后,将在 Windows PowerShell 提示符中显示有关服务器场的详细信息。 若要验证是否正确安装并配置了 Office Web Apps Server,请使用 Web 浏览器访问 Office Web Apps Server 发现 URL,如下面的示例所示。 发现 URL 是你在配置 Office Web Apps Server 服务器场时指定的 InternalUrl 参数,后跟 /hosting/discovery,例如:
https://server.contoso.com/hosting/discovery
如果 Office Web Apps Server 按预期运行,应该在 Web 浏览器中看到 Web 应用程序开放平台接口 (WOPI) 协议发现 XML 文件。 该文件的前几行应类似以下示例:
第一台服务器运行 Office Web Apps Server 后,在要添加到 Office Web Apps Server 服务器场中的每台服务器上运行 New-OfficeWebAppsMachine 命令。 对于 -MachineToJoin 参数,请使用已存在于 Office Web Apps Server 服务器场中的某台服务器的计算机名称。 例如,如果 server1.contoso.com 已在服务器场中,请使用以下名称:
在创建服务器场后,将在 Windows PowerShell 提示符中显示有关服务器场的详细信息。 若要验证是否正确安装并配置了 Office Web Apps Server,请使用 Web 浏览器访问 Office Web Apps Server 发现 URL,如下面的示例所示。 发现 URL 是你在配置 Office Web Apps Server 服务器场时指定的 InternalUrl 参数,后跟 /hosting/discovery。 例如:
https://server.contoso.com/hosting/discovery
如果 Office Web Apps Server 按预期运行,应该在 Web 浏览器中看到 Web 应用程序开放平台接口 (WOPI) 协议发现 XML 文件。 该文件的前几行应类似以下示例: