OnlyOffice-社区版编译踩坑
OnlyOffice 是一个开源办公套件,能够在线编辑 docx,pptx,xlsx
提供了和 Office 风格一致的界面,能够直接对 docx 等文档进行修改,而不需要改变文档的格式
官方文档地址:https://www.onlyoffice.com/zh/
Github地址:https://github.com/ONLYOFFICE
本文仅做技术讨论, 请不要用于任何非法用途!!!
准备编译环境
前提条件:
- Linux 系统为 Ubuntu Server 24.04 LTS
- 需要网络代理环境
- 假设工作空间为
/root
- 已安装
git
和python
- 存储空间 60GB+
- 在 Github 仓库中找到对应项目 build_tools,将其克隆到工作环境。
- 找到
scripts/core_common/modules/cef.py
文件,将 url 中的地址协议改为https
。 - 运行
tools/{platform}/automate.py server
进行编译 (需要对编译环境进行初始化) - 找到
tools/{platform}/automate.py
文件,修改 build_tools_params 中的 update 参数为0
。 - 做一些你想做的事。
- 再次运行
tools/{platform}/automate.py server
进行编译
OnlyOffice-社区版编译踩坑
https://blog.cikaros.top/doc/5c21d2b6.html