zoukankan      html  css  js  c++  java
  • Windows Server 2012 R2安装部署Office Web Apps Server

    微软官方参考地址https://technet.microsoft.com/zh-cn/library/jj219455.aspx,建议参考官方说明。

     

    注意:每一步进行完成后重启服务器!!!

     

    一、              安装Office Web Apps的服务器除了Office Web Apps之外,不能安装其他应用。包括不能安装Office,lync,,sharepoint等应用,即要单独部署。(如果安装过以上软件要确保卸载干净);

     

    二、              安装.NET Framework 4.5.2

     

    三、              以管理员身份打开 Windows PowerShell 提示符,然后运行此命令示例来安装必需的角色和服务。

    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,NET-Framework-Features,NET-Framework-Core,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45

    注:如果这一步命令报错,出现这种报错信息,意味着你的本机没有源路径,找不到对应的安装源,这个时候要将win server 2012 r2系统iso文件装载,这里我选择的是D盘,因为winserver的系统装载在D盘这个盘符下,就在命令最后加上源文件的路径,-Source D:SourcesSxS,报错内容为如图所示:

    四、              安装Office Web Apps Server

     

    五、              安装Office Web Apps Server SP1

     

    六、              安装Office Web Apps Server语言包

     

    七、              部署 Office Web Apps Server 场

    1、创建 Office Web Apps Server 服务器场

    以管理员身份打开 Windows PowerShell 提示符

    New-OfficeWebAppsFarm -InternalURL "http://servername" -AllowHttp -EditingEnabled

     

    2、验证是否成功创建了 Office Web Apps Server 服务器场

            http://servername/hosting/discovery

    这个集成的过程,就是启用Office Web Apps服务器场来渲染/编辑SharePoint文档库中的Office文档。
    这个配置也很简单,打开SharePoint的PowerShell脚本窗口,执行两句话:
    1: New-SPWOPIBinding -ServerName <WacServerName> -AllowHTTP

    注:WacServerName为OWA服务器的IP,并且没有<>

    2: Set-SPWopiZone internal-http
    第一句话是在SharePoint场和Office Web Apps场之间建立关系,其中的AllowHTTP参数和之前的概念是一样的;
    第二句话,是配置区域的链接方式,区域分为internal和external,协议分为http和https,默认是internal + https,这里我们使用internal-http,以便和之前配置Office Web Apps服务器场的时候相匹配。
    然后就可以用了。

  • 相关阅读:
    BZOJ2762: [JLOI2011]不等式组
    BZOJ1452: [JSOI2009]Count
    Codeforces Round #441 (Div. 2, by Moscow Team Olympiad)
    BZOJ1635: [Usaco2007 Jan]Tallest Cow 最高的牛
    BZOJ2730: [HNOI2012]矿场搭建
    Flask实现异步非阻塞请求功能
    在flask中使用websocket-实时消息推送
    Python数据库连接池DBUtils
    flask请求上下文
    scanf与getchar
  • 原文地址:https://www.cnblogs.com/xingyunqiu/p/10183772.html
Copyright © 2011-2022 走看看