User Tools

Site Tools


servers:windows:nginx:friendica

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:friendica [2025/11/21 02:13] – [PHP-FPM] Sean Rhoneservers:windows:nginx:friendica [2025/11/29 01:08] (current) Sean Rhone
Line 60: Line 60:
 <code> <code>
 [social] [social]
 +listen = "127.0.0.1:9005"
  
-; User/Group 
 user = "espionage724" user = "espionage724"
 group = "espionage724" group = "espionage724"
- 
-; Socket 
-listen = "127.0.0.1:9005" 
 listen.allowed_clients = "127.0.0.1" listen.allowed_clients = "127.0.0.1"
  
-; Process Management 
 pm = "ondemand" pm = "ondemand"
 pm.max_children = "8" pm.max_children = "8"
 pm.process_idle_timeout = "30" pm.process_idle_timeout = "30"
  
-; openSUSE php.ini Defaults +php_value[error_reporting] = "~E_ALL" 
-php_value[session.save_path] = "/var/lib/php8/sessions"+php_value[display_errors] = "Off" 
 +php_value[log_errors] = "Off"
  
-; General 
-php_value[log_errors] = "0" 
-php_value[error_reporting] = "~E_ALL" 
-;php_value[display_errors] = "On" 
 php_value[date.timezone] = "America/New_York" php_value[date.timezone] = "America/New_York"
 php_value[max_execution_time] = "200" php_value[max_execution_time] = "200"
Line 88: Line 81:
 php_value[max_file_uploads] = "100" php_value[max_file_uploads] = "100"
 php_value[register_argc_argv] = "On" php_value[register_argc_argv] = "On"
 +php_value[session.save_path] = "/var/lib/php8/sessions"
  
 ; End</code> ; End</code>
Line 184: Line 178:
  
   "%SystemDrive%\www\scripts\social\PHP-FPM.bat"   "%SystemDrive%\www\scripts\social\PHP-FPM.bat"
 +
 +===== Worker =====
 +
 +  "notepad.exe" "%SystemDrive%\www\scripts\social\Worker.bat"
 +
 +<code>
 +@echo off
 +
 +TITLE Social Worker
 +
 +"wsl.exe" --distribution openSUSE-Tumbleweed --cd "/mnt/c/www/social" -- '/usr/bin/php' '/mnt/c/www/social/bin/console.php' worker
 +
 +:: End</code>
 +
 +  "%SystemDrive%\www\scripts\social\Worker.bat"
  
 ===== Update ===== ===== Update =====
Line 214: Line 223:
 ===== Back-up ===== ===== Back-up =====
  
-  * TODO+  * ''D:\Servers\Scheduled Backups''
  
-  "notepad.exe" "%SystemDrive%\www\scripts\media\Back-up.bat"+  "notepad.exe" "%SystemDrive%\www\scripts\social\Back-up.bat"
  
 <code> <code>
 @echo off @echo off
 +
 +TITLE Social Back-up
  
 :: User\Downloads :: User\Downloads
-"tar.exe" -czf "%UserProfile%\Downloads\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+::"tar.exe" -czf "%UserProfile%\Downloads\friendica-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "social" 
 +::"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "%UserProfile%\Downloads\%RANDOM%-friendica.sql" "friendica"
  
 :: NAS :: NAS
-::"tar.exe" -czf "D:\Servers\Scheduled Backups\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+"tar.exe" -czf "D:\Servers\Scheduled Backups\friendica-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "social" 
 +"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "D:\Servers\Scheduled Backups\%RANDOM%-friendica.sql" "friendica"
  
 :: End</code> :: End</code>
  
-  "%SystemDrive%\www\scripts\media\Back-up.bat"+  "%SystemDrive%\www\scripts\social\Back-up.bat"
  
 ===== Maintenance ===== ===== Maintenance =====
Line 257: Line 270:
 <code> <code>
 @echo off @echo off
 +
 +TITLE Social Git Fix
  
 RMDIR /S /Q "%SystemDrive%\www\social\.git" RMDIR /S /Q "%SystemDrive%\www\social\.git"
Line 304: Line 319:
 ====== Task Scheduler ====== ====== Task Scheduler ======
  
-  :!: TODO+****
  
   taskschd.msc   taskschd.msc
 +
 +===== Worker =====
 +
 +  * TODO: On-login, every 15 minutes
 +
 +  Social Worker
 +
 +  "%SystemDrive%\www\scripts\social\Worker.bat"
  
 ===== Update ===== ===== Update =====
  
-  * ''12:00:00 AM'' daily+  * ''4:00:00 AM'' daily
  
-  Wiki Update+  Social Update
  
-  "%SystemDrive%\www\scripts\wiki\Update.bat"+  "%SystemDrive%\www\scripts\social\Update.bat"
  
 ===== Back-up ===== ===== Back-up =====
  
-  * Weekly -> Recur every ''1'' weeks on ''Monday'' +  * Monthly -> All months -> Days: ''5'' 
-  * ''12:15:00 AM''+  * ''4:15:00 AM''
  
-  Wiki File Back-up+  Social Back-up
  
-  "%SystemDrive%\www\scripts\wiki\Back-up.bat"+  "%SystemDrive%\www\scripts\social\Back-up.bat"
  
 ===== Maintenance ===== ===== Maintenance =====
  
-  * Monthly -> All months -> Days: ''1'' +  * Monthly -> All months -> Days: ''5'' 
-  * ''12:30:00 AM''+  * ''4:30:00 AM''
  
-  Wiki Maintenance+  Social Maintenance
  
-  "%SystemDrive%\www\scripts\wiki\Maintenance.bat"+  "%SystemDrive%\www\scripts\social\Maintenance.bat"
  
 ====== Service ====== ====== Service ======
/var/www/wiki/data/attic/servers/windows/nginx/friendica.1763709208.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