Collabora Online Development Edition is an open-source online office suite that allows you to work with documents, spreadsheets, and presentations in your browser. In this tutorial, we will guide you on how to install Collabora Online Development Edition on Kali Linux Latest.
sudo apt update && sudo apt upgrade
sudo apt install apache2
sudo apt install libapache2-mod-proxy-html
sudo apt install libxml2-utils
cd /opt
sudo wget https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-APP/releases/CODE-<version>/collabora-online-development-edition-<version>.tar.xz
Note: Replace <version>
with the latest version number.
sudo tar -xvf collabora-online-development-edition-<version>.tar.xz
Note: Replace <version>
with the latest version number.
cd collabora-online-development-edition-<version>
sudo ./configure CODE_USER=collaboraadmin CODE_GROUP=collaboraadmin --disable-app-welcome --domain=cloud.your-domain.com
Note: Replace your-domain.com
with your actual domain name.
sudo groupadd -g 1000 collaboraadmin && sudo useradd -u 1000 -g 1000 -m collaboraadmin
sudo chown -R collaboraadmin:collaboraadmin /opt/collabora-online-development-edition-<version>
Note: Replace <version>
with the latest version number.
sudo -u collaboraadmin /opt/collabora-online-development-edition-<version>/start-collabora-online.sh
Note: Replace <version>
with the latest version number.
collabora.conf
in the following directory:cd /etc/apache2/sites-available
Add the following contents to this file:
<VirtualHost *:443>
ServerName cloud.your-domain.com
# SSL configuration, you may want to take the easy route instead and use Lets Encrypt!
SSLEngine on
SSLCertificateFile /path/to/signed_certificate
SSLCertificateChainFile /path/to/intermediate_certificate
SSLCertificateKeyFile /path/to/private/key
# Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode
# keep the host
ProxyPreserveHost On
# static html, js, images, etc. served from loolwsd
# loleaflet is the client part of Collabora Online
ProxyPass /loleaflet https://127.0.0.1:9980/loleaflet retry=0
ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet
# WOPI discovery URL
ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery
# Capabilities
ProxyPass /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities retry=0
ProxyPassReverse /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities
# Main websocket
ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon
# Admin Console websocket
ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws
# Download as, Fullscreen presentation and Image upload operations
ProxyPass /lool https://127.0.0.1:9980/lool
ProxyPassReverse /lool https://127.0.0.1:9980/lool
</VirtualHost>
Note: Replace your-domain.com
with your actual domain name.
sudo a2enmod proxy
sudo a2enmod proxy_wstunnel
sudo a2enmod proxy_http
sudo a2ensite collabora.conf
sudo systemctl restart apache2
https://cloud.your-domain.com/loleaflet/dist/admin/admin.html
in your web browser.Congratulations! You have successfully installed Collabora Online Development Edition on Kali Linux Latest. You can start using the suite to create, edit, and share your online documents.
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!