servers:nginx:piwigo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
servers:nginx:piwigo [2023/09/12 08:27] – [Server Block] Sean Rhone | servers:nginx:piwigo [2024/02/01 11:45] (current) – [Page Banner] Sean Rhone | ||
---|---|---|---|
Line 20: | Line 20: | ||
* https:// | * https:// | ||
- | | + | sudo dnf install |
- | + | ||
- | | + | |
- | + | ||
- | ===== Old openSUSE ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo zypper install poppler-tools php8-exif mediainfo libfdk-aac2 libvorbis0 libvpx8 exiftool ffmpeg-6 libopenh264-7 | + | |
====== Download Source ====== | ====== Download Source ====== | ||
Line 38: | Line 30: | ||
====== Database ====== | ====== Database ====== | ||
- | sudo mysql | + | sudo mariadb |
CREATE DATABASE piwigo; | CREATE DATABASE piwigo; | ||
Line 93: | Line 85: | ||
location ~ \.(php|phar)(/ | location ~ \.(php|phar)(/ | ||
fastcgi_split_path_info ^(.+\.(?: | fastcgi_split_path_info ^(.+\.(?: | ||
- | |||
fastcgi_intercept_errors on; | fastcgi_intercept_errors on; | ||
fastcgi_index index.php; | fastcgi_index index.php; | ||
Line 142: | Line 133: | ||
====== Settings ====== | ====== Settings ====== | ||
- | * :!: Using a long password with symbols passed | + | * :!: Using a long password with symbols passed |
* :!: Use a relay or bogus email address during account creation to protect against potential spam ((the webmaster URL in the footer shows the email in plaintext and looks tasty to bots)) | * :!: Use a relay or bogus email address during account creation to protect against potential spam ((the webmaster URL in the footer shows the email in plaintext and looks tasty to bots)) | ||
- | * :!: Disable '' | + | * :!: Disable '' |
- | * :!: Seemingly have to enable '' | + | * Seemingly have to enable '' |
* Activate Boostrap Darkroom theme | * Activate Boostrap Darkroom theme | ||
===== Page Banner ===== | ===== Page Banner ===== | ||
+ | |||
+ | **** | ||
< | < | ||
Line 249: | Line 242: | ||
* '' | * '' | ||
- | sudo -e '/ | + | sudo -e '/ |
< | < | ||
Line 281: | Line 274: | ||
=== Timer === | === Timer === | ||
- | * '' | + | * '' |
sudo -e '/ | sudo -e '/ | ||
Line 290: | Line 283: | ||
[Timer] | [Timer] | ||
- | OnCalendar=*-*-01 05:50:00 | + | OnCalendar=*-*-01 05:35:00 |
Persistent=true | Persistent=true | ||
Line 303: | Line 296: | ||
< | < | ||
- | [mysqldump] | + | [mariadb-dump] |
user=piwigo | user=piwigo | ||
password=x</ | password=x</ | ||
Line 315: | Line 308: | ||
Type=oneshot | Type=oneshot | ||
WorkingDirectory=/ | WorkingDirectory=/ | ||
- | ExecStartPre='/ | + | ExecStartPre='/ |
ExecStart='/ | ExecStart='/ | ||
ExecStart='/ | ExecStart='/ | ||
Line 322: | Line 315: | ||
=== Timer === | === Timer === | ||
- | * Every day at '' | + | * Every day at '' |
sudo -e '/ | sudo -e '/ | ||
Line 332: | Line 325: | ||
[Timer] | [Timer] | ||
- | OnCalendar=*-*-* 05:15:00 | + | OnCalendar=*-*-* 05:45:00 |
Persistent=true | Persistent=true | ||
Line 360: | Line 353: | ||
**** | **** | ||
- | sudo mysqldump | + | sudo mariadb-dump |
==== Start Services ==== | ==== Start Services ==== | ||
Line 420: | Line 413: | ||
==== Drop Previous Database ==== | ==== Drop Previous Database ==== | ||
- | sudo mysql | + | sudo mariadb |
DROP DATABASE piwigo; | DROP DATABASE piwigo; | ||
Line 430: | Line 423: | ||
==== Re-create Databases ==== | ==== Re-create Databases ==== | ||
- | sudo mysql | + | sudo mariadb |
CREATE DATABASE piwigo; | CREATE DATABASE piwigo; | ||
Line 440: | Line 433: | ||
**** | **** | ||
- | sudo mysql ' | + | sudo mariadb |
==== Reapply Permissions ==== | ==== Reapply Permissions ==== | ||
- | sudo mysql | + | sudo mariadb |
GRANT ALL PRIVILEGES ON piwigo.* to ' | GRANT ALL PRIVILEGES ON piwigo.* to ' |
/var/www/wiki/data/attic/servers/nginx/piwigo.1694521633.txt.gz · Last modified: 2023/09/12 08:27 by Sean Rhone