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 [2025/05/16 13:02] Sean Rhoneservers:windows:nginx:dokuwiki [2025/06/14 21:09] (current) – [Prerequisites] W11 24H2 Sean Rhone
Line 7: Line 7:
 ===== 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]]
  
 ====== Dependencies ====== ====== Dependencies ======
Line 16: Line 17:
   * https://www.dokuwiki.org/install:php   * https://www.dokuwiki.org/install:php
   * https://github.com/dokuwiki/dokuwiki/blob/master/composer.json   * https://github.com/dokuwiki/dokuwiki/blob/master/composer.json
- 
-===== Git ===== 
- 
-  * https://gitforwindows.org/ 
-  * Last tested: ''Git-2.49.0-64-bit.exe'' 
- 
-  * Git from the command line and also from 3rd-party software 
  
 ====== Download Source ====== ====== Download Source ======
Line 29: Line 23:
  
   "%ProgramFiles%\Git\bin\git.exe" clone --branch "master" --depth "1" --recurse-submodules "https://github.com/splitbrain/dokuwiki.git" "%SystemDrive%\www\wiki"   "%ProgramFiles%\Git\bin\git.exe" clone --branch "master" --depth "1" --recurse-submodules "https://github.com/splitbrain/dokuwiki.git" "%SystemDrive%\www\wiki"
- 
-  "explorer.exe" "%SystemDrive%\www\wiki" 
  
 ====== Environment ====== ====== Environment ======
Line 64: Line 56:
  
 <code> <code>
-# PHP-CGI 
 location ~ \.(php)(/.*)?$ { location ~ \.(php)(/.*)?$ {
     fastcgi_split_path_info ^(.+\.(?:php))(/.*)$;     fastcgi_split_path_info ^(.+\.(?:php))(/.*)$;
Line 127: Line 118:
  
 ====== Scripts ====== ====== Scripts ======
 +
 +****
  
   MKDIR "%SystemDrive%\www\scripts\wiki"   MKDIR "%SystemDrive%\www\scripts\wiki"
- 
-  "explorer.exe" "%SystemDrive%\www\scripts\wiki" 
  
 ===== PHP-CGI ===== ===== PHP-CGI =====
Line 147: Line 138:
  
 ===== Update ===== ===== Update =====
- 
-  * https://github.com/dokuwiki/dokuwiki/commits/master/ 
  
   "notepad.exe" "%SystemDrive%\www\scripts\wiki\Update.bat"   "notepad.exe" "%SystemDrive%\www\scripts\wiki\Update.bat"
Line 168: Line 157:
  
 ===== Back-up ===== ===== Back-up =====
 +
 +  * :!: TODO: Might max system drive usage on daily task if not manually managed; NAS probably fine, but test script with NAS disconnected
  
   "notepad.exe" "%SystemDrive%\www\scripts\wiki\Back-up.bat"   "notepad.exe" "%SystemDrive%\www\scripts\wiki\Back-up.bat"
Line 267: Line 258:
  
 <code>--      --</code> <code>--      --</code>
 +
 +====== Files ======
 +
 +===== Backup =====
 +
 +****
 +
 +  "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"
  
 ====== Quick Commands ====== ====== Quick Commands ======
Line 278: Line 277:
   "php.exe" "%SystemDrive%\www\wiki\bin\wantedpages.php" --help   "php.exe" "%SystemDrive%\www\wiki\bin\wantedpages.php" --help
  
-====== Files ====== +===== Scripts =====
- +
-===== Backup =====+
  
 **** ****
  
-  "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"+  "explorer.exe" "%SystemDrive%\www\scripts\wiki"
  
-==== FreeBSD ====+===== Bookmarks =====
  
-**** +  https://github.com/dokuwiki/dokuwiki/commits/master/
- +
-  "%USERPROFILE%\Downloads\OpenSSH-Win64\scp.exe" "%USERPROFILE%\Downloads\dokuwiki-files-manual-"*".tar.gz" espionage724@192.168.1.152:~+
  
 ====== TODOs ====== ====== TODOs ======
/srv/www/wiki/data/attic/servers/windows/nginx/dokuwiki.1747414945.txt.gz · Last modified: by Sean Rhone