User Tools

Site Tools


servers:windows:nginx:dokuwiki

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:dokuwiki [2026/01/31 01:36] – [TODOs] Sean Rhoneservers:windows:nginx:dokuwiki [2026/05/13 10:35] (current) – [Prerequisites] Sean Rhone
Line 8: Line 8:
  
   * [[windows;10_ltsc_server|Windows 10 (21H2)]]   * [[windows;10_ltsc_server|Windows 10 (21H2)]]
-  * [[servers;windows;nginx_php_php-cgi|nginx + PHP + PHP-CGI]]+  * [[servers;windows;freenginx_php_php-cgi|freenginx + 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]]   * [[programs;windows;git|Git]]
Line 28: Line 28:
 ===== PHP ===== ===== PHP =====
  
-  "notepad.exe" "%SystemDrive%\www\php\wiki.ini"+  "%SystemRoot%\System32\notepad.exe" "%SystemDrive%\www\php\wiki.ini"
  
 <code> <code>
Line 55: Line 55:
 ===== PHP-CGI ===== ===== PHP-CGI =====
  
-  "notepad.exe" "%SystemDrive%\www\nginx\default.d\wiki.conf"+  "%SystemRoot%\System32\notepad.exe" "%SystemDrive%\www\nginx\default.d\wiki.conf"
  
 <code> <code>
Line 74: Line 74:
 ===== Server Block ===== ===== Server Block =====
  
-  "notepad.exe" "%SystemDrive%\www\nginx\vhosts.d\wiki.conf"+  "%SystemRoot%\System32\notepad.exe" "%SystemDrive%\www\nginx\vhosts.d\wiki.conf"
  
 <code> <code>
Line 124: Line 124:
   MKDIR "%SystemDrive%\www\scripts\wiki"   MKDIR "%SystemDrive%\www\scripts\wiki"
  
-  "explorer.exe" "%SystemDrive%\www\scripts\wiki"+  "%SystemRoot%\explorer.exe" "%SystemDrive%\www\scripts\wiki"
  
 ===== PHP-CGI ===== ===== PHP-CGI =====
  
-  "notepad.exe" "%SystemDrive%\www\scripts\wiki\PHP-CGI.bat"+  "%SystemRoot%\System32\notepad.exe" "%SystemDrive%\www\scripts\wiki\PHP-CGI.bat"
  
 <code> <code>
Line 138: Line 138:
 SET "PHP_FCGI_CHILDREN=1" SET "PHP_FCGI_CHILDREN=1"
  
-START "Wiki PHP-CGI" /MIN "php-cgi.exe" -b "127.0.0.1:9002" -c "%SystemDrive%\www\php\wiki.ini" -q+START "Wiki PHP-CGI" /MIN /D "%Temp%" "php-cgi.exe" -b "127.0.0.1:9002" -c "%SystemDrive%\www\php\wiki.ini" -q
  
 SET "PHP_FCGI_MAX_REQUESTS=" SET "PHP_FCGI_MAX_REQUESTS="
Line 149: Line 149:
 ===== Update ===== ===== Update =====
  
-  "notepad.exe" "%SystemDrive%\www\scripts\wiki\Update.bat"+  "%SystemRoot%\System32\notepad.exe" "%SystemDrive%\www\scripts\wiki\Update.bat"
  
 <code> <code>
Line 168: Line 168:
 ===== Back-up ===== ===== Back-up =====
  
-  "notepad.exe" "%SystemDrive%\www\scripts\wiki\Back-up.bat"+  "%SystemRoot%\System32\notepad.exe" "%SystemDrive%\www\scripts\wiki\Back-up.bat"
  
 <code> <code>
Line 176: Line 176:
 CD "%Temp%" CD "%Temp%"
  
-"tar.exe" -czf "D:\Servers\Scheduled Backups\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+"%SystemRoot%\System32\tar.exe" -czf "D:\Servers\Scheduled Backups\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"
  
-::"tar.exe" -czf "%UserProfile%\Downloads\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+::"%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"
  
 :: End</code> :: End</code>
Line 186: Line 186:
 ===== Maintenance ===== ===== Maintenance =====
  
-  "notepad.exe" "%SystemDrive%\www\scripts\wiki\Maintenance.bat"+  "%SystemRoot%\System32\notepad.exe" "%SystemDrive%\www\scripts\wiki\Maintenance.bat"
  
 <code> <code>
Line 205: Line 205:
   * :!: Set ''user.email''   * :!: Set ''user.email''
  
-  "notepad.exe" "%SystemDrive%\www\scripts\wiki\Git Fix.bat"+  "%SystemRoot%\System32\notepad.exe" "%SystemDrive%\www\scripts\wiki\Git Fix.bat"
  
 <code> <code>
Line 249: Line 249:
   * Do after initial setup and check warning in Admin panel   * Do after initial setup and check warning in Admin panel
  
-  "notepad.exe" "%SystemDrive%\www\nginx\vhosts.d\wiki.conf"+  "%SystemRoot%\System32\notepad.exe" "%SystemDrive%\www\nginx\vhosts.d\wiki.conf"
  
   "%SystemDrive%\www\scripts\nginx\Reload.bat"   "%SystemDrive%\www\scripts\nginx\Reload.bat"
Line 279: Line 279:
   * Auto-start   * Auto-start
  
-  SCHTASKS /Create /SC "ONLOGON" /TN "Wiki PHP-CGI" /TR "%SystemDrive%\www\scripts\wiki\PHP-CGI.bat" /F+  "%SystemRoot%\System32\schtasks.exe" /Create /SC "ONLOGON" /TN "Wiki PHP-CGI" /TR "%SystemDrive%\www\scripts\wiki\PHP-CGI.bat" /F
  
 ===== Update ===== ===== Update =====
Line 285: Line 285:
   * Daily ''12:00:00 AM''   * Daily ''12:00:00 AM''
  
-  SCHTASKS /Create /SC "DAILY" /TN "Wiki Update" /TR "%SystemDrive%\www\scripts\wiki\Update.bat" /ST "00:00" /F+  "%SystemRoot%\System32\schtasks.exe" /Create /SC "DAILY" /TN "Wiki Update" /TR "%SystemDrive%\www\scripts\wiki\Update.bat" /ST "00:00" /F
  
 ===== Back-up ===== ===== Back-up =====
Line 291: Line 291:
   * Weekly (Monday) ''12:10:00 AM''   * Weekly (Monday) ''12:10:00 AM''
  
-  SCHTASKS /Create /SC "WEEKLY" /D "MON" /TN "Wiki File Back-up" /TR "%SystemDrive%\www\scripts\wiki\Back-up.bat" /ST "00:10" /F+  "%SystemRoot%\System32\schtasks.exe" /Create /SC "WEEKLY" /D "MON" /TN "Wiki File Back-up" /TR "%SystemDrive%\www\scripts\wiki\Back-up.bat" /ST "00:10" /F
  
 ===== Maintenance ===== ===== Maintenance =====
Line 297: Line 297:
   * Monthly (1st) ''12:30:00 AM''   * Monthly (1st) ''12:30:00 AM''
  
-  SCHTASKS /Create /SC "MONTHLY" /D "1" /M "*" /TN "Wiki Maintenance" /TR "%SystemDrive%\www\scripts\wiki\Maintenance.bat" /ST "00:30" /F+  "%SystemRoot%\System32\schtasks.exe" /Create /SC "MONTHLY" /D "1" /M "*" /TN "Wiki Maintenance" /TR "%SystemDrive%\www\scripts\wiki\Maintenance.bat" /ST "00:30" /F
  
 ====== Backup ====== ====== Backup ======
Line 305: Line 305:
 **** ****
  
-  "tar.exe" -czf "%UserProfile%\Downloads\dokuwiki-files-manual-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+  "%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\dokuwiki-files-manual-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"
  
 ====== TODO ====== ====== TODO ======
/srv/www/wiki/data/attic/servers/windows/nginx/dokuwiki.1769841376.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki