servers:windows:nginx:friendica
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
servers:windows:nginx:friendica [2025/10/13 09:00] – [PHP-CGI] Sean Rhone | servers:windows:nginx:friendica [2025/10/13 13:30] (current) – [WSL] Sean Rhone | ||
---|---|---|---|
Line 5: | Line 5: | ||
* https:// | * https:// | ||
- | * :!: 2025/10/12: WIP | + | * :!: 2025/10/13: WIP ((works; // |
===== Prerequisites ===== | ===== Prerequisites ===== | ||
* [[windows; | * [[windows; | ||
- | * [[servers; | + | * [[servers; |
* [[servers; | * [[servers; | ||
* [[programs; | * [[programs; | ||
* [[servers; | * [[servers; | ||
+ | |||
+ | ==== WSL ==== | ||
+ | |||
+ | * [[windows; | ||
+ | * [[windows; | ||
+ | * [[servers; | ||
====== Dependencies ====== | ====== Dependencies ====== | ||
Line 19: | Line 25: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * 2025/10/13: '' | ||
- | " | + | " |
- | + | ||
- | sudo zypper install php-composer2 php8-curl php8-fileinfo php-gd php8-gmp php8-pdo php8-mbstring php8-intl php8-mysql php8-zip php8-openssl php8-posix php8-opcache | + | |
====== Download Source ====== | ====== Download Source ====== | ||
Line 56: | Line 61: | ||
===== PHP ===== | ===== PHP ===== | ||
- | " | + | " |
- | + | ||
- | sudo -e '/ | + | |
< | < | ||
Line 88: | Line 91: | ||
; End</ | ; End</ | ||
- | |||
- | " | ||
===== Composer ===== | ===== Composer ===== | ||
- | " | + | **** |
- | | + | |
- | ====== nginx + PHP-CGI Configuration ====== | + | ====== nginx + PHP-FPM Configuration ====== |
- | ===== PHP-CGI ===== | + | ===== PHP-FPM ===== |
" | " | ||
Line 157: | Line 158: | ||
# End</ | # End</ | ||
- | " | + | " |
- | + | ||
- | ====== Batch Files ====== | + | |
- | + | ||
- | MKDIR " | + | |
- | + | ||
- | " | + | |
- | + | ||
- | ===== PHP-CGI ===== | + | |
- | + | ||
- | " | + | |
- | + | ||
- | < | + | |
- | @echo off | + | |
- | + | ||
- | START " | + | |
- | + | ||
- | :: End</ | + | |
- | + | ||
- | " | + | |
- | + | ||
- | ===== logrotate ===== | + | |
- | + | ||
- | sudo rm -f '/ | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | < | + | |
- | '/ | + | |
- | create ' | + | |
- | daily | + | |
- | rotate 0 | + | |
- | nocompress | + | |
- | missingok | + | |
- | notifempty | + | |
- | nocopy | + | |
- | nomail | + | |
- | noshred | + | |
- | } | + | |
- | + | ||
- | # End</ | + | |
- | + | ||
- | sudo logrotate --force '/ | + | |
- | + | ||
- | ==== Autostart ==== | + | |
- | + | ||
- | explorer " | + | |
- | + | ||
- | " | + | |
- | + | ||
- | Social PHP-CGI | + | |
====== Scripts ====== | ====== Scripts ====== | ||
Line 213: | Line 164: | ||
===== Folder ===== | ===== Folder ===== | ||
- | MKDIR " | + | MKDIR " |
- | " | + | " |
- | ===== PHP-CGI ===== | + | ===== PHP-FPM ===== |
- | " | + | " |
< | < | ||
@echo off | @echo off | ||
- | SET " | + | START "Social |
- | SET " | + | |
- | + | ||
- | START "Media PHP-CGI" "php-cgi.exe" -b " | + | |
:: End</ | :: End</ | ||
- | " | + | " |
===== Update ===== | ===== Update ===== | ||
Line 339: | Line 287: | ||
====== Initial Setup ====== | ====== Initial Setup ====== | ||
- | * https:// | + | * TODO |
====== Settings ====== | ====== Settings ====== | ||
- | * :!: WIP | + | * '' |
- | * [[servers; | + | |
- | ===== Purity III Template ===== | + | ipconfig |
- | | + | |
- | + | ||
- | ==== Install ==== | + | |
- | + | ||
- | * [[https:// | + | |
- | * Install T3 Framework and Purity III from that downloads page | + | |
- | + | ||
- | ==== System Dashboard ==== | + | |
- | + | ||
- | * Templates -> Site Template Styles | + | |
- | * Set '' | + | |
- | + | ||
- | ==== Theme Settings ==== | + | |
- | + | ||
- | * General -> Show T3 Logo: Off | + | |
- | + | ||
- | * Theme -> Logo Type: Text | + | |
- | * Theme -> Site Name: '' | + | |
- | + | ||
- | * Navigation -> Megamenu Configuration -> Animation: Fading | + | |
- | * Navigation -> Megamenu Configuration -> Duration: '' | + | |
- | + | ||
- | * Add-ons -> Off-canvas Sidebar -> Enable: Off | + | |
- | + | ||
- | * Assignment -> Toggle Selection | + | |
- | + | ||
- | ==== Footer ==== | + | |
- | + | ||
- | === Copyright === | + | |
- | + | ||
- | * Last tested: 2024/02/01 on Joomla 5.1.0-dev, T3 Framework 3.2.0, and Purity III 2.1.0 | + | |
- | + | ||
- | == Logo == | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | wget -O '/ | + | |
- | + | ||
- | == Text == | + | |
- | + | ||
- | * Place text within the ''< | + | |
- | * Remove '' | + | |
- | + | ||
- | sudo -e '/var/www/ | + | |
< | < | ||
- | < | + | ' |
- | <img src=" | + | 'hostname' |
- | </ | + | |
- | + | ||
- | ==== Custom CSS ==== | + | |
- | + | ||
- | * :!: This shrinks the footer height, and places it back at the bottom of the screen instead of floating half-way up the page when little content exists ([[https:// | + | |
- | * Also replaces ThemeMagic for Brand Primary Color, Footer Background, and Footer Text Color | + | |
- | + | ||
- | * Last tested: 2024/02/01 on Joomla 5.1.0-dev, T3 Framework 3.2.0, and Purity III 2.1.0 | + | |
- | + | ||
- | sudo -e '/ | + | |
< | < | ||
- | html, | + | ' |
- | + | 'basepath' | |
- | body { | + | |
- | height: 100%; | + | |
- | } | + | |
- | + | ||
- | a { | + | |
- | color: #3D8BFF; | + | |
- | } | + | |
- | + | ||
- | a:hover { | + | |
- | color: #196BE4; | + | |
- | } | + | |
- | + | ||
- | .t3-mainnav { | + | |
- | background-color: | + | |
- | } | + | |
- | + | ||
- | .logo a { | + | |
- | background: none; | + | |
- | } | + | |
- | + | ||
- | .logo a:hover { | + | |
- | background: #196BE4; | + | |
- | } | + | |
- | + | ||
- | .t3-wrapper { | + | |
- | position: relative; | + | |
- | min-height: 100%; | + | |
- | } | + | |
- | + | ||
- | .t3-footer { | + | |
- | position: absolute; | + | |
- | bottom: 0; | + | |
- | left: 0; | + | |
- | right: 0; | + | |
- | background-color: | + | |
- | color: #FFFFFF; | + | |
- | } | + | |
- | + | ||
- | .t3-copyright { | + | |
- | padding-top: | + | |
- | padding-bottom: | + | |
- | }</code> | + | |
- | + | ||
- | ===== Articles ===== | + | |
- | + | ||
- | ==== Home ==== | + | |
- | + | ||
- | * The line-breaks are intentional and are there to make how it displays look nicer | + | |
- | * Add links to '' | + | |
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | Welcome! Realm of Espionage is a personal project composed of various services. All services on RoE are free and open-source, self-hosted, | + | |
- | + | ||
- | + | ||
- | + | ||
- | This domain serves as a landing page and provides links to my most-used profiles and projects. To view them, use the navigation bar (desktop) or the ≡ hamburger icon (mobile) at the top of the screen. | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | ===== Menus ===== | + | |
- | + | ||
- | * Main menu headers are: System Links -> URL -> ''#'' | + | |
- | * Icon sizes are 24x24 | + | |
- | * Menu entries should be named normally before saving for a proper '' | + | |
- | + | ||
- | ===== Global Configuration ===== | + | |
- | + | ||
- | ==== Site Meta Description ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | Realm of Espionage is a personal project composed of various self-hosted services. All services are hosted in-house under secure conditions, and notes are provided for all services under the CC-BY-SA 4.0 license. | + | |
- | + | ||
- | ==== Content Rights ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | Creative Commons Attribution-ShareAlike 4.0 International | + | |
- | + | ||
- | ==== Articles ==== | + | |
- | + | ||
- | * System -> Global Configuration -> Articles | + | |
- | + | ||
- | * Show Title: Hide | + | |
- | * Show Category: Hide | + | |
- | * Show Author: Hide | + | |
- | * Show Publish Date: Hide | + | |
- | * Show Navigation: Hide | + | |
- | * Show Print: Hide | + | |
- | * Show Email: Hide | + | |
- | * Show Hits: Hide | + | |
- | + | ||
- | ==== Menu ==== | + | |
- | + | ||
- | * Menus -> Main Menu -> Home -> Link Type -> Display in Menu: No | + | |
- | * Menus -> Main Menu -> Home -> Page Display -> Show Page Heading: Hide | + | |
====== Files ====== | ====== Files ====== | ||
Line 532: | Line 328: | ||
" | " | ||
+ | |||
+ | ====== TODO ====== | ||
+ | |||
+ | " | ||
+ | |||
+ | " | ||
+ | |||
+ | " | ||
/srv/www/wiki/data/attic/servers/windows/nginx/friendica.1760360423.txt.gz · Last modified: by Sean Rhone