zoukankan      html  css  js  c++  java
  • Office Web Apps Server(1)

         Office Web Apps Server runs on one or more servers and provides browser-based Office file viewing and editing to multiple hosts throughout your organization.

         In SharePoint2013,Office Web Apps Server is a seprated function,it is a indepedent service.And it does’t support install the Office web apps in the same host which has already installed the Sharepoint2013.

         There are some other necessary things you should do before you install the Office Web Apps.

         For Windows Server 2008 R2,you should install the following software:

        Then you can install the Office Web Apps,you can download it from here :http://www.microsoft.com/zh-cn/download/details.aspx?id=35489

        Install the software is very simple,you don’t have to anything except click “next”.

        When you have installed the Office Web Apps,then you will find there is a new service call “OfficeWebApps” in your service manager.You should start the service.

    image

         And then you need to create a new Office Web Apps Server farm using the following commands:

    Import-Module OfficeWebApps
    New-OfficeWebAppsFarm –InternalURL http://servername –AllowHttp –EditingEnabled

    –InternalURL is the name of the server that runs Office Web Apps Server, such as http://servername.

    –AllowHttp parameter configures the farm to use HTTP or HTTPS

    –EditingEnabled parameter enables editing in Office Web Apps when it is used together with SharePoint 2013.

         You can verify that the Office Web Apps Server farm was created successfully by using the command:

    http://servername/hosting/discovery

         If Office Web Apps Server works as expected, you should see a Web app Open Platform Interface (WOPI)-discovery XML file in your web browser. The first few lines of that file should resemble the following example:

    <?xml version="1.0" encoding="utf-8" ?> 
    - <wopi-discovery>
    - <net-zone name="internal-http">
    - <app name="Excel" favIconUrl="http://servername/x/_layouts/images/FavIcon_Excel.ico" checkLicense="true">
    <action name="view" ext="ods" default="true" urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&>" />
    <action name="view" ext="xls" default="true" urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&>" />
    <action name="view" ext="xlsb" default="true" urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&>" />
    <action name="view" ext="xlsm" default="true" urlsrc="http://servername/x/_layouts/xlviewerinternal.aspx?<ui=UI_LLCC&><rs=DC_LLCC&>" />

         And then you need to go to the Sharepoint server,and run the powershell,you need create a binding between the Sharepoint server and you Office Web Apps server,using the following commands:

    New-SPWOPIBinding -ServerName <WacServerName> –AllowHTTP
    Set-SPWopiZone internal-http
    -ServerName is the WacsSrverName which you have installed the Office Web Apps Server.(You can use hostname or IP address).
    Then if this command excute sucessfully,it means you can view you office files online in you sharepoint site.Just have a try!
    Reference:
    SharePoint 2013之Office Web Apps Server
    Content roadmap for Office Web Apps
    Deploy Office Web Apps Server
    Configure SharePoint 2013 to use Office Web Apps
    Plan Office Web Apps Server
  • 相关阅读:
    Redis 锁
    Redis 持久化
    Redis 数据淘汰策略
    Redis 事务命令
    【vue禁止复制粘贴】
    tsconfig.json无法写入webpack.config.js 因为它会覆盖输入文件。
    npm 进阶命令知多少(一)
    如何将360度评估调查应用于员工发展?
    如何利用360度评估做好民主评议促进干部管理与选拔?
    手把手带你使用360度评估系统实施绩效反馈全流程(附详细图文)
  • 原文地址:https://www.cnblogs.com/xiaoxiangfeizi/p/3332247.html
Copyright © 2011-2022 走看看