从0部署Office Web Apps服务,告别第三方处理office包吧


正如我上篇文章使用 PhpSpreadsheet 实现读取写入 Execl以使用更好的方案来处理office软件,那么开始吧,本篇文章有点长。(我从下班写到现在,中间自己又走了一遍流程)如果有已经实现过的朋友,欢迎出来一起交流,毕竟后面还有很多路要走,

1cf8deb03c1d9a831c6fbebd67cc6b54.png

500f40b4f8f00c8018a32f42be48554e.png

officeexecl.ppt,execl.....,使PhpSpreadheet......便线execl.word.ppt,Office Web Apps(OWA)


OWA

OWAofficeWOPIweb SharePoint 2013  Lync Server 2013OWA Office  OWA  Office Web Apps Server

8c7063a8e1b3b1a25e52e5ec45b5c610.gif

OWAOWAWOPI,web使OWAofficeWOPIOWA线IOS,使OWAOWA


  •  Office Web Apps Server  Exchange Server SharePoint Server Lync Server SQL Server Office Web Apps Server

  •  80 443  809  Web  (IIS)  Office Web Apps Server web 

  •  Office Office Web Apps Server

  •  Office Web Apps Server  Active Directory  (AD DS) 


OWA

1.

 Windows Server 2008 R2Windows Server 2012  Windows Server 2012 R2Windows Server 2012西

2.

8c05f89dd35ed8ec7278f5a35e3e735e.png

web

e310e97a19099000acb6be2c3c1939fa.png

IISWeb

ac68e99af94969c06a891de48b52d45f.png

PowerShell

Add-WindowsFeatureWeb-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

3.Office Web Apps

6aef3474216eae46ae74f026eedd33f2.png

12wacserver.exeoffice web apps2013PowerShellcmdlet


OWA

ce1cf9c1f5903dc9304033ad3dd0c63a.png

OWA


Windows service 2012 

1.

  •  

  •  .. 

  •  

  • ADActive Directory 

    26d04893fd8467e68de211ec69c35d2e.png

2.

1.ADS,

a51489fba4bb7417eadc23307be3563d.png


2. 

2845afc3b8bf90c866ebfa9ed3af5fda.png

3.AD  

4.

5.DNS

6


1.NDSip

dbbd91d9466685904e56450338a02d33.png

2.

53ecb2d52c342116f69ee6f3ce876d54.png


 >  

12127f517dacffd2781ef885b6ebba8d.png

8G使

263dacf265f219c603467d2d615e96b9.png


OWA

OfficeWebAppsPowerShell

New-OfficeWebAppsFarmInternalURL"http://office.yukong.com"AllowHttpEditingEnabled

OWA

1.InternalURLOWS,访

office.yukong.com

2.AllowHttp使HTTP使https,

3.EditingEnabledOfficeWebAppsSharePoint2013使

使LyncServer2013


y

InternalURLOWA访

http://servername/hosting/discovery

servernameoffice.yukong.com

出现这样的页面说明你安装没问题

01a2ca32a5bd7255ccc89d8e04f40de8.png
这个页面是一个xml文件,主要是对应不同的文件转换转换服务器转换的地址。下面会提到一点。



WOPI

 前面有提到过WOPI,只要我们实现了标准的WOPI接口,我们就能实现在线转换文件。

bf50ef48e8967a89a3134e021cf91bc7.jpg



  • Browser 

  • WOPI Serverweb

  • WOPI ClientOWA


 WOPI ServerCheckFileInfoGetFile

1.CheckFileInfo

1.WOPI HostjsonWOPI Client.

2.URLHTTP://server/<...>/wopi*/files/<id>

3.

9e11703cd2ea8c2b8702e37be5f9c48b.png

  • OwnerId:

  • BaseFileName: 

  • Size: bytes

  • SHA256: 256bitSHA-2

  • Version: 

2.GetInfo

WOPI ClientURLHTTP://server/<...>/wopi*/files/<id>/contents*/contents,WOPI ClientCheckFileInfoUrlGetInfo,

WOPI ClientGetInfoWOPI Server

urlhttp://msdn.microsoft.com/en-us/library/hh622920(v=office.12).aspx

https://docs.microsoft.com/zhcn/webappsserver/office-web-apps-server

西office

OWSPPT

d829cb854721e769fc101db602b2e779.png

192.168.2.231/p/PowerPointFrame.aspx?(192.168.2.231ip,office.yukong.com)pptxhttp://192.168.2.231pptx

2d7c8299e24c78529576f22bad11c1fb.png

Office Web apps 线


点赞 取消点赞 收藏 取消收藏

<< 上一篇: Leetcode PHP题解--D17 883. Projection Area of 3D Shapes

>> 下一篇: Leetcode PHP题解--D18 908. Smallest Range I