Collabora Online Development Edition is an open-source office suite that enables easy collaboration and document editing online. In this tutorial, we will walk you through the installation of Collabora Online Development Edition on Fedora Server.
Before we start, make sure that you have the following prerequisites:
Collabora Online Development Edition runs in a Docker container, so we need to install Docker and Docker-Compose in our Fedora Server. Follow the steps below to install Docker and Docker-Compose:
sudo dnf update
sudo dnf install docker
sudo systemctl start docker
sudo systemctl enable docker
sudo dnf install docker-compose
In this step, we will download and install Collabora Online Development Edition using Docker-Compose.
sudo mkdir -p /opt/online
cd /opt/online
docker-compose.yml
using your preferred text editor:sudo nano docker-compose.yml
docker-compose.yml
file:version: '3'
services:
collabora:
image: collabora/code
container_name: collabora
restart: always
environment:
- domain=yourdomain.com
- username=admin
- password=adminpassword
ports:
- 127.0.0.1:9980:9980
cap_add:
- MKNOD
volumes:
- /opt/collabora/lool:/opt/collabora/lool
Save and close the docker-compose.yml
file.
Start the Collabora Online container using the following command:
sudo docker-compose up -d
sudo docker ps
Collabora Online Development Edition runs on port 9980 by default. To allow access to the online office suite, we need to set up a reverse proxy to redirect traffic from port 80 or 443 to the Collabora Online container.
sudo dnf install nginx
sudo nano /etc/nginx/conf.d/yourdomain.com.conf
server {
listen 80;
listen [::]:80;
server_name yourdomain.com;
location / {
proxy_pass http://localhost:9980;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Save and close the configuration file.
Restart Nginx service to apply the changes:
sudo systemctl restart nginx
Collabora Online Development Edition is now installed and running on your server. To access it, simply open a web browser and navigate to http://yourdomain.com/office
, or https://yourdomain.com/office
if you have a valid SSL certificate.
You can log in to Collabora Online with the username and password specified in the docker-compose.yml
file.
In this tutorial, we have shown you how to install Collabora Online Development Edition on your Fedora Server. With Collabora Online, you can now collaborate and edit documents online with ease.
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!