onlyoffice相关命令记录

wylc123 5月前 ⋅ 291 阅读
/var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/main/resources/css/



docker cp 64a0ca5021c1:/var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/main/resources/css/ /usr/local/onlyofficefiles/plugins/


docker cp /usr/local/onlyofficefiles/plugins/css/ 64a0ca5021c1:/var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/main/resources/


docker cp /usr/local/onlyofficefiles/plugins/clipart/ 64a0ca5021c1:/var/www/onlyoffice/documentserver/sdkjs-plugins
docker cp /usr/local/onlyofficefiles/plugins/textlibrary/ 64a0ca5021c1:/var/www/onlyoffice/documentserver/sdkjs-plugins
http://10.170.128.54:8161/report/editReportForOnlyoffice?type=report&hfsKey=2144428fa30240309c57d4a1308d5b97&id=227&fileName=onlyoffice%E6%8A%A5%E5%91%8A%E6%B5%8B%E8%AF%95



https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx95be5107b623a0de&redirect_uri=http://shop.ytjc.mobi/oauthLogin?jumpKey=index&response_type=code&scope=snsapi_userinfo&state=STATE&connect_redirect=1#wechat_redirect
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx95be5107b623a0de&redirect_uri=http://wylc.seejoke.com/oauthLogin?jumpKey=index&response_type=code&scope=snsapi_userinfo&state=STATE&connect_redirect=1#wechat_redirect

映射端口
document server 映射端口到9000  指令docker run -i -t -d -p 9000:80 onlyoffice/documentserver

复制插件
docker cp /usr/local/onlyofficefiles/plugins/clipart 64a0ca5021c1:/var/www/onlyoffice/documentserver/sdkjs-plugins

进入容器
#exec是进入已经存在的容器,run是创建新容器
docker ps
docker exec -it c7188be9bd7b /bin/bash
刪除文件夹
rm -rf textlibrary/
docker cp /usr/local/onlyofficefiles/plugins/textlibrary/ 64a0ca5021c1:/var/www/onlyoffice/documentserver/sdkjs-plugins
docker cp /usr/local/onlyofficefiles/plugins/clipart 64a0ca5021c1:/var/www/onlyoffice/documentserver/sdkjs-plugins
docker cp /usr/local/onlyofficefiles/plugins/helloworld/ 64a0ca5021c1:/var/www/onlyoffice/documentserver/sdkjs-plugins

docker load < /home/myubuntu-save-1204.tar

有需要可以加群交流:点击链接加入群聊【onlyoffice交流群】:https://jq.qq.com/?_wv=1027&k=ozgBiZts


相关文章推荐

全部评论: 0

    我有话说: