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:17] – [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 326: Line 326:
  
   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 ===== 
- 
-**** 
- 
-  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 ===== ===== Git Fix =====
 +
 +  * :!: Set email for ''user.email''
  
   sudo su 'wwwrun' -s '/bin/bash'   sudo su 'wwwrun' -s '/bin/bash'
Line 342: 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 350: Line 348:
  
   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.1758327459.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