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 [03/11/2019 23:24] lagrenouille [les commandes occ de nextcloud] |
utilisateurs:lagrenouille:tutos:nextcloud-v.17 [04/11/2019 06:26] lagrenouille [les commandes occ de nextcloud] |
||
---|---|---|---|
Ligne 542: | Ligne 542: | ||
**Les commandes occ** | **Les commandes occ** | ||
- | elles sont réservés a root | ||
<code root>sudo -u www-data php occ list</code> | <code root>sudo -u www-data php occ list</code> | ||
Ligne 776: | Ligne 775: | ||
- gpxmotion | - gpxmotion | ||
- user_ldap</code> | - user_ldap</code> | ||
+ | |||
+ | **Une fois dans nextcloud, vous allez dans "applications" et vous activez la console, le prompt est occ | ||
+ | vous reste plus qu'a mettre la commande** | ||
Ligne 841: | Ligne 843: | ||
</code> | </code> | ||
- | le nouveau vhost proxy | ||
- | cat /etc/apache2/sites-available/000-proxy-ssl.conf | + | **le nouveau vhost 000-proxy-ssl.conf ** |
+ | |||
<code><VirtualHost *:443> | <code><VirtualHost *:443> | ||
ServerName collabora.funambule.org | ServerName collabora.funambule.org | ||
Ligne 856: | Ligne 859: | ||
SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:.....etc....ec.......-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS | SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:.....etc....ec.......-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS | ||
SSLHonorCipherOrder on | SSLHonorCipherOrder on | ||
- | + | | |
- | # mis par manu en esperant que ça marche depuis ailleurs que chez Momo | + | # rajouté par manu |
TimeOut 6000 | TimeOut 6000 | ||
| | ||
- | # Encoded slashes need to be allowed | + | # Encoded slashes need to be allowed |
AllowEncodedSlashes NoDecode | AllowEncodedSlashes NoDecode | ||
+ | | ||
# Container uses a unique non-signed certificate | # Container uses a unique non-signed certificate | ||
SSLProxyEngine On | SSLProxyEngine On | ||
Ligne 868: | Ligne 871: | ||
SSLProxyCheckPeerCN Off | SSLProxyCheckPeerCN Off | ||
SSLProxyCheckPeerName Off | SSLProxyCheckPeerName Off | ||
+ | | ||
# keep the host | # keep the host | ||
ProxyPreserveHost On | ProxyPreserveHost On | ||
+ | | ||
# static html, js, images, etc. served from loolwsd | # static html, js, images, etc. served from loolwsd | ||
# loleaflet is the client part of Collabora Online | # loleaflet is the client part of Collabora Online | ||
ProxyPass /loleaflet https://127.0.0.1:9980/loleaflet retry=0 | ProxyPass /loleaflet https://127.0.0.1:9980/loleaflet retry=0 | ||
ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet | ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet | ||
+ | | ||
# WOPI discovery URL | # WOPI discovery URL | ||
ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0 | ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0 | ||
ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery | ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery | ||
+ | | ||
# Capabilities | # Capabilities | ||
ProxyPass /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities retry=0 | ProxyPass /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities retry=0 | ||
ProxyPassReverse /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities | ProxyPassReverse /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities | ||
+ | | ||
# Main websocket | # Main websocket | ||
ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon | ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon | ||
+ | | ||
# Admin Console websocket | # Admin Console websocket | ||
ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws | ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws | ||
- | |||
# Download as, Fullscreen presentation and Image upload operations | # Download as, Fullscreen presentation and Image upload operations | ||
ProxyPass /lool https://127.0.0.1:9980/lool | ProxyPass /lool https://127.0.0.1:9980/lool | ||
ProxyPassReverse /lool https://127.0.0.1:9980/lool | ProxyPassReverse /lool https://127.0.0.1:9980/lool | ||
- | </VirtualHost> | + | </VirtualHost></code> |
+ | |||
+ | Rajout de l'alias collabora dans nextcloud/config.config.php à la suite de funambule.org | ||
+ | |||
+ | <code>'trusted_domains' => | ||
+ | array ( | ||
+ | 0 => 'funambule.org', | ||
+ | 1 => 'collabora.funambule.org', | ||
</code> | </code> | ||
+ | <code root> | ||
+ | systemctl restart loolwsd</code> | ||
+ | <code root>systemctl restart apache2</code> | ||
+ | |||
+ | J'ai du ouvrir les ports dans ma box, 22interne et 2222 externe pour ssh, 80 et 443 puis 9980 | ||
+ | j'ai aussi ouvert le port de redis,6379, mais je pense que ça sert à rien.. | ||
+ | |||
+ | La création d'un document office ouvre instantanément collabora | ||
+ | {{https://debian-facile.org/images/file-Reed34f4fccb1ea3f63adb221acf4664d.png}} | ||
+ | **Maintenant, voila la seule procédure que j'ai trouvé pour collaborer à plusieurs à l'écriture d'un texte.** | ||