前提条件
1、布置office web apps的Server必须加入域
2、安装Sharepoint Server的Server必须加入域
3、Server事先安装.net3.5,IIS7.0以上版本,至少windows身份验证模式,墨迹和手写服务。 3、数据库SQL2008r2 sp1补丁或者sql2012 4、此处并没有演示sharepoint2013的安装过程,请在此实验前安装好SQL和Sharepoint。
Office web app server2013不能跟sharepoint server2013安装在同一台服务器上,根据微软的资料如下图:
从图中可以注意到两点:
Ø Office Web Apps 2013作为一个独立的Server,是独立于SharePoint安装的,不再需要像SharePoint 2010的时候,需要和SharePoint服务器安装在一起(一定程度上节省了License的费用)。
Ø Office Web Apps 2013不仅可以为SharePoint提供Office文档的渲染服务(文档支持的格式没变,不包括PDF),而且可以为微软的Exchange Server和Lync Server提供文档渲染服务,更可以为共享文件夹甚至第三方的应用提供这一服务。
Office Web Apps Server和使用其服务的Server之间,是通过一个全新的WOPI(Web application Open Platform Interface)接口协议进行通信的,其对外通道依然是HTTP/HTTPS协议。Office Web Apps Server叫做WOPI APP,而使用这个服务的,叫做WOPI Host。
需要
Ø Powershell V3(http://www.microsoft.com/en-us/download/details.aspx?id=29939)
Ø .NET Framework4.5
Ø windows server 2008 R2 SP1
Ø Windows6.1-KB2592525-x64(http://www.microsoft.com/zh-cn/download/details.aspx?id=27929)
Office Web App Server 2013安装 第1步骤:如果是Windows Server 2008 R2需要首先执行如下
Import-Module ServerManager
Add-WindowsFeature Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,Web-Security,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Ink-Handwriting,IH-Ink-Support 如果是windows server2012
Import-Module ServerManager
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
然后再执行如下
Office Web App Server 2013配置
根据此图,接下来就是创建服务器场了,这个服务器场指的不是SharePoint场,而是Office Web Apps服务器场——这个服务器场中可以包含多个Office Web Apps Server,作不同的角色。创建的方式很简单,PowerShell: 第1步骤:
#加载Office Web Apps管理命令集,
Import-Module OfficeWebApps 第2步骤:
#创建服务器场
New-OfficeWebAppsFarm –InternalURL http://servername –AllowHttp –EditingEnabled
说明:servername为安装OWA(office web app server2013)的服务器名称 第3步骤:
#验证服务器场
http://servername/hosting/discovery
说明:
Office Web Apps Server 按预期运行,您应该在 Web 浏览器中看到 Web 应用程序开放平台接口 (WOPI) 发现 XML 文件。该文件的前几行应类似以下示例:
复制