nextcloud 在线office写作
简介:#
既然搭建了nextcloud,那么在线office协作是必不可少的功能。
简单看看nextcloud插件仓库,有这么几个可选项,逐个实验一下吧,顺便把安装配置介绍一下:
Nextcloud Office:#
This application can connect to a Collabora Online (or other) server (WOPI-like Client). Nextcloud is the WOPI Host. Please read the documentation to learn more about that.
You can also edit your documents off-line with the Collabora Office app from the Android and iOS store.
社区版有20人同时编辑的限制。但是nextcloud的android客户端,可以编辑。
说是有提示,不是限制?
ONLYOFFICE#
ONLYOFFICE connector allows you to view, edit and collaborate on text documents, spreadsheets and presentations within Nextcloud using ONLYOFFICE Docs. This will create a new Edit in ONLYOFFICE action within the document library for Office documents. This allows multiple users to co-author documents in real time from the familiar web interface and save the changes back to your file storage.
调试半天,nextcloud的android客户端,无法编辑。
社区版有20人同时编辑的限制,不过网上有几种办法修改20人同时编辑的办法。
Collabora Online - Built-in CODE Server#
This app has to be installed and used together with the Collabora Online app.
Collabora Online is a powerful LibreOffice-based online office suite with collaborative editing, which supports all major documents, spreadsheet and presentation file formats and works together with all modern browsers.
This app provides a built-in server with all of the document editing features of Collabora Online. Easy to install, for personal use or for small teams. A bit slower than a standalone server and without the advanced scalability features.
The download is rather big so it is possible you experience a time-out when using the web interface. You can use the OCC command line tool to install the built-in server:
sudo -u wwwrun php -d memory_limit=512M ./occ app:install richdocumentscode
Where wwwrun is the user of your web server. This is www-data on Debian, Ubuntu and derivatives, wwwrun on SUSE based distributions, apache on Red Hat/Fedora and http on Arch linux and derivatives.
Updates can be done like this:
sudo -u wwwrun php -d memory_limit=512M ./occ app:update --all
Of course, alternatively you could increase memory usage and PHP time-outs by default, see the Nextcloud documentation.
适用于个人或小型团队,慢一点,且没有可扩展性,淘汰
Collabora Online - Built-in CODE Server (ARM64)#
和上一个一样,for ARM64,淘汰。
Community Document Server#
Document server for OnlyOffice, community edition.
The community document server is designed to make it easy to get OnlyOffice running in a Nextcloud instance without the need to setup an external document server, the community document server does not support all features of the official OnlyOffice document server and does not provide the same performance and scalability.
If you are setting up a larger instance or require the additional performance, please see https://onlyoffice.com for options for getting the official document server.
The community document server will automatically be configured if no other document server is configured for OnlyOffice.
Additionally, the community document server only supports running on x86-64 Linux servers.
社区文档服务器?不提供所有功能,不能扩展,淘汰。
Office Online integration#
This application can connect to an Office Online server with Nextcloud.
office online server?贵,但是似乎功能无限制,连接数无限制,大佬上吧,毕竟更符合大众使用习惯。
也许作为备选,onlyoffice,不支持移动端,collabroa,只支持20个客户端。
一:选型#
如果没有android编辑的需求,那么onlyoffice将是最好的选择,可以在需要的时候修改源码突破20人同时编辑的限制。
如果有android编辑的需求,那么Collabora将时最好的选择,不过有20人同时编辑的限制。不知道可不可以用负载均衡,多个collabora来突破20人限制,即使突破了20人限制,也无法使同一个文档的编辑人数超过20人。
二:docker-compose.yaml#
with onlyoffice

version: '3.2' # bug:经常启动不起来 # 1.nextcloud启动不起来 # 删除volume,删除network,重启宿主机,才能启动起来。 # 2.onlyoffice启动慢,超过5分钟 # 据说是nodejs 代码由于任何原因(网络问题或简单的拼写错误)无法连接到 rabbitmq。 # 可能是墙,导致无法访问rabbitmp查询版本什么的,一直到超时才可以正常使用。 services: nextcloud_db: image: postgres container_name: nextcloud_db restart: always volumes: - /storage/data/nextcloud/db:/var/lib/postgresql/data environment: - POSTGRES_DB_FILE=/run/secrets/postgres_db - POSTGRES_USER_FILE=/run/secrets/postgres_user - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password secrets: - postgres_db - postgres_password - postgres_user nextcloud_onlyoffice: image: onlyoffice/documentserver container_name: nextcloud_onlyoffice restart: always privileged: true deploy: resources: limits: cpus: '2.00' memory: 2G reservations: memory: 200M ports: - 8081:80 - 5672:5672 nextcloud_app: image: nextcloud container_name: nextcloud_app restart: always ports: - 8080:80 volumes: - /storage/data/nextcloud/nextcloud:/var/www/html environment: - POSTGRES_HOST=nextcloud_db - POSTGRES_DB_FILE=/run/secrets/postgres_db - POSTGRES_USER_FILE=/run/secrets/postgres_user - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password - NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_admin_password - NEXTCLOUD_ADMIN_USER_FILE=/run/secrets/nextcloud_admin_user - NEXTCLOUD_TRUSTED_DOMAINS=cloud.jackadam.ml depends_on: - nextcloud_db secrets: - nextcloud_admin_password - nextcloud_admin_user - postgres_db - postgres_password - postgres_user networks: default: external: true name: mynet secrets: nextcloud_admin_password: file: ./nextcloud_admin_password.txt # put admin password in this file nextcloud_admin_user: file: ./nextcloud_admin_user.txt # put admin username in this file postgres_db: file: ./postgres_db.txt # put postgresql db name in this file postgres_password: file: ./postgres_password.txt # put postgresql password in this file postgres_user: file: ./postgres_user.txt # put postgresql username in this file
三:#
四:#
五:#
六:#
七:#
八:#
九:#
十:#
作者:上官飞鸿
出处:https://www.cnblogs.com/jackadam/p/17116052.html
版权:本作品采用「知识共享-署名-非商业性-禁止演绎(CC-BY-NC-ND)」许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现
2018-02-13 selenium(六)Headless Chrome/Firefox--PhantomJS停止支持后,使用无界面模式。
2018-02-13 docker 部署 flask(三)高级编写及生成镜像,安装requirements.txt