User Tools

Site Tools


servers:windows:nginx:piwigo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:windows:nginx:piwigo [2025/05/16 12:57] Sean Rhoneservers:windows:nginx:piwigo [2025/06/14 21:10] (current) – [Prerequisites] Sean Rhone
Line 8: Line 8:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[windows;10|Windows 10 (21H2)]]+  * [[windows;11_ltsc_server|Windows 11 (24H2)]]
   * [[servers;windows;nginx_php_php-cgi|nginx + PHP + PHP-CGI]]   * [[servers;windows;nginx_php_php-cgi|nginx + PHP + PHP-CGI]]
   * [[servers;windows;nginx;lets_encrypt|Certbot (Let's Encrypt)]]   * [[servers;windows;nginx;lets_encrypt|Certbot (Let's Encrypt)]]
 +  * [[programs;windows;git|Git]]
 +  * [[servers;windows;mariadb|MariaDB]]
  
 ===== TODOs ===== ===== TODOs =====
  
   * Show title on pictures (long titles get cut-off in navbar)   * Show title on pictures (long titles get cut-off in navbar)
 +  * AI ([[https://piwigo.org/forum/viewtopic.php?pid=192438#p192438|post]], [[https://github.com/Piwigo/Piwigo/commits/master/include/config_default.inc.php|config.inc.php]])
  
 ====== Dependencies ====== ====== Dependencies ======
  
   * https://piwigo.org/guides/install/requirements   * https://piwigo.org/guides/install/requirements
- 
-===== Git ===== 
- 
-  * https://gitforwindows.org/ 
-  * Last tested: ''Git-2.49.0-64-bit.exe'' 
- 
-  * Git from the command line and also from 3rd-party software 
- 
-===== MariaDB Server ===== 
- 
-  * https://mariadb.org/download/ 
-  * Last tested: ''mariadb-11.7.2-winx64.msi'' 
- 
-  * No Development components or Third party tools 
-  * Use UTF8 as default server's character set 
-  * [x] Enable Networking 
  
 ====== Download Source ====== ====== Download Source ======
Line 41: Line 28:
  
   "%ProgramFiles%\Git\bin\git.exe" clone --branch "master" --depth "1" --recurse-submodules "https://github.com/Piwigo/Piwigo.git" "%SystemDrive%\www\media"   "%ProgramFiles%\Git\bin\git.exe" clone --branch "master" --depth "1" --recurse-submodules "https://github.com/Piwigo/Piwigo.git" "%SystemDrive%\www\media"
- 
-  "explorer.exe" "%SystemDrive%\www\media" 
  
 ===== Bootstrap Darkroom ===== ===== Bootstrap Darkroom =====
Line 52: Line 37:
 ====== Database ====== ====== Database ======
  
-  "%ProgramFiles%\MariaDB 11.7\bin\mariadb.exe" -u "root" -p+  "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p
  
   CREATE DATABASE piwigo;   CREATE DATABASE piwigo;
Line 98: Line 83:
  
 <code> <code>
-# PHP-CGI 
 location ~ \.(php)(/.*)?$ { location ~ \.(php)(/.*)?$ {
     fastcgi_split_path_info ^(.+\.(?:php))(/.*)$;     fastcgi_split_path_info ^(.+\.(?:php))(/.*)$;
Line 160: Line 144:
  
 ====== Scripts ====== ====== Scripts ======
 +
 +===== Folder =====
 +
 +****
  
   MKDIR "%SystemDrive%\www\scripts\media"   MKDIR "%SystemDrive%\www\scripts\media"
- 
-  "explorer.exe" "%SystemDrive%\www\scripts\media" 
  
 ===== PHP-CGI ===== ===== PHP-CGI =====
Line 180: Line 166:
  
 ===== Update ===== ===== Update =====
- 
-  * https://github.com/Piwigo/Piwigo/commits/master/ 
-  * https://github.com/Piwigo/piwigo-bootstrap-darkroom/commits/master/ 
  
   "notepad.exe" "%SystemDrive%\www\scripts\media\Update.bat"   "notepad.exe" "%SystemDrive%\www\scripts\media\Update.bat"
Line 321: Line 304:
  
   "tar.exe" -czf "%UserProfile%\Downloads\piwigo-files-manual-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "media"   "tar.exe" -czf "%UserProfile%\Downloads\piwigo-files-manual-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "media"
- 
-==== FreeBSD ==== 
- 
-**** 
- 
-  "%USERPROFILE%\Downloads\OpenSSH-Win64\scp.exe" "%USERPROFILE%\Downloads\piwigo-files-manual-"*".tar.gz" "%USERPROFILE%\Downloads\piwigo.sql" espionage724@192.168.1.152:~ 
  
 ====== Database ====== ====== Database ======
Line 332: Line 309:
 ===== Backup ===== ===== Backup =====
  
-  CD "%UserProfile%\Downloads"+****
  
-  "%ProgramFiles%\MariaDB 11.7\bin\mariadb-dump.exe" -u "root" -p --opt -r "piwigo.sql" "piwigo"+  CD "%UserProfile%\Downloads" && "%ProgramFiles%\MariaDB 12.0\bin\mariadb-dump.exe" -u "root" -p --opt -r "piwigo.sql" "piwigo"
  
 ===== Restore ===== ===== Restore =====
Line 340: Line 317:
   * [[#database|Initial set-up]]   * [[#database|Initial set-up]]
  
-  "%ProgramFiles%\MariaDB 11.7\bin\mariadb.exe" -u "root" -p --execute="CREATE DATABASE piwigo"+  "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p --execute="CREATE DATABASE piwigo"
  
-  "%ProgramFiles%\MariaDB 11.7\bin\mariadb.exe" -u "root" -p "piwigo" < "%UserProfile%\Downloads\piwigo.sql"+  "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p "piwigo" < "%UserProfile%\Downloads\piwigo.sql" 
 + 
 +====== Quick Commands ====== 
 + 
 +===== Scripts ===== 
 + 
 +**** 
 + 
 +  "explorer.exe" "%SystemDrive%\www\scripts\media" 
 + 
 +===== Bookmarks ===== 
 + 
 +  * https://github.com/Piwigo/Piwigo/commits/master/ 
 +  * https://github.com/Piwigo/piwigo-bootstrap-darkroom/commits/master/
  
/srv/www/wiki/data/attic/servers/windows/nginx/piwigo.1747414647.txt.gz · Last modified: by Sean Rhone