Différences
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 | ||
infrastructure:services:cloud:nextcloud:installation [27/04/2023 09:29] – Stéphane Paillet | infrastructure: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 | ||
< | < | ||
- | sudo aptitude | + | 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 |
</ | </ | ||
Ligne 277: | Ligne 277: | ||
==== PHP pool ==== | ==== PHP pool ==== | ||
- | Dans le fichier /etc/php/7.3/ | + | Dans le fichier /etc/php/8.2/ |
< | < | ||
[nextcloud] | [nextcloud] | ||
Ligne 299: | Ligne 299: | ||
env[TMPDIR] = /tmp | env[TMPDIR] = /tmp | ||
env[TEMP] = /tmp | env[TEMP] = /tmp | ||
+ | </ | ||
+ | |||
+ | ===== Postgresql ===== | ||
+ | |||
+ | ==== Installation Postgresql ==== | ||
+ | |||
+ | < | ||
+ | sudo apt install postgresql php8.2-pgsql | ||
+ | </ | ||
+ | |||
+ | ==== Création base / utilisateur ==== | ||
+ | |||
+ | < | ||
+ | create database nextcloud; | ||
+ | create user nextcloud with encrypted password ' | ||
+ | grant all privileges on database nextcloud to nextcloud; | ||
</ | </ | ||
Ligne 306: | Ligne 322: | ||
< | < | ||
- | sudo aptitude | + | sudo apt install redis-server php8.2-redis |
</ | </ | ||
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 * * * * / | */5 * * * * / | ||
+ | </ | ||
+ | |||
+ | ==== Pour gérer les thèmes ==== | ||
+ | |||
+ | Si la gestion des thèmes est configurée, | ||
+ | |||
+ | < | ||
+ | sudo apt install libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra | ||
</ | </ | ||
===== Liens ===== | ===== Liens ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// |