Collabora Office + nextcloud 快速部署

1、运行Collabora Office docker容器,并去掉https验证

docker run -t -d -p  9980:9980 --name collabora -e "extra_params=--o:ssl.enable=false" collabora/code

2、nextcloud 下载Collabora Office,并配置Collabora Office

3、效果

4、设置外网访问Collabora Office

docker 需要加上'domain=47.98.182.185|192.168.31.68|192.168.31.130'

说明Windows 的 CMD会报错

得用Windows powershell

就是因为这个公网一直不能用,只能在内网使用'domain=127.0.0.1|www.baidu.com'Collabora Office。公网一直不能用。

5、Collabora Office的控制台

http://127.0.0.1:9980/browser/dist/admin/admin.html

Quick tryout with Nextcloud docker

  Learn all the ins and outs of CODE

You can try CODE in 5 minutes with Nextcloud following these basic steps:

  1. Find out the IP address of your computer, e.g. 192.168.100.20
  2. Run Nextcloud from docker:
    docker run -d -p 80:80 nextcloud
  3. In your browser go to http://192.168.100.20 and set up your Nextcloud.
  4. In Nextcloud go to Apps – Office and Text, and install Collabora Online app.
  5. Run CODE from docker:
    docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" collabora/code
  6. Set up the Collabora Online server in Nextcloud Settings – Collabora Online to http://192.168.100.20:9980

Note 1: Of course, this is only good for a quick look at the features, it is not for production by any means.

Note 2: Do not use localhost or 127.0.0.1 instead of IP address of your computer, because these addresses do not resolve from the containers. This means not only not using it for the address of Collabora Online configured in Nextcloud, but also for the URL you connect to in the browser to test.



知识共享许可协议本作品采用知识共享署名-相同方式共享 4.0 国际许可协议进行许可。

相关推荐

解决nextcloud报:数据库丢失了一些索引错误

数据库丢失了一些索引。由于给大的数据表添加索引会耗费一些时间,因此程序没有自动对其进行修复。您可以在 Nextcloud 运行时通过命令行手动执行 "occ db:add-missing-indices" 命令修复丢失的索引。索引修复后会大大提高相应表的查询速度。

Nextcloud 配置Memcached 

nextcloud配置redis,会有概率出现内部错误,必现。
百度好久,不知道怎么解决。后面就用Memcached 看看,会不会有这个问题

暂无评论

目录展开