原文发布于 2012 年 7 月 23 日(星期一)

如您所知或您即将知道,SharePoint 2013 中的 Office Web Apps 不再是 SharePoint 场中的服务应用程序。相反,它已作为一个单独的场来安装,这可为您带来诸多益处。例如:多个 SharePoint 和 Exchange 场之间的重复使用以及单独的修补计划等。但在开始了解如何将 Office Web Apps 场与 SharePoint 场相连时,可能会感觉到有点困惑。以下是有关 Office Web Apps 安装的先决条件以及如何将这些场连接在一起的信息。

先决条件

Office Web Apps 与 SharePoint 2013 不同,它没有先决条件安装程序。因此,必须在开始安装之前,先单独安装以下组件。

  1. 安装 PowerShell 3.0(目前,RC1 是最新版本:http://www.microsoft.com/en-us/download/details.aspx?Id=29939(该链接可能指向英文页面)
  2. 安装 .NET 4.5(目前,RC 是最新版本:http://www.microsoft.com/visualstudio/11/zh-cn/downloads#net-45)。重要提示:如果安装程序在安装期间关闭任何 .NET 4.5 侦听器,则必须重新启动服务器才能安装 WAC。否则,将会出现许多错误,例如:找不到端点、未侦听或事件查看器中的 Office Web Apps 应用程序节点拒绝连接,您将无法呈现任何文档。
  3. 安装此修补程序:http://www.microsoft.com/zh-cn/download/details.aspx?id=27928

现在,您可以安装 Office Web Apps 了。安装后,需要新建 Office Web Apps 场,或将服务器加入到现有场。在本例中,我仅介绍如何新建场。要通过 PowerShell 将服务器添加到场,仅需在 PowerShell 中执行 get-command *office* 命令。要创建场,请执行以下操作:

  1. 转到“开始…运行”并键入 powershell,打开 PowerShell。
  2. 结合使用 HTTPS 和 WAC:(建议):
    1. 利用服务器完全限定域名创建要使用的 SSL 证书,并记下创建证书时使用的友好名称。您应使用 IIS 来请求证书,从而确保该证书在正确的证书存储中创建。
    2. 使用以下 PowerShell 命令配置 WAC 场:New-OfficeWebAppsFarm -Verbose -InternalUrlhttps://<machinename> -ExternalUrl https://<fully.qualified.machine.name> -CertificateName <FriendlyNameOfCertificateFromPreviousStep> -ClipartEnabled -TranslationEnable
  3. 结合使用 HTTP 和 WAC(不建议):
    1. 使用以下 PowerShell 命令在 WAC 服务器上配置 WAC 场:New-OfficeWebAppsFarm -Verbose -InternalURL http://<machinename> -ExternalUrl http://<fully.qualified.machine.name> -AllowHttp -ClipartEnabled –TranslationEnabled

现在,Office Web Apps 场已启动并正常运行,您可以连接到 SharePoint 场。为此,请登录 SharePoint 场中的任一服务器,然后打开 SharePoint PowerShell 命令窗口。使用以下命令连接到 Office Web Apps 场:

  1. 结合使用 HTTPS 和 WAC(建议):
    1. 使用以下 PowerShell 命令创建 WAC 连接:New-SPWOPIBinding -ServerName <fully.qualified.machine.name of WAC server>
  2. 结合使用 HTTP 和 WAC(不建议,注意:如果没有将 Office Web Apps 配置为支持 HTTP,则命令将无法执行):
    1. 使用以下 PowerShell 命令创建从 SharePoint 场到 WAC 场的连接:New-SPWOPIBinding -ServerName <NameOfWacServer> -AllowHTTP
    2. 在 SharePoint 服务器上运行以下命令(注意,结尾没有“s”):Set-SPWopiZone internal-http

通常,应将 Office Web Apps 配置为使用 HTTPS。这是因为在每个 SharePoint 场、HTTP 或 HTTPS 中,只能绑定一个 WopiZone。如果同时具有 HTTP 和 HTTPS Web Apps 区域,则需将 Office Web Apps 配置为使用 HTTPS。如果仅配置为使用 HTTP,则在位于 HTTPS 网站且尝试呈现 HTTP Office Web Apps 时,将收到混合内容的警告。但是,如果尝试在 HTTP web app 区域中呈现 HTTPS Office Web Apps 时,则不会收到任何警告。此外,由于访问令牌将在 SharePoint 和 Office Web Apps 服务器之间传递,使用 SSL 加密的通信更安全,这样便无法发现和重播通信。

这是一篇本地化的博客文章。请访问 Configuring Office Web Apps in SharePoint 2013以查看原文

在 SharePoint 2013 中配置 Office Web Apps的更多相关文章

  1. 【Office Web Apps】在 SharePoint 中使用 Office Web Apps

    在 SharePoint 中使用 Office Web Apps 在安装并配置了 Microsoft Office Web Apps 的 SharePoint 网站上,通过 Office Web Ap ...

  2. 新手必看!Office Web Apps 2013 安装与配置(实战)

    分享人:广州华软 星尘 一. 前言 Office Web Apps Server 是Office 服务器产品,它可提供在Sharepoint 2013网站中在线浏览和编辑 Word.PowerPoin ...

  3. [转载]部署Office Web Apps Server并配置其与SharePoint 2013的集成

    Office Web Apps Server 是新的 Office 服务器产品,它提供 Word.PowerPoint.Excel 和 OneNote 的基于浏览器的版本.单个 Office Web ...

  4. SharePoint 2013中Office Web Apps的一次排错

    转自http://www.cnblogs.com/awpatp/archive/2013/06/06/3121420.html, 仅供自己查看 笔者尝试在自己的测试环境中为SharePoint 201 ...

  5. 部署Office Web Apps Server并配置其与SharePoint 2013的集成

    部署Office Web Apps Server并配置其与SharePoint 2013的集成   Office Web Apps Server 是新的 Office 服务器产品,它提供 Word.P ...

  6. Office Web Apps Server 概述

    Office Web Apps Server 是新的 Office 服务器产品,它提供 Word.PowerPoint.Excel 和 OneNote 的基于浏览器的版本.单个 Office Web ...

  7. Office Web Apps Server(1)

         Office Web Apps Server runs on one or more servers and provides browser-based Office file viewi ...

  8. sharepoint 2013 和 office web apps server 2013集成

    环境: 三台服务器  系统:window 2008 R2server01: 192.168.10.162(office web app)server02: 192.168.10.163(AD)serv ...

  9. Office Web Apps Server 2013与PDF(一)

    好吧--这个消息有点旧,迟了将近4个月. Office Web Apps是微软各大服务产品系列中的一个基础服务,可以为SharePoint 2013.Exchange 2013.Lync 2013提供 ...

随机推荐

  1. VPN理论简单介绍(转载)

    标签:VPN理论简单介绍 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.http://lvnian.blog.51cto.com/715528 ...

  2. 实现无锁的栈与队列(5):Hazard Pointer

    两年多以前随手写了点与 lock free 相关的笔记:1,2,3,4,质量都不是很高其实(读者见谅),但两年来陆陆续续竟也有些阅读量了(可见剑走偏锋的技巧是多容易吸引眼球).笔记当中在解决内存释放和 ...

  3. ARM Linux 3.x的设备树(Device Tree)

    1. ARM Device Tree起源 Linus Torvalds在2011年3月17日的ARM Linux邮件列表宣称“this whole ARM thing is a f*cking pai ...

  4. Apache+tomcat+mod_jk+centos6.2负载均衡集群配置--转载

    转载地址:http://blog.163.com/chenhui_java/blog/static/17267249420128101191860/ 注: 由于长期受转载毒害,所以本人日志均是原创:其 ...

  5. HTTP状态码大全(转自wiki)

    1xx消息 这一类型的状态码,代表请求已被接受,需要继续处理.这类响应是临时响应,只包含状态行和某些可选的响应头信息,并以空行结束.由于HTTP/1.0协议中没有定义任何1xx状态码,所以除非在某些试 ...

  6. [C] static和extern的作用

    static: 当用于函数定义或者代码块之外的变量声明时,static关键字用于修改标识符的链接属性,从external改为internal. 当用于代码块内部的变量声明时,static关键字用于修改 ...

  7. 关于开发Windows服务程序容易搞混的地方!

    在开发Windows服务程序时,我们一般需要添加安装程序,即:serviceInstaller,里面有几个关于名称属性,你都搞明白了吗? 1.Description:表示服务说明(描述服务是干什么的) ...

  8. C#设计模式——外观模式(Facade Pattern)

    一.概述 在系统设计中,某一个系统可能非常庞大,用户要使用该系统就不得不掌握大量的接口,造成使用的不便.这时可以考虑将该系统细分成一系列子系统并使子系统间的耦合降到最低,利用外观模式提供一个外观对象, ...

  9. AccessHelper

    代码: using System; using System.Data; using System.Configuration; using System.Data.OleDb; using ahwi ...

  10. C# Form实现自定义光标

    WinForm代码如下: using System; using System.Reflection; using System.Runtime.InteropServices; using Syst ...