1、此示例将删除运行此 cmdlet 的当前 SharePoint 场上的所有绑定。Remove-SPWOPIBinding -All:$true2、设置绑定New-SPWOPIBinding -ServerName  owa.neoway.com.cn:88  -AllowHTTP

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 文档。www.it165.net

我的实验环境如下:
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
Download link: http://www.microsoft.com/en-us/download/details.aspx?id=35489

3. 为 Office Web Apps Server 安装语言包, 下载链接:
 
http://www.microsoft.com/zh-cn/download/details.aspx?id=35490

第二步:部署 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
 
 
 

 
2. 验证是否成功创建了 Office Web Apps Server 服务器场
在浏览器中打开如下链接
http://servername/hosting/discovery
 
如果 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 文档



 
测试到这里就结束了,希望这篇文章对你有帮助!

转载于:https://www.cnblogs.com/jackalliu/p/4498245.html

部署Office Web Apps Server并配置其与SharePoint 2013的集成相关推荐

  1. office 在线浏览和编辑 部署 Office Web Apps Server

    Office Web Apps Server Office Web Apps Server 是一款 Office 服务器产品,可提供针对 Office 文件的基于浏览器的文件查看和编辑服务.Offic ...

  2. 部署Office Web Apps Server 实现office在线编辑预览,office-online

    提示:此版本为旧版最新版本请访问部署Office Online Server服务 一:准备工作: 1.两台Windows机器我用的是[Windows Server 2012 r2]可以找度娘要下 2. ...

  3. SharePoint 2013 OWA(Office Web Apps) 连接与配置

    SharePoint 2013 OWA(Office Web Apps) 连接与配置 接上篇内容: 参考地址: https://technet.microsoft.com/zh-cn/library/ ...

  4. Lync server 2013 之office web apps server 搭建步骤

    office web apps server 搭建步骤: 一. .NET Framework 4.5 节点下的HTTP 激活 .NET Framework 3.5 Windows Identity F ...

  5. 部署 Office Web Apps(2)

    在自家笔记本上的虚拟机上测试安装Office Web Apps,下载一堆东西,折腾两天,终于可用了,但在浏览器自己开发的web应用中编辑office文档,还需研究.使用Office Web Apps ...

  6. 反向代理OWA(Office Online Server/Office Web Apps Server)使用8080或其他除默认80以外端口的解决方法

    场景: 使用owa(Office Web Apps) 2013 或者OOS(Office Online Server) 2016/2017,因为某种原因需要代理到公网(不可使用80端口). 同样适用于 ...

  7. 0. Office Web Apps简介

      Office Web Apps简介 关于 Office Web Apps Server Office Web Apps Server 是一种 Office 服务器产品,它为 Office 文件提供 ...

  8. Office Web Apps证书的申请步骤讲解

    Office Web Apps证书的申请步骤讲解 我的Lync server 2013环境介绍 内部域名contoso.com,外部域为tiancang.net, 两个前端服务器,fe01.conto ...

  9. Office Web Apps所需证书的申请分配部署详解

    最近看到博客中不少朋友都在说Office Web Apps证书相关的问题,为此在这里我主要的来跟大家一起交流下Office Web Apps证书的相关内容.从我们目前的部署来说,想必所有朋友都知道Of ...

最新文章

  1. 2020-12-11 Python yield 使用浅析
  2. 6、日期格式化(DateFormat类和SimpleDateFormat类)
  3. X-AdminABP框架开发-系统日志
  4. 8、oracle数据库下的索引
  5. linux系统如何拨号上网连接,教你在Linux下如何使用ADSL拨号上网
  6. 吹毛求疵C#(1)明确赋值检查缺陷
  7. openjudge #输出一个整数序列中与指定数字相同的数的个数。
  8. androidstuio实现页面跳转_vue-router 基础:4类路由跳转示例
  9. wpf image控件循环显示图片 以达到动画效果 问题及解决方案
  10. python三大禁忌_Python2.7 和 Python3.5 是两个不同版本的 Python ,它们之间并不相互兼容。_学小易找答案...
  11. 4.re包学习(正则表达式)
  12. 2021深圳各中学高考成绩查询,深圳四大高中在2021年高考深一模的前500名分布数据...
  13. 防止暴利破解,拒绝ip登陆
  14. 怎么上传云班课的计算机作业,太棒了!云班课助你轻松玩转这9种作业!
  15. excel中怎么拆分表格
  16. 2017安卓开发工程师面试题总结
  17. 山石防火墙命令查看配置_Hillstone常用配置命令整理
  18. 领域模型-软件需求分析
  19. stm32封装库官网下载方法 bxl下载
  20. 一维地震子波合成记录c语言,地震子波波形显示及一维地震合成记录

热门文章

  1. 安卓代码跟踪方式学习笔记
  2. anasys hpc集群_这可能是最简单的并行方案,如何基于 AWS ParallelCluster 运行 ANSYS Fluent...
  3. JZOJ 5390. 【NOIP2017提高A组模拟9.26】逗气
  4. 燕京理工学院java期末_英华学堂燕京理工学院的答案
  5. linux redhat5.5终端打不开,为什么在 RedHat Linux 5 下不能使用 ifconfig 命令
  6. 三角形css_使用css绘制三角形
  7. jquery清空div内容_jQuery常用功能
  8. python列表内数字排序_如何在Python中手动排序数字列表?
  9. 飞鸽快递系统代码_自动售卖机、视觉+重力柜、自动寻址机、智能寄存柜解决方案及整套源代码...
  10. AtCoder AGC004E Salvage Robots (DP)