OnlyOffice-社区版编译踩坑

OnlyOffice 是一个开源办公套件,能够在线编辑 docx,pptx,xlsx

提供了和 Office 风格一致的界面,能够直接对 docx 等文档进行修改,而不需要改变文档的格式

官方文档地址:https://www.onlyoffice.com/zh/
Github地址:https://github.com/ONLYOFFICE

本文仅做技术讨论, 请不要用于任何非法用途!!!

准备编译环境

前提条件:

  1. Linux 系统为 Ubuntu Server 24.04 LTS
  2. 需要网络代理环境
  3. 假设工作空间为 /root
  4. 已安装 gitpython
  5. 存储空间 60GB+
  1. 在 Github 仓库中找到对应项目 build_tools,将其克隆到工作环境。
  2. 找到 scripts/core_common/modules/cef.py 文件,将 url 中的地址协议改为 https
  3. 运行 tools/{platform}/automate.py server 进行编译 (需要对编译环境进行初始化)
  4. 找到 tools/{platform}/automate.py 文件,修改 build_tools_params 中的 update 参数为 0
  5. 做一些你想做的事。
  6. 再次运行 tools/{platform}/automate.py server 进行编译

OnlyOffice-社区版编译踩坑
https://blog.cikaros.top/doc/5c21d2b6.html
作者
Cikaros
发布于
2025年4月23日
许可协议