原文发布于 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. 【eoe 6】ActionBar的使用

    一. Action Bar 一般位于屏幕顶部,包括四个可操作区域: 应用图标或LOGO区域,用于视图控制的Spinner下拉菜单或TAB控件区域, Action button(也称为Action It ...

  2. MDX 占比同比环比

    http://blog.csdn.net/hero_hegang/article/details/9072889

  3. div 等高

    padding-bottom: 5000px; margin-bottom: -5000px;

  4. ThinkJS 项目用 WebStorm 来设置断点与调试

    1. 前置条件.已按ThinkJS 2.0 文档 之 <创建项目> 建好项目. 说明a: 本示例创建项目名为wagang,使用es6配置: thinkjs new wagang --es6 ...

  5. SNF开发平台WinForm之十二-发送手机短信功能调用-金笛-SNF快速开发平台3.3-Spring.Net.Framework

    1.调用前组装参数 2.调用发送信息服务脚本   .调用前组装参数: BaseSendTaskEntity entity = new BaseSendTaskEntity(); entity.Mess ...

  6. How ADB works

    ADB (Android Debug Bridge): How it works? 2012.2.6 early draft Tetsuyuki Kobayashi What is ADB? If y ...

  7. 转 iOS Core Animation 动画 入门学习(一)基础

    iOS Core Animation 动画 入门学习(一)基础 reference:https://developer.apple.com/library/ios/documentation/Coco ...

  8. Connecting my Particle Photon Internet of Things device to the Azure IoT Hub(Translation)

    原文: http://www.hanselman.com/blog/ConnectingMyParticlePhotonInternetOfThingsDeviceToTheAzureIoTHub.a ...

  9. Awk by Example--转载

    原文地址: http://www.funtoo.org/Awk_by_Example,_Part_1?ref=dzone http://www.funtoo.org/Awk_by_Example,_P ...

  10. [git]解决rebase冲突

    git pull --rebase时产生冲突 有三个选项: git rebase --skip 效果是:抛弃本地的commit,采用远程的commit(慎用因为你本地的修改就会都没有!) git re ...