14
SharePoint Server 2013 Tips Office Web Apps 安安安安安 Jade Freeman Jade Lab @ CAREY Software Service 2015/08/28

Office Web Apps Installation

Embed Size (px)

Citation preview

SharePoint Server 2013 Tips

Office Web Apps 安裝與配置

Jade Freeman

Jade Lab @ CAREY Software Service2015/08/28

NotificationBefore the Content• 以 SharePoint 2013 版本為基礎• 內容來自 Microsoft 官方網站、 SharePoint 相關社群、個人長期實作經驗之綜合整理,不代表任何官方說法或立場• 內行看門道,外行看熱鬧。前提是您對 SharePoint 有興趣。

OWA 基礎安裝架構規劃• 於 SharePoint Farm 之外,獨立安裝一組 Office Web Apps Farm 提供服務• 該主機加入與 SharePoint Farm 相同之 AD 網域

OWA 基礎安裝安裝前準備• 若 OWA 主機作業系統為 Window 2008 R2 之相關版本,請先確認一下先決條件是否成立:

(1) IIS7 同時啟用 .net 4.0 支援(2) 安裝 KB2592525(3) 安裝 Window Powershell 3.0

• 根據實務經驗,若作業系統為 Windows Server 2012 以上版本,則毋須安裝上述條件(就算強行安裝,安裝程式也會因為版本相容性自動取消或停止安裝)

OWA 基礎安裝Step1:OWA 主機需啟用 IIS7.0

OWA 基礎安裝Step2: 啟用 識別與手寫功能

OWA 基礎安裝Step3: 以管理員身份執行 OWA 安裝程式

OWA 基礎安裝Step4: 以管理員身份啟動 Windows Powershell

Powershell 啟動後,執行以下指令Import-module OfficeWebApps

New-OfficeWebAppsFarm –internalURL http://owa.jadelab.com –AllowHttp-editingEnabled

其中 http://owa.jadelab.com 為目前實際安裝之主機 FQDN

OWA 基礎安裝Step5: 開啟 IIS 管理員,瀏覽 hosting 站台下的Discovery.ashx 確認安裝

SharePoint 2013 啟用

OWAStep1: 以 SharePoint 管理員身份,遠端登入SharePoint 主機Step2: 以管理員身份開啟 SharePoint Powershell 指令介面

SharePoint 2013 啟用

OWAStep3: 建立新的 OWA 繫結New-SPWOPIBinging –ServeName owa.jadelab.com -AllowHttp其中 owa.jadelab.com 為實際 OWA所在主機之 FQDN

Step4: 將 WOPI 設定支援 http 通訊協定Set-SPWOPIZone –zone “internal-http”

SharePoint 2013 啟用

OWAStep5: 設定 SharePoint 2013 可以透過 http 通訊協定傳送 Oauth 資料$config = (Get-SPSecurityTokenServiceConfig)$config.AllowOAuthOverHttp = $true$config.Update()

SharePoint 2013 啟用

OWAStep6: 安裝後驗證直接點選 SharePoint 2013上文件庫內之相關 Office文件,若正常由瀏覽器顯示相關文件內容,則表示安裝無誤。