mirror of
https://github.com/nextcloud/documentation.git
synced 2025-12-12 07:29:47 +07:00
Added -e option at echo to enable special character to be interpreted like \n or it will raise this error due to a bad interpretation of apt in the collaboraonline.sources file: E: Type 'deb\nURIs:' is not known on stanza 1 in source list /etc/apt/sources.list.d/collaboraonline.sources E: The list of sources could not be read. Signed-off-by: Damien <100437527+u-damien@users.noreply.github.com>
51 lines
1.6 KiB
ReStructuredText
51 lines
1.6 KiB
ReStructuredText
====================================
|
||
Installation example on Ubuntu 24.04
|
||
====================================
|
||
|
||
Import signing keys:
|
||
********************
|
||
|
||
.. code-block:: bash
|
||
|
||
cd /usr/share/keyrings && sudo wget https://collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
|
||
|
||
Add repository:
|
||
***************
|
||
|
||
.. code-block:: bash
|
||
|
||
sudo echo -e "Types: deb\nURIs: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-deb\nSuites: ./\nSigned-By: /usr/share/keyrings/collaboraonline-release-keyring.gpg" > /etc/apt/sources.list.d/collaboraonline.sources
|
||
|
||
Install packages
|
||
****************
|
||
|
||
.. code-block:: bash
|
||
|
||
sudo apt update && sudo apt install coolwsd code-brand
|
||
|
||
Configuration
|
||
*************
|
||
|
||
Edit /etc/coolwsd/coolwsd.xml. Collabora Online (coolwsd) service runs via systemd. After editing the configuration file, you have to restart the service:
|
||
|
||
.. code-block:: bash
|
||
|
||
sudo systemctl restart coolwsd
|
||
|
||
The default configuration is looking for an SSL certificate and key, which are not present, so probably it’s the best to disable SSL, and optionally enable SSL termination, then set up the reverse proxy.
|
||
|
||
.. seealso::
|
||
Full configuration examples for reverse proxy setup can be found in the Collabora Online documentation:
|
||
https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html
|
||
|
||
|
||
.. code-block:: bash
|
||
|
||
sudo coolconfig set ssl.enable false
|
||
sudo coolconfig set ssl.termination true
|
||
sudo coolconfig set storage.wopi.host nextcloud.example.com
|
||
sudo coolconfig set-admin-password
|
||
sudo systemctl restart coolwsd
|
||
systemctl status coolwsd
|
||
|