Piwigo

De Reliable Brain
Révision datée du 18 juin 2023 à 09:50 par Bertrand (discussion | contributions) (Page créée avec « Base Ubuntu 22 == Prérequis == * https://piwigo.org/guides/install/requirements == Installation == apt update && apt upgrade -y apt install nginx php mysql-client php-fpm php-cli php-curl php-mysql php-curl php-gd php-mbstring php-pear -y exiftool ffmpeg poppler-utils imagemagick Si la base est locale : systemctl start mysql systemctl enable mysql apt autoremove systemctl start nginx systemctl enable nginx Modifier le fichier /etc/nginx/nginx.con... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Base Ubuntu 22

Prérequis

Installation

apt update && apt upgrade -y
apt install nginx php mysql-client php-fpm php-cli php-curl php-mysql php-curl php-gd php-mbstring php-pear -y
exiftool ffmpeg poppler-utils imagemagick 

Si la base est locale :

systemctl start mysql
systemctl enable mysql
apt autoremove
systemctl start nginx
systemctl enable nginx

Modifier le fichier /etc/nginx/nginx.conf et décommenter la ligne

server_tokens off;

cp /etc/nginx/sites-available/default /etc/nginx/sites-available/piwigo nano /etc/nginx/sites-available/piwigo ln -s /etc/nginx/sites-available/piwigo /etc/nginx/sites-enabled/piwigo sudo unlink /etc/nginx/sites-enabled/default

mkdir /var/www/html/piwigo cd /var/www/html/piwigo wget https://piwigo.org/download/dlcounter.php?code=netinstall install.php chown -R www-data /var/www/html/piwigo/ chgrp -R www-data /var/www/html/piwigo/