在SharePoint Server 2010(英文版)上安装和配置Office web apps

来源:互联网 发布:斑马梦龙网络计划教程 编辑:程序博客网 时间:2024/06/12 01:12

参考官方文档,所以直接使用英文写配置过程了。

官方文档链接:http://technet.microsoft.com/en-us/library/ff431687.aspx

官方文档有一些繁琐和重复的地方,例如,要跑三个脚本 

./Start-WebAppSvcs.ps1 
./Create-SrvAppsProx.ps1 
./Activate-WebApps.ps1
在我实施的过程中发现,其实真正跑成功的就只有
./Create-SrvAppsProx.ps1
跑./Start-WebAppSvcs.ps1的时候提示,害我查了半天为什么会Null argument,后来果断无视,发现没有问题。
 
跑./Activate-WebApps.ps1的时候提示,就是这些服务已经激活了。

Steps:

1.       Run Setup.exe

2.       Enter your Product Key then click Continue.



3.       Accept the Microsoft Software License Terms then click Continue.



4.       Choose a file location then click Install Now.



5.       After installation, make sure Run the SharePoint Products Configuration Wizard now is checked and then click Close.



6.       On SharePoint Products Configuration Wizard, click Next.



7.       Click Yes.



8.       Click Next.



9.       Wait for configuration completes and then click Finish.





10.   On Central Administration Website,click Configuration Wizards.



11.   Click Launch the Farm Configuration Wizard.



12.   Click Start the Wizard.



13.   Click Next and leave all as default.



14.   Click Skip.



15.   Click Finish.



16.  Copy the script shown below into a text editor(Notepad) and save it as Create-SrvAppsProx.ps1

$appPool = Get-SPServiceApplicationPool-Identity "SharePoint Web Services Default"

New-SPWordViewingServiceApplication -Name"WdView" -ApplicationPool $appPool |New-SPWordViewingServiceApplicationProxy -Name "WdProxy"

New-SPPowerPointServiceApplication -Name"PPT" -ApplicationPool $appPool | New-SPPowerPointServiceApplicationProxy-Name "PPTProxy" –AddToDefaultGroup

17.   Open SharePoint 2010 Management Shell.

18.  Under the path of Create-SrvAppsProx.ps1, enter .\Create-SrvAppsProx.ps1 to run the script.



19.  Then you can edit Word, PowerPoint and Excel files online.


配置完成