1. 程式人生 > >sharepoint 2013 和 office web apps server 2013集成

sharepoint 2013 和 office web apps server 2013集成

enabled dap allow 功能 在線安裝 dom aspnet reg 程序

環境: 三臺服務器 系統:window 2008 R2
server01: 192.168.10.162(office web app)
server02: 192.168.10.163(AD)
server03: 192.168.10.164(sharepoint)


前提:1. server02配置好AD
2. server01和 server03 這兩臺服務器修改好機器名,加入域。

安裝office web app:
在server01上安裝office web app
1)安裝 .net framework 4.5 (http://go.microsoft.com/fwlink/p/?LinkId=256560)
安裝window2008 R2更新程序 (http://go.microsoft.com/fwlink/p/?LinkId=236954)
安裝window powershell 3.0 http://go.microsoft.com/fwlink/?LinkID=244693)
2)管理員運行powershell執行: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
3)安裝office web apps server
4)安裝office web apps補丁 http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=38378
5)安裝中文語言包:(http://go.microsoft.com/fwlink/p/?LinkId=296579)

配置office web apps
管理員打開powershell
1)新建場和開啟訪問:New-OfficeWebAppsFarm –InternalURL "http://app.lishen88.com" –AllowHttp –EditingEnabled
2)添加允許域:New-OfficeWebAppsHost -Domain lishen88.com
3)允許通過url訪問:Set-OfficeWebAppsFarm -OpenFromUrlEnabled:$true
測試office web apps是否正常
在瀏覽器訪問:
http://app.lishen88.com/hosting/discovery
http://app.lishen88.com/op/generate.aspx,生成文檔地址,然後訪問。
如果報內部錯誤,在cmd下執行:
%systemroot%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -iru
iisreset /restart /noforce
日誌:%programdata%\Microsoft\OfficeWebApps\Data\Logs\ULS\

安裝SharePoint:
1)安裝好sql server 2008 sp1,如果不是sp1,請打好補丁
2)打開sharepoint安裝目錄下的splash.hta,在線安裝依賴
3)依賴安裝完成後,安裝SharePoint。
4)執行SharePoint配置向導配置SharePoint。
5)執行配置SharePoint場向導,註意新建一個用戶作為服務用戶。

SharePoint和office web app的集成:
管理員打開SharePoint shell,執行下面操作
1)綁定:New-SPWOPIBinding -ServerName app.lishen88.com –AllowHTTP
2) 指定http訪問:Set-SPWOPIZone –zone “internal-http
查看:Get-SPWopiZone
3)查看是否允許http驗證:(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp
如果不是,執行:
$config = (Get-SPSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
$config.Update()
4. 保證claim to window token service 正常運行
保證Net.Pipe Lishener Adapter service 正常運行

5. 測試在線瀏覽和修改文檔
1)新建一個站點,以管理員打開,然後共享給一個域用戶。
2)使用共享的域用戶登錄網站,然後上傳文檔,新建文檔,看看功能是否正常。

sharepoint 2013 和 office web apps server 2013集成