部署Office Web Apps Server并配置其与SharePoint 2013的集成
Office Web Apps Server 是新的 Office 服务器产品,它提供 Word、PowerPoint、Excel 和 OneNote 的基于浏览器的版本。单个 Office Web Apps Server 服务器场可支持通过 SharePoint 2013、Lync Server 2013、Exchange Server 2013、共享文件夹和网站访问 Office 文件的用户。Office Web Apps Server 适用于支持 WOPI(Web 应用程序开放平台接口协议)的产品和服务。这些产品(称为主机)包括 SharePoint 2013、Lync Server 2013 和 Exchange Server 2013。Office Web Apps Server 服务器场可以为多个本地主机提供 Office 服务,并且您可以随着组织需要的增加将服务器场从一台服务器扩展到多台服务器。 Office Web Apps 2013是一个独立产品,部署 SharePoint 2013,则不必像以往一样需要优化 SharePoint 基础架构以支持 Office Web Apps。
在与 SharePoint Server 2013 一起使用时,Office Web Apps Server 可提供更新版本的 Word Web App、Excel Web App、PowerPoint Web App 和 OneNote Web App。用户可以通过在计算机和许多移动设备(例如 Windows Phone、iPhone、iPad 和 Windows 8 平板电脑)上使用受支持的 Web 浏览器来查看 SharePoint 库中的 Office 文档,有些情况下还可以编辑这些文档。在 Office Web Apps 中的许多新功能中,改进的触摸支持和编辑功能使 iPad 和 Windows 8 平板电脑的用户能够直接从其设备编辑和查看 Office 文档。
我的实验环境如下:
contoso-sp13.contoso.com (SharePoint 2013; OS: Windows Server 2012)
contoso-owa.contoso.com (Offie Web Apps Server 2013; OS: Windows Server 2012)
注意:Office Web Apps Server 现在是一款独立的产品,所以不能与SharePoint Server 安装在同一台服务器上,需要分开安装。也可以多台Office Web Apps Server 组成一个服务器场,我的实验环境只有一台OWA 服务器。
第一步:准备服务器以运行 Office Web Apps Server
第二步:Office Web Apps Server 服务器场
第三步:配置SharePoint 2013 以使用 Office Web Apps
第一步. 准备服务器以运行 Office Web Apps Server
1. 以管理员身份打开 Windows PowerShell 提示符,然后运行以下示例命令来安装必需的角色和服务。
Add-WindowsFeature Web-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
Windows Server 2008 R2 和Windows Server 2012 先决条件有所不同,可以参考: http://technet.microsoft.com/zh-cn/library/jj219455.aspx
2. 下载并安装 Office Web Apps Server 2012
3. 为 Office Web Apps Server 安装语言包, 下载链接:
第二步:部署 Office Web Apps Server 服务器场
1. 创建 Office Web Apps Server 服务器场
在Office Web Apps Server, 打开 PowerShell, 输入
Import-Module OfficeWebApps
New-OfficeWebAppsFarm –InternalURL “http://servername" –AllowHttp -EditingEnabled
我的 OWA server 有一个 A 记录 ‘owa.contoso.com’ 指向它, 所以我的命令行是
New-OfficeWebAppsFarm –InternalURL “http://owa.contoso.com" –AllowHttp -EditingEnabled
New-OfficeWebAppsFarm –InternalURL “http://owa.marstn.com" –AllowHttp -EditingEnabled
2. 验证是否成功创建了 Office Web Apps Server 服务器场
在浏览器中打开如下链接
如果 Office Web Apps Server 按预期运行,您应该在 Web 浏览器中看到 Web 应用程序开放平台接口 (WOPI) 发现 XML 文件。如下:
第三步:配置SharePoint 2013 以使用 Office Web Apps
详细文档可以参考:http://technet.microsoft.com/zh-cn/library/ff431687.aspx
这里我使用在 HTTP 的测试环境中将 SharePoint 2013 配置为使用 Office Web Apps Server
1. 创建 SharePoint 2013 和 Office Web Apps Server 之间的绑定
打开 SharePoint Management Shell, 输入
New-SPWOPIBinding -ServerName <WacServerName> -AllowHTTP
2. 查看针对 SharePoint 绑定的 WOPI 区域
Get-SPWOPIZone
如果通过执行步骤 3 获得的结果为 internal-https,则运行以下命令可将区域更改为 internal-http。您必须进行此更改,因为 SharePoint 2013 的区域必须匹配 Office Web Apps Server 服务器场的区域。
Set-SPWOPIZone –zone “internal-http”
通过运行以下命令来确认新的区域为 internal-http:
Get-SPWOPIZone
3.将 SharePoint 2013 中的 AllowOAuthOverHttp 设置更改为 True
若要在测试环境中通过 HTTP 将 SharePoint 2013 与 Office Web Apps 结合使用,您必须将 AllowOAuthOverHttp 设置为 True。否则,Office Web Apps 将不起作用。可通过运行以下示例来检查当前状态:
(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp
如果此命令返回 False,则运行下列命令可将其设置为 True。
$config = (Get-SPSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
$config.Update()
再次运行以下命令来验证 AllowOAuthOverHttp 设置现在是否设置为 True。
(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp
现在我们就可以轻松打开并且编辑一个SharePoint 2013 document library 里的office文档了。
也可以直接在网页上创建office 文档
测试到这里就结束了,希望这篇文章对你有帮
部署Office Web Apps Server并配置其与SharePoint 2013的集成的更多相关文章
- [转载]部署Office Web Apps Server并配置其与SharePoint 2013的集成
Office Web Apps Server 是新的 Office 服务器产品,它提供 Word.PowerPoint.Excel 和 OneNote 的基于浏览器的版本.单个 Office Web ...
- Windows Server 2012 R2安装部署Office Web Apps Server
微软官方参考地址https://technet.microsoft.com/zh-cn/library/jj219455.aspx,建议参考官方说明. 注意:每一步进行完成后重启服务器!!! 一. ...
- office web apps server安装部署
操作系统:windows 2012 软件下载地址: 链接:https://pan.baidu.com/s/1c3WWFs8 密码:4dcy NDP452-KB2901954-Web.exe(.Net ...
- Office Web Apps Server 概述
Office Web Apps Server 是新的 Office 服务器产品,它提供 Word.PowerPoint.Excel 和 OneNote 的基于浏览器的版本.单个 Office Web ...
- Office Web Apps Server
Office Web Apps Server Office Web Apps Server 是一款 Office 服务器产品,可提供针对 Office 文件的基于浏览器的文件查看和编辑服务.Offic ...
- Office Web Apps Server 2013与PDF(一)
好吧--这个消息有点旧,迟了将近4个月. Office Web Apps是微软各大服务产品系列中的一个基础服务,可以为SharePoint 2013.Exchange 2013.Lync 2013提供 ...
- sharepoint 2013 和 office web apps server 2013集成
环境: 三台服务器 系统:window 2008 R2server01: 192.168.10.162(office web app)server02: 192.168.10.163(AD)serv ...
- Office Web Apps Server 2013与PDF(二)
在上一篇文章(Office Web Apps Server 2013与PDF(一))中,曾经介绍了Office Web Apps Server 2013在更新后,可以直接对PDF文档进行在线的查看.不 ...
- 安装Office Web Apps Server 2013 – KB2592525安装失败
在Windows Server 2008 R2上安装 office web apps Server 的其中一个先决条件是 安装KB2592525. 但由于服务器已经打了SP1及其它大部分的patch, ...
随机推荐
- python 元祖(tuple)
元祖和列表几乎相同,但是元祖一旦初始化是不可变更内容的 元祖的表示方式是caassmates=(), 要记住所有列表能用的.元祖都能用,但是就是不能变内容 注:记住,在python中的元祖,为了引起不 ...
- 在Windows和UNIX下利用PHP和LDAP进行身份验证
我现在的老板曾要求我为企业内部的Web服务提供一种标准的身份验证方法.我遇到的一个主要问题就是我们公司主要使用了两种平台:UNIX和.所以,我的第一个想法并不很成功:它要求每个员工都使用UNIX或者L ...
- Mvc多级Views目录 asp.net mvc4 路由重写及 修改view 的寻找视图的规则
一般我们在mvc开发过程中,都会碰到这样的问题.页面总是写在Views文件夹下,而且还只能一个Controller的页面只能写在相应的以 Controller名命名的文件夹下.如果我们写到别处呢?那么 ...
- Opentack常用技巧
这篇博客将收集一些openstack里的使用技巧. 1. which dhcp agent is hosting the network? 2. 各个网桥port命令规则 grep for por ...
- 《疯狂Java:突破程序员基本功的16课》读书笔记-第二章 对象与内存控制
Java内存管理分为两个方面:内存分配和内存回收.这里的内存分配特指创建Java对象时JVM为该对象在堆内存中所分配的内存空间.内存回收指的是当该Java对象失去引用,变成垃圾时,JVM的垃圾回收机制 ...
- 【POJ 1061】青蛙的约会
题 Description 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面.它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止.可是它们出发之前忘记了一件很重要 ...
- Java编程思想学习(十五) 注解
注解Annotation又叫元数据,是JDK5中引入的一种以通用格式为程序提供配置信息的方式.使用注解Annotation可以使元数据写在程序源码中,使得代码看起来简洁,同时编译器也提供了对注解Ann ...
- 【BZOJ】【1009】 【HNOI2008】GT考试
DP/KMP/矩阵乘法 好神的题啊……跪了跪了 $n\leq 10^9$是什么鬼……我们还是先不要考虑这个鬼畜的玩意了>_> 用类似数位DP的思路,我们可以想到一个DP方程:$f[i][j ...
- Opencv加载和显示图片
#include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <ios ...
- [转载]高效使用matlab之四:一个加速matlab程序的例子
原文地址:http://www.bfcat.com/index.php/2012/11/speed-up-app/ 这篇文章原文是matlab网站上的,我把它翻译过来同时自己也学习一下.原文见这里 这 ...