第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 /library/jj219455(v=office.15).aspx
我這裏機器名叫:OWA
New-OfficeWebAppsFarm –InternalURL http://OWA –AllowHttp –EditingEnabled
選擇Y
解釋:這其中需要解釋的壹個是AllowHttp:這個是配置是否允許通過HTTP方式訪問的(默認情況下是通過HTTPS);第二個是EditingEnabled,如果需要在瀏覽器中編輯文檔,則需要加上這個參數(另外,按照官方文檔的介紹,在SharePoint中,用戶是否可以在瀏覽器中編輯文檔,是需要有單獨的License配置的,這個所謂License的概念就是類似Standard CAL、Enterprise CAL的概念,只不過以前這個只能從服務器級別區分,而在2013中可以在用戶級別區分了)
註意:提示安裝過程會提示如下錯誤
此時只需要添加服務器功能如下圖:
0?1 啟用“墨跡支持”服務安裝完畢系統會自動重啟服務器接著完成安裝即可。