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 [2026/01/01 02:52] – Ubuntu -> oS TW Sean Rhoneservers:linux:nginx:dokuwiki [2026/01/01 03:20] (current) Sean Rhone
Line 52: Line 52:
 php_value[log_errors] = "0" php_value[log_errors] = "0"
 php_value[error_reporting] = "~E_ALL" php_value[error_reporting] = "~E_ALL"
 +
 +; openSUSE php.ini Defaults
 +php_value[session.save_path] = "/var/lib/php8/sessions"
  
 ; General ; General
Line 134: Line 137:
  
 ====== Settings ====== ====== Settings ======
- 
-===== Plugins ===== 
- 
-  * https://www.dokuwiki.org/plugin:searchindex 
  
 ===== Template Style Settings ===== ===== Template Style Settings =====
Line 161: Line 160:
  
   * This prevents -- from becoming a – (long hyphen), which breaks some command's syntax   * This prevents -- from becoming a – (long hyphen), which breaks some command's syntax
-  * TODO: Test 1st one 
- 
-  echo '--      --' | sudo -u 'wwwrun' tee '/srv/www/wiki/conf/entities.local.conf' > '/dev/null' 
  
   echo '--      --' | sudo tee '/srv/www/wiki/conf/entities.local.conf' > '/dev/null' && sudo chown 'wwwrun':'www' '/srv/www/wiki/conf/entities.local.conf'   echo '--      --' | sudo tee '/srv/www/wiki/conf/entities.local.conf' > '/dev/null' && sudo chown 'wwwrun':'www' '/srv/www/wiki/conf/entities.local.conf'
Line 199: Line 195:
 # End</code> # End</code>
  
-  sudo -u 'wwwrun' '/etc/nginx/scripts/wiki/git-fix.sh'+==== Execute ==== 
 + 
 +  sudo su 'wwwrun' -s '/bin/bash' 
 + 
 +  '/etc/nginx/scripts/wiki/git-fix.sh' 
 + 
 +  exit
  
 ====== Services ====== ====== Services ======
Line 397: Line 399:
 ===== Indexer ===== ===== Indexer =====
  
-****+  sudo su 'wwwrun' -s '/bin/bash'
  
-  cd '/srv/www/wiki' && sudo -u 'wwwrun' '/usr/bin/php' '/srv/www/wiki/bin/indexer.php' --clear+  cd '/srv/www/wiki' && '/usr/bin/php' '/srv/www/wiki/bin/indexer.php' --clear 
 + 
 +  exit
  
 ===== Start nginx ===== ===== Start nginx =====
/usr/local/www/wiki/data/attic/servers/linux/nginx/dokuwiki.1767253927.txt.gz · Last modified: by Sean Rhone