若要在测试环境中部署 Office Web AppsServer 2013,您安装必备软件、 服务器角色、 服务和功能,然后安装Office Web Apps Server 2013。下一步,您可以使用 Windows PowerShell 来创建一个单服务器Office Web Apps Server 农场。
在开始之前
我们建议您查看的要求和指导方针,在继续之前,计划Office Web Apps Server 2013 中所描述的。我们还建议您开始WindowsServer2008R2 服务包 1 或WindowsServer2012 的全新安装。新安装的服务器上,是否一个物理服务器或虚拟机实例,减少了配置问题而引起的Office Web Apps Server 2013 的较早版本的可能性。甚至您删除现有的Office Web Appserver 农场和卸载先前版本的 Office Web Apps Server 2013,当您安装新版本,如果不使用新安装的服务器启动时,您可能还是有问题。
部署在测试环境中的单服务器 Office Web Apps Server 农场
此处的信息将帮助您安装一个单服务器Office Web Apps Server 农场,在测试环境中使用 HTTP。你不需要证书或负载平衡器中,但您需要专用的物理服务器或未运行任何其他服务器应用程序的虚拟机实例。您可以使用此Office Web Apps Server 农场向SharePoint 2013 年和 Exchange Server2013,提供Office Web Apps 功能,但应注意下列限制:
环境可以只能由内部用户访问。配置没有外部 URL。 环境不能用 Lync Server 2013,这要求 HTTPS。
其他部署方案例如那些使用 HTTPS、 负载平衡和内部和外部 Url,将提供在将来对这篇文章的更新。
第 1 步:准备要运行 Office Web AppsServer 2013 的测试服务器
1. 为 Office Web Apps Server 2013 安装必备软件
2. 安装 Office Web Apps Server 2013
3. 配置 Windows Power Shell 并导入的Office Web Apps 模块
步骤2:创建Office Web Apps Server 农场
下面的示例中的代码创建一个新的Office Web Apps Server 农场,由一台服务器组成。您为–InternalURL指定的URL 是服务器的运行Office Web Apps Server 2013,如http://servername的名称。–AllowHttp参数配置农场使用HTTP,和–EditingEnabled参数使SharePoint 2013 并使用它时在Office Web Apps 中进行编辑。
New-OfficeWebAppsFarm -InternalURL http://WAC –AllowHttp –EditingEnabled
第3 步:验证已成功创建Office Web Apps Server 农场
农场创建后,WindowsPower Shell 提示中显示有关农场的详细信息。若要验证Office Web Apps Server 2013 已安装并正确配置,使用Web 浏览器访问Office Web Apps Server 2013 发现的URL,如下面的示例中所示。当您配置你的Office Web Apps Server 农场,它后面跟着/hosting/discovery 分配给InternalUrl 参数的值组成的发现URL。
http://servername/hosting/discovery
如果Office Web Apps Server 2013 将按预期工作,您应该看到一个 Web 应用开放平台接 (WOPI)-在您的 Web 浏览器中发现 XML 文件。该文件的前几行应类似于下面的示例:
-
-
-
注意:
如果组件。 NETFramework3.5 被安装,然后删除,当您运行 Office Web Apps cmdlet 时,您可能会看到"500 Web 服务异常"500.21 — — 内部服务器错误"消息。若要解决此问题,从提升的命令提示符来清理设置,可以防止 Office Web Apps Server 正常运行下面的示例命令: