Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:piwigo [2024/03/12 13:42] – willy | services:piwigo [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Piwigo ====== | ||
| - | |||
| - | [[https:// | ||
| - | |||
| - | There are also mobile apps associated to Piwigo that can take care of backup and mobile editing. | ||
| - | |||
| - | ===== Installation ===== | ||
| - | |||
| - | Piwigo is PHP based, so you need to follow [[gentoo: | ||
| - | |||
| - | Ensure you have PHP emerged with **mysqli** and **fpm**, if you don't have it already, emerge it again: | ||
| - | <code bash> | ||
| - | echo dev-lang/ | ||
| - | emerge -vp php | ||
| - | </ | ||
| - | |||
| - | Now, create the usual service user that i will call **piwigo**. This user should be member of the **photos** group: | ||
| - | <code bash> | ||
| - | useradd -d / | ||
| - | </ | ||
| - | |||
| - | The full Piwigo installation guides are [[https:// | ||
| - | |||
| - | You need to download and unpack Piwigo latest release: | ||
| - | <code bash> | ||
| - | su - piwigo | ||
| - | wget -O piwigo.zip " | ||
| - | unzip piwigo.zip | ||
| - | </ | ||
| - | |||
| - | This will create a subfolder called **piwigo**. | ||
| - | |||
| - | |||
| - | |||
| - | ===== Reverse Proxy setup ===== | ||
| - | |||
| - | <file - piwigo.conf> | ||
| - | location /piwigo/ { | ||
| - | root / | ||
| - | index index.php; | ||
| - | |||
| - | location ~ /.*\.php$ { | ||
| - | try_files $uri =404; | ||
| - | fastcgi_split_path_info ^(.+\.php)(/ | ||
| - | include fastcgi_params; | ||
| - | fastcgi_param SCRIPT_FILENAME $request_filename; | ||
| - | fastcgi_pass 127.0.0.1: | ||
| - | } | ||
| - | } | ||
| - | </ | ||
| - | Make sure the port (9002) matches your PHP-FPM port! | ||
| - | |||