Install Collabora Online
Edit Documents Online with Collabora Online¶
Collabora Online is a powerful LibreOffice-based online office suite which supports all major document, spreadsheet and presentation file formats. It supports all major document formats: DOC, DOCX, PPT, PPTX, XLS, XLS, ODF, ODS, ODP.
Shared editing: One person at a time edits a document, others see changes in real time. A different person can do changes at any time
This documentation describes how to deploy Collabora CODE application, which is a cutting-edge community-oriented Docker provided for free by Collabora Online. If you wish to switch to a supported version with more capacities, please contact us.
Installing Collabora Online Development Environment via the Docker Image¶
Prerequisite¶
In this documentation, you have to replace
Here we will give you an example on one configuration if you want more detail about collabora you can go Here.
Start Docker Image¶
You can find a link to the docker for collabora here
Install Docker on a server.
1 2 3 |
|
This makes the docker image listen on localhost:9980.
Note: this docker image does not work on Ubuntu 14.04 LTS, because Ubuntu 14.04 LTS has missing kernel compile option CONFIG_AUFS_XATTR=y, which is leading to setcap not working on docker’s aufs storage. Upstream bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1557776
Configuring the local Apache reverse proxy:¶
In order to be able to launch the Collabora frame directly inside Pydio that is served on yourdomain.com, we have to use a Proxy configuration to serve the container requests through a matching domain name.
Install apache reverse proxy
On a recent Ubuntu or Debian this should be possible using:
1 2 3 4 5 |
|
Afterwards, configure one VirtualHost properly to proxy the traffic. For enhanced reason we recommend to use a subdomain such as "code.example.com" instead of running on the same domain. An sample config can be found below:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
|
After editing this virtual host, restart your apache using /etc/init.d/apache2 restart.
Configuring Pydio Plugin to connect to CODE¶
In the Settings panel, go to All Plugins > Features Plugins > Editors and enable the Collabora Online plugin.
Edit its parameters as follow:
- Url to the Libre Office Editor iFrame:
https://<your-domain>/loleaflet/dist/loleaflet.html
- WebSocket use TLS:
true
- Web Socket Connector Host:
<your-domain>
- Web Socket Connector Port:
9980
(see virtual host configuration above).
Test and start editing docs !¶
Switch to a workspace and use the "New Folder" > "You can also create an empty Document" link to create e.g. an ODT Document.
Double click the new file to edit, you should now be able to edit it directly in Pydio!