Piwigo
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 unzip
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
cd /var/www/html wget https://piwigo.org/download/dlcounter.php?code=latest --output piwigo.zip unzip piwigo
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/