onlyoffice虚拟机常用路径
2025年5月1日大约 1 分钟约 440 字
[toc]
linux启动webStorm application命令
sh /home/axing/WebStorm-241.17890.13/bin/webstorm.shcommand
sudo ln -s /etc/nginx/sites-available/onlyoffice-documentserver /etc/nginx/sites-enabled/onlyoffice-documentserverpostsql: onlyoffice:onlyoffice
psql -hlocalhost -Uonlyoffice -d onlyoffice -f ./out/linux_64/onlyoffice/documentserver/server/schema/postgresql/createdb.sql进入数据库:
psql -Uonlyoffice -d onlyoffice源码编译的指导文档:
https://helpcenter.onlyoffice.com/installation/docs-community-compile.aspxpython example:
https://api.onlyoffice.com/editors/example/python
http://localhost:3000/about connector:
https://helpcenter.onlyoffice.com/faq/connectors.aspxupgrade make:
https://stackoverflow.com/questions/31912233/how-to-update-make-3-81-linuxcommand:
sudo update-alternatives --install /usr/bin/python python /usr/local/python/python3.12/bin/python3.12 38
sudo update-alternatives --install /usr/bin/python3 python3 /usr/local/python/python3.12/bin/python3.12 38docServer:
/home/axing/onlyoffice/build_tools/out/linux_64/onlyoffice/documentserver一、启动 onlyoffice:
准备活动
更新字体和主题
cd /home/roy/onlyoffice/build_tools/out/linux_64/onlyoffice/documentserver/mkdir fontsLD_LIBRARY_PATH=${PWD}/server/FileConverter/bin server/tools/allfontsgen \
--input="${PWD}/core-fonts" \
--allfonts-web="${PWD}/sdkjs/common/AllFonts.js" \
--allfonts="${PWD}/server/FileConverter/bin/AllFonts.js" \
--images="${PWD}/sdkjs/common/Images" \
--selection="${PWD}/server/FileConverter/bin/font_selection.bin" \
--output-web='fonts' \
--use-system="true"LD_LIBRARY_PATH=${PWD}/server/FileConverter/bin server/tools/allthemesgen \
--converter-dir="${PWD}/server/FileConverter/bin"\
--src="${PWD}/sdkjs/slide/themes"\
--output="${PWD}/sdkjs/common/Images"1.启动converter
cmd:
LD_LIBRARY_PATH=$PWD/bin NODE_ENV=development-linux NODE_CONFIG_DIR=$PWD/../Common/config ./converterpath:
cd /home/roy/onlyoffice/build_tools/out/linux_64/onlyoffice/documentserver/server/FileConverter
LD_LIBRARY_PATH=$PWD/bin NODE_ENV=development-linux NODE_CONFIG_DIR=$PWD/../Common/config ./convertercd /home/axing/onlyoffice/build_tools/out/linux_64/onlyoffice/documentserver/server/FileConverter2.启动docservice
cmd:
NODE_ENV=development-linux NODE_CONFIG_DIR=$PWD/../Common/config ./docservicepath:
cd /home/roy/onlyoffice/build_tools/out/linux_64/onlyoffice/documentserver/server/DocService
NODE_ENV=development-linux NODE_CONFIG_DIR=$PWD/../Common/config ./docservicecd /home/axing/onlyoffice/build_tools/out/linux_64/onlyoffice/documentserver/server/DocService3.启动example
cmd:
node bin/wwwpath:
cd /home/roy/onlyoffice/document-server-integration/web/documentserver-example/nodejscd /home/axing/onlyoffice/document-server-integration/web/documentserver-example/nodejs二、228服务器
对应网址
http://dev.sgame.woa.com/搭建基本的开发流程
研究了源代码
排查onlyoffice搜索异常的问题,相关的问题已经关闭了
正在研究如何把onlyoffice处理的数据旁路出来,让后端去进行处理。(进度30%)
感觉,源码写的挺好的,看起来不是很费力,给了些能够做点东西出来或者在源码上面改些东西信心。
目前的进度是找到了onlyoffice存储时候的数据源,编译后准备在看看他的数据结构是不是我们所期望的,在处理边以后excel表格显示不出来的问题
三、替换二进制文件
目录:
