Windows2008R2部署SharePoint Server 2013(3)---配置Office Web Apps Server2013

8、安装Office Web Apps Server2013

Office Web Apps Server 2013介绍Office Web Apps Server 是新的 Office 服务器产品,它提供 Word、PowerPoint、Excel 和 OneNote 的基于浏览器的版本。单个 Office Web Apps Server 服务器场可支持通过 SharePoint 2013、Lync Server 2013、Exchange Server 2013、共享文件夹和网站访问 Office 文件的用户。新的独立部署模型意味着您可以独立于组织中部署的其他 Office Server 产品管理 Office Web Apps Server 服务器场的更新。

1)登陆OWA服务器  
2)安装以下软件:

(1)Windows Server 2008 R2 Service Pack 1

(2).NET Framework 4.5

(3)Windows PowerShell 3.0

(4)KB2592525

3)安装必备Windows组件:

在powershell下面运行:

Import-Module ServerManager

4)运行一下命令

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

clip_p_w_picpath002[1]

5)重启计算机

6)开始安装

clip_p_w_picpath003

7)下一步  
clip_p_w_picpath004

8)关闭  
clip_p_w_picpath005

9)安装中文语言包  
wacserverlanguagepack.exe

clip_p_w_picpath006

clip_p_w_picpath007

9、配置OWA

1)登陆OWA服务器

2)打开powershell

创建 Office Web Apps Server 服务器场

New-OfficeWebAppsFarm –InternalURL "http://owa.test.com" –AllowHttp -EditingEnabled

clip_p_w_picpath008

3)重启IIS

iisreset /restart /noforce

4)IE输入

http://owa.test.com/hosting/discovery

如果出现如图:

clip_p_w_picpath010[1]

在命令行中运行,

%systemroot%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -iru

)clip_p_w_picpath011

5)重启IIS

6)重新打开以上网站,出现如图,说明OWA已经安装完成。

clip_p_w_picpath013

10、配置OWA与Sharepoint2013结合

1)登陆SP服务器

2)以管理员身份运行“SharePoint 2013 命令行管理程序”

3)创建 SharePoint 2013 和 Office Web Apps Server 之间的绑定

New-SPWOPIBinding -ServerName owa.test.com -AllowHTTP

owa.test.com为OWA的FQDN

clip_p_w_picpath014

4)查看针对 SharePoint 绑定的 WOPI 区域

Get-SPWOPIZone

运行此命令后,您应看到显示的 WOPI 区域。它应为 internal-https

clip_p_w_picpath015

5)将 WOPI 区域更改为 internal-http

Set-SPWOPIZone –zone “internal-http”

clip_p_w_picpath016

clip_p_w_picpath017

6)将 SharePoint 2013 中的 AllowOAuthOverHttp 设置更改为 True。

(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp

clip_p_w_picpath018

如果此命令返回 False,则运行下列命令可将其设置为 True。

$config = (Get-SPSecurityTokenServiceConfig)

$config.AllowOAuthOverHttp = $true

$config.Update()

再次运行以下命令来验证 AllowOAuthOverHttp 设置现在是否设置为 True。

(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp

clip_p_w_picpath019