Project

General

Profile

Collabora on Ubuntu 2004 natively » History » Version 2

Gareth Eaton, 09/10/2023 05:46 PM

1 1 Gareth Eaton
h1. Collabora on Debian 11 natively
2
3
4
Install the necessary packages and repositories:
5
6
<pre>
7
sudo apt install gnupg
8
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
9
echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./' | sudo tee -a /etc/apt/sources.list
10
sudo apt update
11
sudo apt install coolwsd code-brand hunspell
12
</pre>
13
14
Open the Collabora Online Server configuration file for editing:
15
16
<pre>
17
sudo nano /etc/coolwsd/coolwsd.xml
18
</pre>
19
20
Locate the <ssl> section in the configuration file.
21
22
Modify the <enable> and <termination> settings as follows:
23
24
<pre>
25
<ssl desc="SSL settings">
26
    <!-- switches from https:// + wss:// to http:// + ws:// -->
27
    <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>        
28
    <!-- SSL off-load can be done in a proxy, if so disable SSL, and enable termination below in production -->
29
    <termination desc="Connection via proxy where coolwsd acts as working via https, but actually uses http." type="bool" default="true">true</termination>
30
</ssl>
31
</pre>
32
33
Save the changes and exit the text editor.
34
35
Restart the Collabora Online service to apply the new configuration:
36
37
<pre>
38
sudo systemctl restart coolwsd
39
</pre>
40
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.
41
42
---
43
44
To configure Collabora Online in Nextcloud, follow these steps:
45
46
Log in to your Nextcloud instance with administrator privileges.
47
48
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.
49
50 2 Gareth Eaton
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.
51 1 Gareth Eaton
52
Save the changes, and you should now be able to use Collabora Online for editing documents within Nextcloud.