Project

General

Profile

Collabora on Ubuntu 2004 natively » History » Revision 3

Revision 2 (Gareth Eaton, 09/10/2023 05:46 PM) → Revision 3/12 (Gareth Eaton, 09/10/2023 05:49 PM)

h1. Collabora on Debian 11 natively 


 Install the necessary packages and repositories: 

 <pre> 
 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 
 </pre> 

 Open the Collabora Online Server configuration file for editing: 

 <pre> 
 sudo nano /etc/coolwsd/coolwsd.xml 
 </pre> 

 Locate the <ssl> section in the configuration file. 

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

 <pre> 
 <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> 
 </pre> 

 Save the changes and exit the text editor. 

 Restart the Collabora Online service to apply the new configuration: 

 <pre> 
 sudo systemctl restart coolwsd 
 </pre> 
 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. 

 --- 

 Ensure your domain name points to your server's IP address. 

 SSL Certificate: Obtain an SSL certificate for your domain from a certificate authority like Let's Encrypt. 

 Nginx Configuration: 

 Set up a reverse proxy to forward requests to Collabora Online Server. 
 Configure SSL settings and point to your SSL certificate files.