原文发布于 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. Qt Style Sheets Examples——定制前景色和背景色

    例子取自:http://qt-project.org/doc/qt-4.8/stylesheet-examples.html 以lineEdit为例 (1)设置某个lineEdit的背景色为黄色 li ...

  2. Making Your ActionBar Not Boring

    这篇文章转自国外一个技术大牛的博客,首先感谢这位大牛的无私奉献. Android应用中有一名位 Google书报摊的应用,他实现了一种新的ActionBar风格.当用户初始进入该界面的时候,为一个透明 ...

  3. VC文件夹大小(转)

    使用自带的类 CFileFind finder.FindNextFile();  遍历所有文件,按照修改时间顺序遍历 //参数输入 文件夹路径 //返回文件夹大小 byte DWORD GetDirS ...

  4. Core Animation 学习

    core animation 是在UIKit层之下的一个图形库,用于在iOS 和 OS X 实现动画. Core Animation管理App内容 core animation不是一个完整的绘图系统, ...

  5. vmware workstation11+centos7+lnmp一键安装包 环境搭建

    vmware workstation11 1.下载:http://pan.baidu.com/s/1gecipOJ 2.安装:直接下一步. centos7 1.下载:网易镜像 http://mirro ...

  6. js时间对象格式化 format(转载)

    /** * 时间对象的格式化 */ Date.prototype.format = function(format){ /* * format="yyyy-MM-dd hh:mm:ss&qu ...

  7. 使用 CSS3 打造一组质感细腻丝滑的按钮

    CSS3 引入了众多供功能强大的新特性,让设计和开发人员能够轻松的创作出各种精美的界面效果.下面这些发出闪亮光泽的按钮,很漂亮吧?把鼠标悬停在按钮上,还有动感的光泽移动效果. 温馨提示:为保证最佳的效 ...

  8. JS设计模式1-单例模式

    单例模式是一种常用的模式,有一些对象我们往往只需要一个,比如全局缓存,window对象.单例模式在js开发中单例模式的用途非常广泛,比如页面中有一个登录浮窗,无论单击多少次登录窗口,这个窗口只会创建一 ...

  9. SQL Server中的事务日志管理(1/9):事务日志概况

    当一切正常时,没有必要特别留意什么是事务日志,它是如何工作的.你只要确保每个数据库都有正确的备份.当出现问题时,事务日志的理解对于采取修正操作是重要的,尤其在需要紧急恢复数据库到指定点时.这系列文章会 ...

  10. Greedy --- HNU 13320 Please, go first

    Please, go first Problem's Link: http://acm.hnu.cn/online/?action=problem&type=show&id=13320 ...