Project

General

Profile

Actions

Collabora on Ubuntu 2004 natively » History » Revision 2

« Previous | Revision 2/12 (diff) | Next »
Gareth Eaton, 09/10/2023 05:46 PM


Collabora on Debian 11 natively

Install the necessary packages and repositories:

sudo apt install gnupg
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./' | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install coolwsd code-brand hunspell

Open the Collabora Online Server configuration file for editing:

sudo nano /etc/coolwsd/coolwsd.xml

Locate the <ssl> section in the configuration file.

Modify the <enable> and <termination> settings as follows:

<ssl desc="SSL settings">
    <!-- switches from https:// + wss:// to http:// + ws:// -->
    <enable type="bool" desc="Controls whether SSL encryption between coolwsd and the network is enabled (do not disable for production deployment). If the default is false, must first be compiled with SSL support to enable." default="true">false</enable>        
    <!-- SSL off-load can be done in a proxy, if so disable SSL, and enable termination below in production -->
    <termination desc="Connection via proxy where coolwsd acts as working via https, but actually uses http." type="bool" default="true">true</termination>
</ssl>

Save the changes and exit the text editor.

Restart the Collabora Online service to apply the new configuration:

sudo systemctl restart coolwsd

These instructions will install Collabora Online Server and configure the SSL settings as required. Don't forget to restart the service after modifying the configuration.

To configure Collabora Online in Nextcloud, follow these steps:

Log in to your Nextcloud instance with administrator privileges.

Go to the settings page by navigating to https://your-nextcloud-domain.com/settings/admin/richdocuments. Replace your-nextcloud-domain.com with the actual domain of your Nextcloud instance.

Make sure you have access to the Collabora Online server. You will need to specify the URL (and port) of the Collabora Online server. Replace https://collabora.your-domain.com with the correct URL of your Collabora Online server.

Save the changes, and you should now be able to use Collabora Online for editing documents within Nextcloud.

Updated by Gareth Eaton about 1 year ago · 2 revisions