Benutzer-Werkzeuge

Webseiten-Werkzeuge


libreoffice_online

LibreOffice Online

Installation unter Debian Stretch 9.x.

siehe auch:

Die libpoco-Bibliothek(en) müssen neu gebaut werden, da die in Debian enthaltenen aus Lizenzgründen nicht alle Funktionen enthalten.

LibreOffice Core wird aus den normalen Debian-Paketen verwendet.

Der LibreOffice Online WebSocket Server (loolwsd) wird selber gebaut.

apt install libpng-dev libcap-dev libtool m4 automake fakeroot debhelper dh-systemd build-essential unixodbc-dev libreoffice python-polib nodejs-legacy node-jake libghc-zlib-bindings-dev libghc-zlib-dev

apt build-dep libreoffice

Node scheint knifflig zu sein.

deb https://deb.nodesource.com/node_10.x stretch main
deb-src https://deb.nodesource.com/node_10.x stretch main
npm set strict-ssl false
npm install -g jake
npm install uglify-js exorcist d3 evol-colorpicker bootstrap eslint browserify-css d3

Sicherstellen, daß jake bein Aufruf keinen Fehler wirft!

Nach dem Build

https://bugs.documentfoundation.org/show_bug.cgi?id=105498

Konfiguration unter /etc/loolwsd

SSL-Konfiguration: Nur zum testen!

openssl genrsa -out /etc/loolwsd/root.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 genrsa -out /etc/loolwsd/key.pem 2048 -key /etc/loolwsd/key.pem
openssl req -key /etc/loolwsd/key.pem -new -sha256 -out /etc/loolwsd/localhost.csr.pem -subj "/C=DE/ST=BW/L=Stuttgart/O=Dummy 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

Dateien

  • /etc/default/loolwsd → unklar
  • sudo -u lool /usr/bin/loolwsd -o:sys_template_path=/opt/lool/systemplate -o:lo_template_path=/usr/lib/libreoffice -o:child_root_path=/opt/lool/child-roots -o:file_server_root_path=/usr/share/loolwsd

Aufruf WOPI Discovery:

https://<server>:9980/hosting/discovery
libreoffice_online.txt · Zuletzt geändert: 01.06.2018 11:01 von thooge

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki