====== Collabora online ====== Tester dans DEBIAN BUSTER ! ===== Installation ===== On installe directement CODE, version compiler de Libre Office Online. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D sudo echo 'deb http://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./' >> /etc/apt/sources.list sudo apt update sudo apt install coolwsd code-brand On mets la langues française: sudo apt install hunspell locales-all hunspell-fr ===== Configuration ===== On édit le fichier .XML: sudo nano /etc/coolwsd/coolwsd.xml On change quelques paramètres. On utlise un proxy pour les Certificats : Dans coolwsd.xml, il faut changer: ssl.enable=false et ssl.termination=true Dans : 0 900 https://soute.numenaute.org https://cloud.numenaute.org/ kloud.khaganat.net systemctl restart coolwsd.service =====nginx====== On utilise un conteneur proxy Nginx: server { listen 10.0.0.10:80; server_name office.numenaute.org; return 301 https://office.numenaute.org$request_uri; } server { listen 10.0.0.10:443 ssl; server_name office.numenaute.org; ssl_certificate "/etc/letsencrypt/live/office.numenaute.org/fullchain.pem"; ssl_certificate_key "/etc/letsencrypt/live/office.numenaute.org/privkey.pem"; # static files location ^~ /browser { proxy_pass http://10.0.0.28:9980; proxy_set_header Host $http_host; } # WOPI discovery URL location ^~ /hosting/discovery { proxy_pass http://10.0.0.28:9980; proxy_set_header Host $http_host; } # Capabilities location ^~ /hosting/capabilities { proxy_pass http://10.0.0.28:9980; proxy_set_header Host $http_host; } # main websocket location ~ ^/cool/(.*)/ws$ { proxy_pass http://10.0.0.28:9980; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $http_host; proxy_read_timeout 36000s; } # download, presentation and image upload location ~ ^/(c|l)ool { proxy_pass http://10.0.0.28:9980; proxy_set_header Host $http_host; } # Admin Console websocket location ^~ /cool/adminws { proxy_pass http://1O.O.O.28:9980; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $http_host; proxy_read_timeout 36000s; } } {{tag>libreoffice outils server kloud}}