VP.net - Revolutionary Privacy with Intel SGX
All the other VPN service providers are trust based. VP.net is the only VPN that is provably private.

How to Install Collabora Online Development Edition on POP! OS Latest

Collabora Online Development Edition is an open-source tool for online document editing and collaboration. In this tutorial, we will learn how to install Collabora Online Development Edition on POP! OS Latest.

Prerequisites

Step 1: Update System Packages

Before starting any installation, let's update all the installed packages to their latest versions.

sudo apt update && sudo apt upgrade -y

Step 2: Install Required Dependencies

Collabora Online Development Edition requires some dependencies to be installed on the system. So, let's install all the required dependencies.

sudo apt install -y wget gnupg2 dirmngr python3 python3-pip python3-setuptools python3-uno python3-requests python3-lxml python3-pil python3-psutil python3-pygments python3-anytree python3-cryptography ca-certificates

Step 3: Add Collabora Online Repository

Execute the following command to add the Collabora Online repository to the system.

echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu2004/ /' | sudo tee /etc/apt/sources.list.d/collabora.list

Step 4: Add Collabora Online GPG key

Import the GPG key of Collabora Online.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D

Step 5: Install Collabora Online Development Edition

Once installation is complete, execute the below command to install Collabora Online Development Edition.

sudo apt install loolwsd code-brand -y

Step 6: Enable Collabora Online WOPI protocol

Collabora Online Development Edition requires the WOPI (Web Application Open Platform Interface) protocol to be enabled. Let's configure WOPI.

Run the following command to create a new file:

sudo nano /etc/loolwsd/loolwsd.xml

Paste the following content inside the file. Don't forget to replace the localhost and example.com with your own domain name or IP address.

<server_settings>
  <admin_console username="admin" password="admin" />
  <ssl>
    <enable>yes</enable>
    <termination>yes</termination>
    <cert_file_path>/etc/loolwsd/cert.pem</cert_file_path>
    <key_file_path>/etc/loolwsd/key.pem</key_file_path>
    <cipher_list>ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384</cipher_list>
  </ssl>
  <server_name>localhost|example.com</server_name>
  <server_id>collabora</server_id>
  <storage>
    <filesystem>
      <wopi host_root="/usr/share/loolwsd/wopi/" />
    </filesystem>
  </storage>
  <logging>
    <file enable="false"/>
    <syslog enable="true"/>
    <level value="trace"/>
    <logger name="sdk" level="trace"/>
    <logger name="wsd" level="trace"/>
  </logging>
  <net>
    <backlog>4096</backlog>
    <max_connections>100</max_connections>
    <ws max_message_size="134217728" inactivity_timeout_secs="86400">
      <frame_ancestors>
        <allow host="localhost" />
        <allow host="example.com" />
      </frame_ancestors>
    </ws>
  </net>
  <mount>
    <allow ".*"="."/>
  </mount>
  <global_settings>
    <url_components_filter>.*</url_components_filter>
  </global_settings>
</server_settings>

Step 7: Enable and Start the Collabora Online Services

To enable and start the Collabora Online services, run the following commands:

sudo systemctl start loolwsd.service
sudo systemctl enable loolwsd.service

Step 8: Open Port of Collabora Online on Firewall

Collabora Online works over HTTPS protocol that runs over port 9980. Allow this port on the firewall by running the below command:

sudo ufw allow https

Step 9: Verify the Installation

Let's verify the installation. Open your web browser and type https://localhost:9980/hosting/discovery or your server IP address:

https://[server_ip]:9980/hosting/discovery

You should see a similar output in your web browser:

<?xml version="1.0" encoding="UTF-8"?>
<office:discovery xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ooo="http://openoffice.org/2004/office" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" office:version="1.2" office:xmlns="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" office:mimetype="application/vnd.oasis.opendocument.text">
  <office:body>
    <office:spreadsheet/>
    <office:presentation/>
    <office:chart/>
    <office:text/>
  </office:body>
</office:discovery>

Conclusion

In this tutorial, we learned how to install Collabora Online Development Edition on POP! OS Latest. Collabora Online provides a robust and feature-rich experience for document editing and collaboration.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!