How to Install Collabora Online Development Edition on Elementary OS

Collabora Online Development Edition is a powerful online office suite that you can install on your own server. In this tutorial, we will show you how to install Collabora Online Development Edition on Elementary OS.

Prerequisites

Before we begin, make sure that you have the following:

Step 1 – Update your system

First, update your system with the following command:

sudo apt-get update && sudo apt-get upgrade -y 

Step 2 – Install Docker

We will use Docker to run Collabora Online Development Edition. Install Docker with the following commands:

sudo apt-get install docker.io -y
sudo systemctl start docker
sudo systemctl enable docker

Step 3 – Install Collabora Online Development Edition

Now that we have Docker installed, we can install Collabora Online Development Edition with the following command:

sudo docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=your-domain.com' --restart always --cap-add MKNOD collabora/code

Replace "your-domain.com" with your domain name or IP address.

Step 4 – Configure Apache

We need to configure Apache to act as a reverse proxy for Collabora. Install Apache with the following command:

sudo apt-get install apache2 libapache2-mod-proxy-html libxml2-dev -y 

Create a new Apache site configuration file with nano.

sudo nano /etc/apache2/sites-available/collabora.conf

Add the following content to the file:

<VirtualHost *:80>
    ServerName office.your-domain.com
    ProxyPreserveHost On
    <Location />
        Order allow,deny
        Allow from all
        Require all granted

        ProxyPass https://127.0.0.1:9980/
        ProxyPassReverse https://127.0.0.1:9980/
    </Location>
    ErrorLog ${APACHE_LOG_DIR}/collabora_error.log
    CustomLog ${APACHE_LOG_DIR}/collabora_access.log common
</VirtualHost>

Replace "your-domain.com" with your domain name or IP address.

Enable the site with the following command:

sudo a2ensite collabora

Reload Apache with the following command:

sudo systemctl reload apache2

Step 5 – Configure Collabora Online Development Edition

Open a web browser and navigate to the Collabora Online Development Edition website at http://your-domain.com:9980/. You should see the following page:

Collabora Welcome Page

Congratulations! You have successfully installed Collabora Online Development Edition on your Elementary OS server.

Conclusion

In this tutorial, you learned how to install Collabora Online Development Edition on Elementary OS. If you encounter any issues during the installation, make sure to check the Collabora Online Development Edition documentation for additional information.

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!