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 [2026/03/30 19:32] – [Prerequisites] Sean Rhoneservers:windows:nginx:friendica [2026/04/15 10:03] (current) – [PHP-FPM] Sean Rhone
Line 57: Line 57:
   "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="MariaDB Server"   "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="MariaDB Server"
  
-  CD "%ProgramFiles%\MariaDB "*"\bin" && "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="MariaDB Server" dir="in" action="allow" profile="any" remoteip="localsubnet" program="%CD%\mysqld.exe"+  CD "%ProgramFiles%\MariaDB "*"\bin" 
 + 
 +  "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="MariaDB Server" dir="in" action="allow" profile="any" remoteip="localsubnet" program="%CD%\mysqld.exe"
  
 ====== Environment ====== ====== Environment ======
Line 190: Line 192:
 CD "%Temp%" CD "%Temp%"
  
-START "Social PHP-FPM" /MIN "%SystemRoot%\System32\wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/sbin/php-fpm' -c '/etc/php8/fpm/php-fpm.d/social.conf' -F+START "Social PHP-FPM" /MIN /D "%Temp%" "%SystemRoot%\System32\wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/sbin/php-fpm' -c '/etc/php8/fpm/php-fpm.d/social.conf' -F
  
 :: End</code> :: End</code>
Line 249: Line 251:
  
 "%SystemRoot%\System32\tar.exe" -czf "D:\Servers\Scheduled Backups\friendica-files-auto-%RANDOM%.tar.gz" -C "\\wsl.localhost\openSUSE-Tumbleweed\srv\www" "social" "%SystemRoot%\System32\tar.exe" -czf "D:\Servers\Scheduled Backups\friendica-files-auto-%RANDOM%.tar.gz" -C "\\wsl.localhost\openSUSE-Tumbleweed\srv\www" "social"
-"%ProgramFiles%\MariaDB 12.3\bin\mariadb-dump.exe" -u "root" --opt -r "D:\Servers\Scheduled Backups\%RANDOM%-friendica.sql" "friendica"+"%ProgramFiles%\MariaDB 12.3\bin\mariadb-dump.exe" -u "root" --opt --single-transaction -r "D:\Servers\Scheduled Backups\%RANDOM%-friendica.sql" "friendica"
  
 ::"%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\friendica-files-auto-%RANDOM%.tar.gz" -C "\\wsl.localhost\openSUSE-Tumbleweed\srv\www" "social" ::"%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\friendica-files-auto-%RANDOM%.tar.gz" -C "\\wsl.localhost\openSUSE-Tumbleweed\srv\www" "social"
-::"%ProgramFiles%\MariaDB 12.3\bin\mariadb-dump.exe" -u "root" --opt -r "%UserProfile%\Downloads\%RANDOM%-friendica.sql" "friendica"+::"%ProgramFiles%\MariaDB 12.3\bin\mariadb-dump.exe" -u "root" --opt --single-transaction -r "%UserProfile%\Downloads\%RANDOM%-friendica.sql" "friendica"
  
 :: End</code> :: End</code>
Line 475: Line 477:
 **** ****
  
-  "%ProgramFiles%\MariaDB 12.3\bin\mariadb-dump.exe" -u "root" --opt -r "%UserProfile%\Downloads\friendica.sql" "friendica"+  "%ProgramFiles%\MariaDB 12.3\bin\mariadb-dump.exe" -u "root" --opt --single-transaction -r "%UserProfile%\Downloads\friendica.sql" "friendica"
  
 ====== Restore ====== ====== Restore ======
/srv/www/wiki/data/attic/servers/windows/nginx/friendica.1774913543.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