servers:linux:nginx:joomla
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| servers:linux:nginx:joomla [2026/11/11 01:01] – Sean Rhone | servers:linux:nginx:joomla [2026/11/18 12:53] (current) – [Server Block] Sean Rhone | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| * https:// | * https:// | ||
| - | sudo zypper install | + | sudo zypper install |
| ====== Download Source ====== | ====== Download Source ====== | ||
| Line 26: | Line 26: | ||
| * https:// | * https:// | ||
| - | sudo git clone --branch ' | + | sudo git clone --branch ' |
| ====== Environment ====== | ====== Environment ====== | ||
| Line 36: | Line 36: | ||
| sudo su ' | sudo su ' | ||
| - | cd '/ | + | cd '/ |
| - | cd '/ | + | cd '/ |
| exit | exit | ||
| Line 68: | Line 68: | ||
| listen.owner = " | listen.owner = " | ||
| listen.group = " | listen.group = " | ||
| - | listen.mode = "0662" | + | listen.mode = "0002" |
| pm = " | pm = " | ||
| Line 75: | Line 75: | ||
| php_value[log_errors] = " | php_value[log_errors] = " | ||
| - | php_value[error_reporting] = "~E_ALL" | + | php_value[error_reporting] = "0" |
| php_value[display_errors] = " | php_value[display_errors] = " | ||
| php_value[display_startup_errors] = " | php_value[display_startup_errors] = " | ||
| Line 82: | Line 82: | ||
| php_value[session.save_path] = "/ | php_value[session.save_path] = "/ | ||
| php_value[date.timezone] = " | php_value[date.timezone] = " | ||
| - | |||
| php_value[output_buffering] = " | php_value[output_buffering] = " | ||
| + | |||
| + | php_value[memory_limit] = " | ||
| + | php_value[max_memory_limit] = " | ||
| + | php_value[memory_hard_limit_percent] = " | ||
| + | php_value[post_max_size] = " | ||
| + | php_value[upload_max_filesize] = " | ||
| + | php_value[max_file_uploads] = " | ||
| + | php_value[max_input_time] = " | ||
| + | php_value[max_execution_time] = " | ||
| ; Temp | ; Temp | ||
| Line 96: | Line 104: | ||
| < | < | ||
| log_errors = " | log_errors = " | ||
| - | error_reporting = "~E_ALL" | + | error_reporting = "0" |
| display_errors = " | display_errors = " | ||
| display_startup_errors = " | display_startup_errors = " | ||
| Line 103: | Line 111: | ||
| session.save_path = "/ | session.save_path = "/ | ||
| date.timezone = " | date.timezone = " | ||
| - | |||
| output_buffering = " | output_buffering = " | ||
| + | |||
| + | memory_limit = " | ||
| + | max_memory_limit = " | ||
| + | memory_hard_limit_percent = " | ||
| + | post_max_size = " | ||
| + | upload_max_filesize = " | ||
| + | max_file_uploads = " | ||
| + | max_input_time = " | ||
| + | max_execution_time = " | ||
| ; Temp | ; Temp | ||
| Line 116: | Line 132: | ||
| < | < | ||
| - | location ' | + | location ' |
| - | fastcgi_split_path_info ' | + | |
| - | fastcgi_intercept_errors ' | + | |
| - | fastcgi_index ' | + | |
| - | include ' | + | |
| - | fastcgi_param ' | + | |
| - | fastcgi_param ' | + | |
| - | fastcgi_param ' | + | |
| - | fastcgi_pass ' | + | |
| - | } | + | } |
| + | |||
| + | # End</ | ||
| + | |||
| + | ===== Deny Directive ===== | ||
| + | |||
| + | * https:// | ||
| + | |||
| + | sudo -e '/ | ||
| + | |||
| + | < | ||
| + | # Installation Folder | ||
| + | location ' | ||
| + | deny ' | ||
| + | } | ||
| + | |||
| + | location = '/ | ||
| + | deny 'all'; | ||
| + | } | ||
| # End</ | # End</ | ||
| Line 138: | Line 172: | ||
| server { | server { | ||
| | | ||
| - | http2 'on'; | + | http2 'off'; |
| | | ||
| root '/ | root '/ | ||
| Line 145: | Line 179: | ||
| | | ||
| | | ||
| + | # include '/ | ||
| + | |||
| + | | ||
| # access_log '/ | # access_log '/ | ||
| # error_log '/ | # error_log '/ | ||
| - | |||
| - | # location ' | ||
| - | # deny ' | ||
| - | # } | ||
| - | |||
| - | # location = '/ | ||
| - | # deny ' | ||
| - | # } | ||
| | | ||
| Line 190: | Line 219: | ||
| ===== Installer Deny ===== | ===== Installer Deny ===== | ||
| - | * Uncomment '' | + | * Uncomment '' |
| * Do after initial setup | * Do after initial setup | ||
| Line 215: | Line 244: | ||
| < | < | ||
| - | ==== System Dashboard | + | ===== Color TODO ===== |
| - | * Templates -> Site Template Styles | + | ==== Custom ==== |
| - | ==== Theme Settings ==== | + | < |
| + | Header Background Colour | ||
| + | rgb(61, 139, 255) | ||
| + | 3D8BFF | ||
| - | * '' | + | Header Text Colour |
| + | rgb(254, 254, 254) | ||
| + | FEFEFE | ||
| - | ==== Footer ==== | + | Body Background Colour |
| + | rgb(228, 228, 228) | ||
| + | E4E4E4 | ||
| - | === Copyright === | + | Body Text Colour |
| + | | ||
| - | * Last tested: 2024/02/01 on Joomla 5.1.0-dev, T3 Framework 3.2.0, and Purity III 2.1.0 | + | Links Colour |
| + | rgb(254, 254, 254) | ||
| + | FEFEFE | ||
| - | == Logo == | + | Links Hover Colour |
| + | rgb(228, 228, 228) | ||
| + | E4E4E4 | ||
| - | **** | + | |
| + | | ||
| - | wget -O '/ | + | |
| + | | ||
| - | == Text == | + | Button Primary |
| + | rgb(254, 254, 254) | ||
| + | FEFEFE | ||
| - | * Place text within the ''< | + | Button Primary Hover Text Colour |
| - | * Remove '' | + | rgb(228, 228, 228) |
| + | E4E4E4 | ||
| - | sudo -e '/srv/ | + | Footer Background Colour |
| + | rgb(72, 72, 72) | ||
| + | 484848 | ||
| + | |||
| + | Footer Text Colour | ||
| + | rgb(254, 254, 254) | ||
| + | FEFEFE</code> | ||
| + | |||
| + | ==== Default ==== | ||
| < | < | ||
| - | | + | Header Background Colour |
| - | < | + | rgb(193, 205, 207) |
| - | </ | + | |
| + | Header Text Colour | ||
| + | rgb(23, 23, 23) | ||
| + | |||
| + | Body Background Colour | ||
| + | rgb(254, 254, 254) | ||
| + | |||
| + | Body Text Colour | ||
| + | rgb(23, 23, 23) | ||
| + | |||
| + | Links Colour | ||
| + | rgb(29, 121, 137) | ||
| + | |||
| + | Links Hover Colour | ||
| + | rgb(14, 59, 67) | ||
| + | |||
| + | Button Primary Background Colour | ||
| + | rgb(206, 60, 55) | ||
| + | |||
| + | Button Primary Hover Background Colour | ||
| + | rgb(131, 35, 32) | ||
| + | |||
| + | Button Primary Text Colour | ||
| + | rgb(254, 254, 254) | ||
| + | |||
| + | Button Primary Hover Text Colour | ||
| + | rgb(254, 254, 254) | ||
| + | |||
| + | Footer Background Colour | ||
| + | rgb(29, 121, 137) | ||
| + | |||
| + | Footer Text Colour | ||
| + | rgb(254, 254, 254)</code> | ||
| + | |||
| + | ==== System Dashboard | ||
| + | |||
| + | * Templates | ||
| + | |||
| + | ==== Theme Settings ==== | ||
| + | |||
| + | * '' | ||
| ===== Articles ===== | ===== Articles ===== | ||
| Line 260: | Line 354: | ||
| === Temp === | === Temp === | ||
| - | |||
| - | **** | ||
| < | < | ||
| Line 277: | Line 369: | ||
| ==== Site Meta Description ==== | ==== Site Meta Description ==== | ||
| - | |||
| - | **** | ||
| < | < | ||
| Line 284: | Line 374: | ||
| ==== Content Rights ==== | ==== Content Rights ==== | ||
| - | |||
| - | **** | ||
| Creative Commons Attribution-ShareAlike 4.0 International | Creative Commons Attribution-ShareAlike 4.0 International | ||
| Line 326: | Line 414: | ||
| ExecStart='/ | ExecStart='/ | ||
| - | ExecStart='/ | + | ExecStart='/ |
| - | ExecStart='/ | + | ExecStart='/ |
| ExecStartPost='/ | ExecStartPost='/ | ||
| Line 360: | Line 448: | ||
| === Service === | === Service === | ||
| - | * [[linux: | + | * [[linux: |
| mkdir -p ~/' | mkdir -p ~/' | ||
| Line 412: | Line 500: | ||
| === Service === | === Service === | ||
| - | * [[linux: | + | * [[linux: |
| mkdir -p ~/' | mkdir -p ~/' | ||
| Line 494: | Line 582: | ||
| ===== Files ===== | ===== Files ===== | ||
| - | |||
| - | **** | ||
| sudo tar -czf ~/' | sudo tar -czf ~/' | ||
| ===== Database ===== | ===== Database ===== | ||
| - | |||
| - | **** | ||
| sudo mariadb-dump --single-transaction --quick ' | sudo mariadb-dump --single-transaction --quick ' | ||
| Line 520: | Line 604: | ||
| ===== Stop nginx ===== | ===== Stop nginx ===== | ||
| - | |||
| - | **** | ||
| sudo systemctl stop ' | sudo systemctl stop ' | ||
| ===== Remove Existing Files ===== | ===== Remove Existing Files ===== | ||
| - | |||
| - | **** | ||
| ls ~/' | ls ~/' | ||
| Line 533: | Line 613: | ||
| ===== Restore Files ===== | ===== Restore Files ===== | ||
| - | **** | + | |
| - | + | ||
| - | | + | |
| ===== Git Fix ===== | ===== Git Fix ===== | ||
| - | * :!: Set email for '' | + | * :!: Set '' |
| sudo su ' | sudo su ' | ||
| Line 545: | Line 623: | ||
| cd '/ | cd '/ | ||
| - | git -C '/ | + | git -C '/ |
| git -C '/ | git -C '/ | ||
| Line 555: | Line 633: | ||
| git -C '/ | git -C '/ | ||
| - | git -C '/ | + | git -C '/ |
| - | git -C '/ | + | git -C '/ |
| git -C '/ | git -C '/ | ||
| Line 576: | Line 654: | ||
| ===== Start nginx ===== | ===== Start nginx ===== | ||
| - | |||
| - | **** | ||
| sudo systemctl start ' | sudo systemctl start ' | ||
| ===== Clean-up ===== | ===== Clean-up ===== | ||
| - | |||
| - | **** | ||
| rm -fv ~/' | rm -fv ~/' | ||
/srv/www/wiki/data/attic/servers/linux/nginx/joomla.1794376861.txt.gz · Last modified: by Sean Rhone