User Tools

Site Tools


servers:linux: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:linux:nginx:dokuwiki [2025/09/19 20:11] – [Git Fix] Sean Rhoneservers:linux:nginx:dokuwiki [2025/10/20 15:50] (current) – [Initial Setup] Sean Rhone
Line 131: Line 131:
 ====== Initial Setup ====== ====== Initial Setup ======
  
-  * :!: TODO: https://www.dokuwiki.org/rewrite+  * TODO: https://www.dokuwiki.org/rewrite ((notes; rewrite's been working fine though))
  
   * https://wiki.realmofespionage.xyz/install.php   * https://wiki.realmofespionage.xyz/install.php
Line 143: Line 143:
 ===== Template Style Settings ===== ===== Template Style Settings =====
  
-  * Alternative background color: ''#484848'' +  * Alternative background color: ''#484848'' (gray) 
-  * The general link color: ''#3d8bff'' +  * The general link color: ''#3d8bff'' (blue) 
-  * :!: The width of the full site: ''100em'' ((this caused some kind of scrollbar I believe on a 1280x800 laptop))+  * The width of the full site: ''85%''
  
 ===== nginx Server Block Deny Directives ===== ===== nginx Server Block Deny Directives =====
Line 327: Line 327:
   sudo tar -xzf ~/'dokuwiki-files-'*'.tar.gz' -C '/srv/www/wiki' 'data/pages' 'data/meta' 'data/media' 'data/media_meta' 'data/attic' 'data/media_attic' 'conf' && sudo chown -R 'wwwrun' '/srv/www/wiki' && sudo chmod -R '0755' '/srv/www/wiki'   sudo tar -xzf ~/'dokuwiki-files-'*'.tar.gz' -C '/srv/www/wiki' 'data/pages' 'data/meta' 'data/media' 'data/media_meta' 'data/attic' 'data/media_attic' 'conf' && sudo chown -R 'wwwrun' '/srv/www/wiki' && sudo chmod -R '0755' '/srv/www/wiki'
  
-===== dos2unix =====+===== Git Fix =====
  
-**** +  * :!: Set email for ''user.email''
- +
-  find '/srv/www/wiki' -type f -print0 | sudo xargs -0 dos2unix -- && sudo chown -R 'wwwrun':'www' '/srv/www/wiki' && sudo chmod -R '0755' '/srv/www/wiki' +
- +
-===== Git Fix =====+
  
   sudo su 'wwwrun' -s '/bin/bash'   sudo su 'wwwrun' -s '/bin/bash'
- 
-  cd '/srv/www/wiki' 
- 
-  rm -Rf '.git' 
- 
-  git init -b 'master' 
- 
-  git add '.' 
- 
-  git commit -m 'x' 
- 
-  git remote add origin 'https://github.com/dokuwiki/dokuwiki.git' 
- 
-  git -C '/srv/www/wiki' pull origin 'master' --rebase 
- 
-  exit 
- 
  
   rm -Rf '/srv/www/wiki/.git'   rm -Rf '/srv/www/wiki/.git'
Line 359: Line 338:
  
   git -C '/srv/www/wiki' add '.'   git -C '/srv/www/wiki' add '.'
 +
 +  git -C '/srv/www/wiki' config 'user.email' 'espionage724@x'
  
   git -C '/srv/www/wiki' commit --message='x'   git -C '/srv/www/wiki' commit --message='x'
Line 364: Line 345:
   git -C '/srv/www/wiki' remote add 'origin' 'https://github.com/dokuwiki/dokuwiki.git'   git -C '/srv/www/wiki' remote add 'origin' 'https://github.com/dokuwiki/dokuwiki.git'
  
-  git -C '/srv/www/wiki' pull 'origin' 'master' --rebase+  git -C '/srv/www/wiki' pull --depth '1' --recurse-submodules 'origin' 'master' --rebase
  
   git -C '/srv/www/wiki' reset --hard 'origin/master'   git -C '/srv/www/wiki' reset --hard 'origin/master'
 +
 +  git -C '/srv/www/wiki' gc --aggressive --prune='all'
 +
 +  git -C '/srv/www/wiki' fsck --full --strict
  
   exit   exit
/usr/local/www/wiki/data/attic/servers/linux/nginx/dokuwiki.1758327069.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