Ci-dessous, les différences entre deux révisions de la page.
Both sides previous revision Révision précédente Prochaine révision | Révision précédente | ||
si:nextcloud [2018/07/27 15:49] dino |
si:nextcloud [2019/07/31 15:39] (Version actuelle) dino |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | installation de | + | installation des paquets |
+ | <code> | ||
apt install php7.0-xml php7.0-mysqlnd php7.0-ldap php7.0-gd php7.0-zip php7.0-imagick php7.0-mbstring php7.0-json php7.0-curl php7.0-cli php7.0-fpm nginx-full php7.0-bz2 php7.0-intl wget | apt install php7.0-xml php7.0-mysqlnd php7.0-ldap php7.0-gd php7.0-zip php7.0-imagick php7.0-mbstring php7.0-json php7.0-curl php7.0-cli php7.0-fpm nginx-full php7.0-bz2 php7.0-intl wget | ||
+ | </code> | ||
téléchargement de nextcloud | téléchargement de nextcloud | ||
- | cd /var/www | ||
- | wget https://download.nextcloud.com/server/releases/latest.tar.bz2 | + | <code> |
+ | cd /var/www | ||
+ | wget https://download.nextcloud.com/server/releases/latest.tar.bz2 | ||
adduser --disabled-login --disabled-password nextcloud | adduser --disabled-login --disabled-password nextcloud | ||
+ | chown -R nextcloud:www-data /var/www/nextcloud | ||
+ | chmod -R 750 /var/www/nextcloud | ||
+ | </code> | ||
- | chown -R nextcloud:www-data /var/www/nextcloud | + | coté DB |
+ | <code> | ||
+ | mysql -u root -p | ||
+ | </code> | ||
- | chmod -R 750 /var/www/nextcloud | + | création de l'utilisateur nextcloud et de la base |
+ | <code> | ||
+ | CREATE DATABASE nextcloud; | ||
+ | CREATE USER "nextcloud"@"XXXXXXXX" ; | ||
+ | SET password FOR "nextcloud"@"XXXXX" = password('mon_password'); | ||
+ | GRANT ALL PRIVILEGES ON nextcloud.* TO "nextcloud"@"XXXXXXX" IDENTIFIED BY "mon_password"; | ||
+ | FLUSH PRIVILEGES; | ||
+ | </code> | ||
+ | Ajout de la fonctionnalité édition de documents collabora online | ||
- | coté DB | + | <code> |
+ | ajout d'un dépôt tiers debian | ||
+ | deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian9 ./ | ||
+ | </code> | ||
- | mysql -u root -p | + | modification du fichier xml pour le chemin des certificats, il est aussi possible de passer en mode non SSL |
+ | <code> | ||
+ | vim /etc/loolwsd/loolwsd.xml | ||
+ | </code> | ||
- | creation de l'utilisateur nextcloud et ce la base | + | dans la section |
+ | <code> | ||
+ | ssl desc="SSL settings" | ||
+ | </code> | ||
- | CREATE DATABASE nextcloud; | + | ajouter le chemin des 3 fichiers (key, cert et ca), ces 3 fichiers doivent être lisible par l'utilisation lool |
- | CREATE USER "nextcloud"@"XXXXXXXX" ; | ||
- | SET password FOR "nextcloud"@"XXXXX" = password('mon_password'); | + | <code> |
+ | <cert_file_path desc="Path to the cert file" relative="false">/etc/loolwsd/cert.pem</cert_file_path> | ||
+ | <key_file_path desc="Path to the key file" relative="false">/etc/loolwsd/key.pem</key_file_path> | ||
+ | <ca_file_path desc="Path to the ca file" relative="false">/etc/loolwsd/ca-chain.cert.pem</ca_file_path> | ||
+ | </code> | ||
- | GRANT ALL PRIVILEGES ON nextcloud.* TO "nextcloud"@"XXXXXXX" IDENTIFIED BY "mon_password"; | + | positonner les droits sur les 3 fichiers |
+ | <code> | ||
+ | chown lool:lool chemin-du-fichier | ||
+ | </code> | ||
- | FLUSH PRIVILEGES; | ||
+ | relancer loolwsd | ||
+ | <code> | ||
+ | systemctl restart loolwsd | ||
+ | systemctl status loolwsd | ||
+ | </code> | ||
+ | |||
+ | Extensions disponible dans le Nuage de Parinux | ||
+ | |||
+ | * Accessibility | ||
+ | * Activity | ||
+ | * AppOrder | ||
+ | * Auditing | ||
+ | * Bookmarks | ||
+ | * Calendar (caldav) | ||
+ | * Collaborative tags | ||
+ | * Comments | ||
+ | * Contacts (cardav) | ||
+ | * Default encryption module | ||
+ | * Draw.io | ||
+ | * Federation | ||
+ | * Parage interne et par courriel | ||
+ | * Gallery | ||
+ | * GpxPod | ||
+ | * LDAP | ||
+ | * Log Reader | ||
+ | * Markdown Editor | ||
+ | <del> * Mindmaps (cartes mentales)</del> | ||
+ | * Notes | ||
+ | * Notifications | ||
+ | * PDF Viewer | ||
+ | * Poll (sondage) | ||
+ | * Quotas Warning | ||
+ | * QuickNotes (petit papier sur un mur) | ||
+ | * Share By Email | ||
+ | * Talk (visio spreedme) | ||
+ | * Vidéo Player | ||
+ | * Collabora Online | ||