====== Installation de Collabora (CODE) sur Debian 9 ======
Installation des paquets pour https/apt :
apt install apt-transport-https ca-certificates
Installation de dirmngr pour les clefs GPG :
apt install dirmngr
Installation de la clef GPG du depot :
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
Définition du dépôt dans le fichier /etc/apt/sources.list.d/collabora.list :
# File: /etc/apt/sources.list.d/collabora.list
# Collabora CODE
deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian9 ./
Installation :
apt update && apt install loolwsd code-brand
Génération des certificats SSL :
openssl genrsa -out /etc/loolwsd/key.pem 2048
openssl req -x509 -new -nodes -key /etc/loolwsd/root.key.pem -days 9131 -out /etc/loolwsd/ca-chain.cert.pem -subj "/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=Dummy Authority"
openssl req -key /etc/loolwsd/key.pem -new -sha256 -out /etc/loolwsd/localhost.csr.pem -subj "/C=FR/ST=Ile de France/L=Noisy Le Grand/O=DGFiP Authority/CN=localhost"
openssl x509 -req -in /etc/loolwsd/localhost.csr.pem -CA /etc/loolwsd/ca-chain.cert.pem -CAkey /etc/loolwsd/root.key.pem -CAcreateserial -out /etc/loolwsd/cert.pem -days 9131
Fichier /etc/loolwsd/loolwsd.xml :
de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru
1
4
https://app.vereign.com
true
3600
30
300
0
0
8000
0
0
100
60
900
loleaflet.html
true
warning
/var/log/loolwsd.log
never
timestamp
true
10 days
10
true
false
false
false
false
false
all
any
192\.168\.[0-9]{1,3}\.[0-9]{1,3}
::ffff:192\.168\.[0-9]{1,3}\.[0-9]{1,3}
127\.0\.0\.1
::ffff:127\.0\.0\.1
::1
true
false
/etc/loolwsd/cert.pem
/etc/loolwsd/key.pem
/etc/loolwsd/ca-chain.cert.pem
1000
true
true
localhost
cloud\.nextcloud\.lan
office2\.nextcloud\.lan
10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}
172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}
172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}
172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}
192\.168\.[0-9]{1,3}\.[0-9]{1,3}
192\.168\.1\.1
0
localhost
true
true
false