部署Office Web Apps Server 2013

 要在测试环境中部署 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,当您安装新版本,若是不使用新安装的服务器启动时,您可能仍是有问题。ide

部署在测试环境中的单服务器 Office Web Apps Server 农场测试

此处的信息将帮助您安装一个单服务器Office Web Apps Server 农场,在测试环境中使用 HTTP。你不须要证书或负载平衡器中,但您须要专用的物理服务器或未运行任何其余服务器应用程序的虚拟机实例。您可使用此Office Web Apps Server 农场向SharePoint 2013 年和 Exchange Server2013,提供Office Web Apps 功能,但应注意下列限制:rest

环境能够只能由内部用户访问。配置没有外部 URL。 环境不能用 Lync Server 2013,这要求 HTTPS。orm

其余部署方案例如那些使用 HTTPS、 负载平衡和内部和外部 Url,将提供在未来对这篇文章的更新。server

第 1 步:准备要运行 Office Web AppsServer 2013 的测试服务器部署

1. 为 Office Web Apps Server 2013 安装必备软件cmd

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

 

New-OfficeWebAppsFarm –Verbose -InternalURL http://WAC –EditingEnabled–AllowHttp

 

第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 正常运行下面的示例命令:

 

%systemroot%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe-iru

 

iisreset /restart /noforce

步骤 4: 配置主机

如今准备为主机提供 Office Web Apps 的功能,经过 HTTP 在农场。任务: 参考

这些程序被引用本文前面部分中描述的部署方案。有关部署方案,以确保正确配置您的服务器,请参阅。

为 Office Web Apps Server 2013安装必备软件

要运行 Office Web Apps Server 2013 的全部服务器上执行下列步骤

准备运行 WindowsServer2008R2 的服务器 安装了下列软件: WindowsServer2008R2 Service 1 Pack 和全部必需的更新 .NET Framework 4.5 钢筋混凝土 Windows Power Shell 3.0 下一步,打开 Windows Power Shell 提示以管理员的身份,并运行下面的示例命令,要安装须要的角色和服务。

为 WindowsServer2008R2

Import-Module ServerManager

而后再运行:

Add-WindowsFeatureWeb-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,Web-Security,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Ink-Handwriting,IH-Ink-Support

准备运行 WindowsServer2012 的服务器 你须要在运行 Office Web Apps Server 的服务器上导入 Windows Power Shell 的 Office Web Application 模块。要这样作,打开做为管理员的 Windows Power Shell 提示符处,键入下面的命令,而后按 ENTER。

为 WindowsServer2012

Import-Module ServerManager

而后再运行:

Add-WindowsFeatureWeb-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

而后再运行:

Import-Module OfficeWebApps

导入模块将 OfficeWebServercmdlet 加载到您的Windows PowerShell 的实例。要验证已加载 cmdlet,PowerShell 提示符下键入如下命令,而后按 ENTER:

Get-Command "*Office*"

Office Web Apps 模块中的全部cmdlet 的列表将显示。要得到与cmdlet 的任何帮助,请键入如下命令:

Get-Help cmdletname

 

设置OpenFromUrl为true

Set-OfficeWebAppsFarmOpenFromUrlEnabled

相关文章
相关标签/搜索