Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:lagrenouille:tutos:nextcloud-v.17 [27/10/2019 15:12] lagrenouille [les commandes occ de nextcloud] |
utilisateurs:lagrenouille:tutos:nextcloud-v.17 [03/11/2019 23:21] lagrenouille [les commandes occ de nextcloud] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== installation et configuration de nextcloud====== | ====== installation et configuration de nextcloud====== | ||
- | * Objet : tuto nextcloud par lagrenouille | + | * Objet : tuto nextcloud et collabora online : par lagrenouille et Manu |
* Niveau requis : {{tag>débutant avisé}} | * Niveau requis : {{tag>débutant avisé}} | ||
* Débutant, à savoir : [[:doc:systeme:commandes:le_debianiste_qui_papillonne|Utiliser GNU/Linux en ligne de commande, tout commence là !.]] :-) | * Débutant, à savoir : [[:doc:systeme:commandes:le_debianiste_qui_papillonne|Utiliser GNU/Linux en ligne de commande, tout commence là !.]] :-) | ||
Ligne 370: | Ligne 370: | ||
</note> | </note> | ||
| | ||
- | <code root> apt install intl imagick </code> | + | <code root> apt install php-intl php-imagick </code> |
=== 5) Migration de SQLite vers MariaDB === | === 5) Migration de SQLite vers MariaDB === | ||
Ligne 776: | Ligne 776: | ||
- gpxmotion | - gpxmotion | ||
- user_ldap</code> | - user_ldap</code> | ||
+ | |||
+ | |||
+ | ====synchronisez votre cloud sur votre bureau==== | ||
+ | |||
+ | <code root> | ||
+ | apt installe nextcloud-desktop</code> | ||
+ | |||
+ | {{https://debian-facile.org/images/file-R3a37098d2eb9ff4b09bc7817138e6766.png}} | ||
+ | |||
+ | {{https://debian-facile.org/images/file-Rb0ad4b0c42a602ad7dc72cce899ae11e.png}} | ||
+ | |||
+ | |||
+ | ====collabora online ==== | ||
+ | |||
+ | Toujours pareil, je donne ici la solution sur mon serveur . | ||
+ | |||
+ | <code user>wget https://github.com/nextcloud/richdocuments/releases/download/v3.4.2/richdocuments.tar.gz</code> | ||
+ | <code user>tar xzf richdocuments.tgz</code> | ||
+ | |||
+ | <code root>echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE ./' >> /etc/apt/sources.list.d/collabora.conf</code> | ||
+ | <code user> | ||
+ | cat /etc/apt/sources.list.d/collabora.list</code> | ||
+ | <code>deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian10 ./ | ||
+ | </code> | ||
+ | <code root> | ||
+ | apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0CXXXXXXXXXXXX4D</code> | ||
+ | |||
+ | <code user>apt search loolwsd</code> | ||
+ | <code>En train de trier... Fait | ||
+ | Recherche en texte intégral... Fait | ||
+ | loolwsd/inconnu,now 4.0.8-2 amd64 [installé] | ||
+ | LibreOffice Online WebSocket Daemon | ||
+ | loolwsd-dbgsym/inconnu 4.0.8-2 amd64 | ||
+ | debug symbols for loolwsd</code> | ||
+ | <code user> | ||
+ | apt search code-brand</code> | ||
+ | <code>En train de trier... Fait | ||
+ | Recherche en texte intégral... Fait | ||
+ | code-brand/inconnu,now 4.0-2 all [installé] | ||
+ | Collabora Online Development Edition (CODE) branding | ||
+ | |||
+ | </code> | ||
+ | |||
+ | |||
+ | <code root>apt install loolwsd code-brand</code> | ||
+ | |||
+ | Création d'un sous domaine (cnam) chez gandi | ||
+ | cname collabora.funambule.org | ||
+ | |||
+ | <code root>openssl req -new -x509 -days 365 -nodes -out /etc/loolwsd/ca-chain.cert.pem -keyout /etc/loolwsd/key.pem</code> | ||
+ | |||
+ | <code root>cd /etc/loolwsd/; ln -s ca-chain.cert.pem cert.pem</code> | ||
+ | |||
+ | <code root>ls -lha /etc/loolwsd/</code> | ||
+ | <code>total 60K | ||
+ | drwxr-xr-x 2 root root 4,0K nov. 2 11:11 . | ||
+ | drwxr-xr-x 141 root root 12K nov. 1 14:05 .. | ||
+ | -rw-r--r-- 1 root root 1,3K nov. 1 14:18 ca-chain.cert.pem | ||
+ | lrwxrwxrwx 1 root root 17 nov. 1 14:20 cert.pem -> ca-chain.cert.pem | ||
+ | -rw------- 1 lool lool 1,7K nov. 1 14:18 key.pem | ||
+ | -rw-r--r-- 1 root root 1,7K oct. 23 09:00 loolkitconfig.xcu | ||
+ | -rw-r----- 1 lool lool 13K nov. 1 15:32 loolwsd.xml | ||
+ | -rw-r----- 1 root root 13K nov. 1 14:47 loolwsd.xml.orig | ||
+ | </code> | ||
+ | |||
+ | le nouveau vhost proxy | ||
+ | |||
+ | cat /etc/apache2/sites-available/000-proxy-ssl.conf | ||
+ | <VirtualHost *:443> | ||
+ | ServerName collabora.funambule.org | ||
+ | Options -Indexes | ||
+ | |||
+ | # SSL configuration, you may want to take the easy route instead and use Lets Encrypt! | ||
+ | SSLEngine on | ||
+ | SSLCertificateFile /var/lib/dehydrated/certs/funambule.org/fullchain.pem | ||
+ | SSLCertificateKeyFile /var/lib/dehydrated/certs/funambule.org/privkey.pem | ||
+ | #SSLCertificateChainFile /path/to/intermediate_certificate | ||
+ | SSLProtocol all -SSLv2 -SSLv3 | ||
+ | SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:...[etc....e]tc...-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS | ||
+ | SSLHonorCipherOrder on | ||
+ | |||
+ | # mis par manu en esperant que ça marche depuis ailleurs que chez Momo | ||
+ | TimeOut 6000 | ||
+ | | ||
+ | # Encoded slashes need to be allowed | ||
+ | AllowEncodedSlashes NoDecode | ||
+ | |||
+ | # Container uses a unique non-signed certificate | ||
+ | SSLProxyEngine On | ||
+ | SSLProxyVerify None | ||
+ | SSLProxyCheckPeerCN Off | ||
+ | SSLProxyCheckPeerName Off | ||
+ | |||
+ | # 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> | ||
+ | |||
+ | |||
+ | |||