环境: 三台服务器  系统: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)使用共享的域用户登录网站,然后上传文档,新建文档,看看功能是否正常。

最新文章

  1. 【OpenWRT】【RT5350】【二】烧写OpenWrt到RT5350开发板
  2. php和js一起实现倒计时功能
  3. VM虚拟机忘记密码
  4. curl,chkconfig
  5. EBP的妙用[无法使用ESP定律时]
  6. centos如何安装python库?
  7. linkin大话面向对象--枚举
  8. mysql日期时间函数
  9. ORM 多表操作查询及增删改查
  10. 记录替换django的user模型出现的异常InconsistentMigrationHistory
  11. Html Title 标签
  12. web和app的简单测试区别和工具介绍
  13. week3个人作业
  14. 玩转 React 【第03期】:邂逅 React 组件
  15. String MVC @RequestParam(required=false) int XXX 参数为空报错解决方法
  16. G - DNA sequence HDU - 1560
  17. Caffe常用层参数介绍
  18. poj_2553 强连通分支&出度为0的点
  19. PHP Fatal error: Uncaught Error: Call to undefined function pcntl_fork().. 开启php pcntl扩展实现多进程
  20. 20145120 《Java程序设计》实验五实验报告

热门文章

  1. 【vim环境配置】详细实录
  2. day06_04 购物车讲解02
  3. 台州学院we are without brain 训练 后缀数组
  4. 团队项目-第九次scrum 会议
  5. 第二阶段团队冲刺-six
  6. UVALive 5029 字典树
  7. REST Web 服务(一)----REST 介绍
  8. 开头什么的肯定要自我介绍然后把它扔到置顶咯>_<~
  9. [POI2015][bzoj4383] Pustynia [线段树优化建图+拓扑排序]
  10. Spring Boot RabbitMQ 延迟消息实现完整版