Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
infrastructure:services:cloud:nextcloud:installation [27/04/2023 09:29] Stéphane Pailletinfrastructure:services:cloud:nextcloud:installation [27/04/2023 09:47] (Version actuelle) Stéphane Paillet
Ligne 255: Ligne 255:
 Nous installon PHP-fpm et les différents modules dont nous aurons besoin Nous installon PHP-fpm et les différents modules dont nous aurons besoin
 <code> <code>
-sudo aptitude install php-common php-imagick php8.2-apcu php8.2-bcmath php8.2-bz2 php8.2-cli php8.2-common php8.2-curl php8.2-fpm php8.2-gd php8.2-gmp php8.2-igbinary php8.2-imagick php8.2-imap php8.2-intl php8.2-mbstring php8.2-opcache php8.2-pgsql php8.2-readline php8.2-xml php8.2-zip+sudo apt install php-common php-imagick php8.2-apcu php8.2-bcmath php8.2-bz2 php8.2-cli php8.2-common php8.2-curl php8.2-fpm php8.2-gd php8.2-gmp php8.2-igbinary php8.2-imagick php8.2-imap php8.2-intl php8.2-mbstring php8.2-opcache php8.2-readline php8.2-xml php8.2-zip
 </code> </code>
  
Ligne 277: Ligne 277:
 ==== PHP pool ==== ==== PHP pool ====
  
-Dans le fichier /etc/php/7.3/fpm/pool.d/nextcloud.conf nous saisissons ces éléments+Dans le fichier /etc/php/8.2/fpm/pool.d/nextcloud.conf nous saisissons ces éléments
 <code> <code>
 [nextcloud] [nextcloud]
Ligne 299: Ligne 299:
 env[TMPDIR] = /tmp env[TMPDIR] = /tmp
 env[TEMP] = /tmp env[TEMP] = /tmp
 +</code>
 +
 +===== Postgresql =====
 +
 +==== Installation Postgresql ====
 +
 +<code>
 +sudo apt install postgresql php8.2-pgsql
 +</code>
 +
 +==== Création base / utilisateur ====
 +
 +<code>
 +create database nextcloud;
 +create user nextcloud with encrypted password 'monmotdepasse';
 +grant all privileges on database nextcloud to nextcloud;
 </code> </code>
  
Ligne 306: Ligne 322:
  
 <code> <code>
-sudo aptitude install redis-server php8.2-redis+sudo apt install redis-server php8.2-redis
 </code> </code>
  
Ligne 331: Ligne 347:
  
 ===== Tuning ===== ===== Tuning =====
 +
 +==== Tâches cron ====
  
 Nous configurons cron Nous configurons cron
Ligne 343: Ligne 361:
 # Add the following line to the end of the file: (will call the cron script every 5 minutes) # Add the following line to the end of the file: (will call the cron script every 5 minutes)
 */5  *  *  *  * /usr/bin/php -f /var/www/cloud.grohub.org/cron.php */5  *  *  *  * /usr/bin/php -f /var/www/cloud.grohub.org/cron.php
 +</code>
 +
 +==== Pour gérer les thèmes ====
 +
 +Si la gestion des thèmes est configurée, nous aurons besoin de manipuler des images
 +
 +<code>
 +sudo apt install libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra
 </code> </code>
  
 ===== Liens ===== ===== Liens =====
   * [[https://docs.nextcloud.com/server/latest/admin_manual/|documentation Nextcloud]]   * [[https://docs.nextcloud.com/server/latest/admin_manual/|documentation Nextcloud]]
 +  * [[https://nextcloud.com/|site de l'éditeur]]
  • infrastructure/services/cloud/nextcloud/installation.1682587754.txt.gz
  • Dernière modification : 27/04/2023 09:29
  • de Stéphane Paillet