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 19:43] 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 -'0755' '/srv/www/wiki'+  sudo su 'wwwrun' -'/bin/bash'
  
-===== Git Fix =====+  rm -Rf '/srv/www/wiki/.git'
  
-  sudo su 'wwwrun' -'/bin/bash'+  git -C '/srv/www/wikiinit --initial-branch='master' 
 + 
 +  git -C '/srv/www/wiki' add '.'
  
-  cd '/srv/www/wiki'+  git -C '/srv/www/wiki' config 'user.email' 'espionage724@x'
  
-  rm -Rf '.git'+  git -'/srv/www/wiki' commit --message='x'
  
-  git init -'master'+  git -'/srv/www/wiki' remote add 'origin' 'https://github.com/dokuwiki/dokuwiki.git'
  
-  git add '.'+  git -C '/srv/www/wikipull --depth '1' --recurse-submodules 'origin' 'master' --rebase
  
-  git commit -'x'+  git -'/srv/www/wiki' reset --hard 'origin/master'
  
-  git remote add origin 'https://github.com/dokuwiki/dokuwiki.git'+  git -C '/srv/www/wiki' gc --aggressive --prune='all'
  
-  git -C '/srv/www/wiki' pull origin 'master' --rebase+  git -C '/srv/www/wiki' fsck --full --strict
  
   exit   exit
/usr/local/www/wiki/data/attic/servers/linux/nginx/dokuwiki.1758325427.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