| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:nginx:friendica [2026/02/03 22:38] – [Download Source] Sean Rhone | servers:windows:nginx:friendica [2026/03/06 00:32] (current) – [Download Sources] Sean Rhone |
|---|
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/zypper' install git-core tar php-composer2 php8-curl php-gd php8-gmp php8-pdo php8-mbstring php8-intl php8-mysql php8-zip php8-openssl php8-fileinfo php8-posix | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/zypper' install git-core tar php-composer2 php8-curl php-gd php8-gmp php8-pdo php8-mbstring php8-intl php8-mysql php8-zip php8-openssl php8-fileinfo php8-posix |
| |
| ====== Download Sources ====== | ====== Download Source ====== |
| |
| * https://github.com/friendica/friendica/commits/develop/ | * https://github.com/friendica/friendica/commits/develop/ |
| CD "%Temp%" | CD "%Temp%" |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' worker | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' worker |
| |
| :: End</code> | :: End</code> |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/composer2' --working-dir='/srv/www/social' --no-cache install --no-dev | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/composer2' --working-dir='/srv/www/social' --no-cache install --no-dev |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure update --force | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure update --force |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure drop --execute | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure drop --execute |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' postupdate | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' postupdate |
| |
| :: End</code> | :: End</code> |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/git' -C '/srv/www/social/addon' fsck --full --strict | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/git' -C '/srv/www/social/addon' fsck --full --strict |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' cache clear | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' cache clear |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' clearavatarcache | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' clearavatarcache |
| |
| :: End</code> | :: End</code> |
| ====== Initial Setup ====== | ====== Initial Setup ====== |
| |
| * 2026/01/21: Untested ((restored from back-up)) | * 2026/02/04: Untested ((restored from back-up)) |
| |
| ===== Initialize ===== | ===== Initialize ===== |
| * :?: Might be able to use ''--file'' on manually-created [[#localconfigphp|local.config.php]] instead | * :?: Might be able to use ''--file'' on manually-created [[#localconfigphp|local.config.php]] instead |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/mnt/c/www/social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/mnt/c/www/social/bin/console' autoinstall --dbhost '172.28.112.1' --dbport '3365' --dbuser 'friendica' --dbdata 'friendica' --url 'https://social.realmofespionage.xyz' --basepath '/srv/www/social' --dbpass 'x' --admin 'espionage724@x' | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console' autoinstall --dbhost '172.28.112.1' --dbport '3365' --dbuser 'friendica' --dbdata 'friendica' --url 'https://social.realmofespionage.xyz' --basepath '/srv/www/social' --dbpass 'x' --admin 'espionage724@x' |
| |
| ===== Account Create ===== | ===== Account Create ===== |
| * :!: ''x'' is the **nickname** chosen at website registration | * :!: ''x'' is the **nickname** chosen at website registration |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/mnt/c/www/social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/mnt/c/www/social/bin/console' user password x | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/social/bin/console' user password x |
| |
| ===== Disable Registration ===== | ===== Disable Registration ===== |
| **** | **** |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/mnt/c/www/social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/mnt/c/www/social/bin/console.php' config 'config' 'register_policy' '0' | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' config 'config' 'register_policy' '0' |
| |
| ===== Etc ===== | ===== Etc ===== |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' worker | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' config 'system' 'basepath' '/srv/www/social' |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure update --force | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' config 'config' 'info' 'https://wiki.realmofespionage.xyz/servers;windows;nginx;friendica' |
| | |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure drop --execute | |
| | |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' postupdate | |
| | |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' cache clear | |
| | |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' clearavatarcache | |
| | |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' config 'system' 'basepath' '/srv/www/social' | |
| | |
| "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' config 'config' 'info' 'https://wiki.realmofespionage.xyz/servers;windows;nginx;friendica' | |
| |
| ====== Settings ====== | ====== Settings ====== |
| |
| * :!: 2026/01/30: Everything below WIP | |
| |
| ===== frio Theme ===== | ===== frio Theme ===== |
| su - | su - |
| |
| su -m 'www' -c "ee '/usr/local/www/social/config/local.config.php'" && clear | su -m 'www' -c "ee '/usr/local/www/social/config/local.config.php'" |
| |
| <code> | <code> |
| ===== Folder ===== | ===== Folder ===== |
| |
| * TODO | * TODO: Might be faster doing the ''tar'' within WSL |
| |
| "tar.exe" -czf "%UserProfile%\Downloads\friendica-files-manual-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "social" | "tar.exe" -czf "%UserProfile%\Downloads\friendica-files-manual-%RANDOM%.tar.gz" -C "//wsl.localhost/openSUSE-Tumbleweed/srv/www" "social" |
| |
| ===== Database ===== | ===== Database ===== |
| |
| "%ProgramFiles%\MariaDB 12.2\bin\mariadb.exe" -u "root" "friendica" < "%UserProfile%\Downloads\friendica.sql" | "%ProgramFiles%\MariaDB 12.2\bin\mariadb.exe" -u "root" "friendica" < "%UserProfile%\Downloads\friendica.sql" |
| | |
| | ===== Etc ===== |
| | |
| | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' worker |
| | |
| | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure update --force |
| | |
| | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure drop --execute |
| | |
| | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' postupdate |
| | |
| | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' cache clear |
| | |
| | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "\\wsl.localhost\openSUSE-Tumbleweed\srv\www\social" -- '/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' clearavatarcache |
| |