Both sides previous revisionPrevious revisionNext revision | Previous revision |
servers:linux:nginx:joomla [2024/10/24 16:20] – Sean Rhone | servers:linux:nginx:joomla [2024/10/26 05:42] (current) – [Files] Sean Rhone |
---|
| |
* Joomla ((https://www.joomla.org)) | * Joomla ((https://www.joomla.org)) |
* :!: 5.3-dev ((https://github.com/joomla/joomla-cms/tree/5.3-dev)) | * :!: [[https://github.com/joomla/joomla-cms/tree/5.3-dev|5.3-dev]] branch ((Joomla version relies mainly on [[#purity_iii_template|Purity III/T3 support]]; 5.* works, 6+ unknown)) |
* [[Information:Realm of Espionage]] | * [[Information:Realm of Espionage]] |
* https://realmofespionage.xyz | * https://realmofespionage.xyz |
====== Download Source ====== | ====== Download Source ====== |
| |
* https://github.com/joomla/joomla-cms/branches ((Joomla version relies mainly on [[#purity_iii_template|Purity III/T3 support]]; 5x works, 6+ unknown)) | * https://github.com/joomla/joomla-cms/branches |
| * ''5.3-dev'' ((Joomla version relies mainly on [[#purity_iii_template|Purity III/T3 support]]; 5.* works, 6+ unknown)) |
| |
sudo git clone --branch '5.3-dev' --depth '1' --recurse-submodules 'https://github.com/joomla/joomla-cms.git' '/var/www/main' && sudo semanage fcontext --add --type 'httpd_sys_rw_content_t' '/var/www/main(/.*)?' && sudo restorecon -F -I -R '/var/www/main' && sudo chown -R 'nginx':'nginx' '/var/www/main' && sync | sudo git clone --branch '5.3-dev' --depth '1' --recurse-submodules 'https://github.com/joomla/joomla-cms.git' '/var/www/main' && sudo semanage fcontext --add --type 'httpd_sys_rw_content_t' '/var/www/main(/.*)?' && sudo restorecon -F -I -R '/var/www/main' && sudo chown -R 'nginx':'nginx' '/var/www/main' && sync |
==== Home ==== | ==== Home ==== |
| |
* The line-breaks are intentional and are there to make how it displays look nicer | * Toggle Editor for raw-HTML paste |
* Add links to ''my'' and ''RoE | Wiki'' | |
| |
<code> | <code> |
<p><br>Welcome! Realm of Espionage is <a href="https://wiki.realmofespionage.xyz/user:espionage724" target="_blank" rel="noopener">my</a> creative space online, and the umbrella name I provide my services under. RoE is entirely self-hosted, in-house, with free and open-source software, and fully-documented in my unique notes style on <a href="https://wiki.realmofespionage.xyz/" target="_blank" rel="noopener">RoE | Wiki</a>, my encyclopedia of technical notes and no-nonsense automation.</p> | <p><br>Welcome! Realm of Espionage is <a href="https://wiki.realmofespionage.xyz/user:espionage724" target="_blank" rel="noopener">my</a> creative space online, and the umbrella name I provide my services under. RoE is entirely self-hosted, in-house, with free and open-source software, and fully-documented in my unique notes style on <a href="https://wiki.realmofespionage.xyz/" target="_blank" rel="noopener">RoE | Wiki</a>, my encyclopedia of technical notes and no-nonsense automation.</p> |
<p> </p> | <p> </p> |
<p>This domain serves as a landing page and provides links to the services I offer, some of my online profiles, and projects showcase. To view them, use the navigation bar (desktop) or the ≡ hamburger icon (mobile) at the top of the screen.</p></code> | <p>This domain serves as a landing page and provides links to the services I offer, some of my online profiles, and projects showcase. To view them, use the navigation bar (desktop) or the ≡ hamburger icon (mobile) at the top of the screen.</p> |
| <!-- End --></code> |
| |
=== Temp === | === Temp === |
<code> | <code> |
<p> </p> | <p> </p> |
<p>(website is under construction and there aren't any links in the nav bar yet; my <a href="https://wiki.realmofespionage.xyz/">wiki</a> is far-more interesting! <a href="https://wiki.realmofespionage.xyz/user:espionage724">webmaster info</a>)</p></code> | <p>(website is under construction and there aren't any links in the nav bar yet; my <a href="https://wiki.realmofespionage.xyz/">wiki</a> is far-more interesting! <a href="https://wiki.realmofespionage.xyz/user:espionage724">webmaster info</a>, <a href="https://wiki.realmofespionage.xyz/servers:linux:nginx:joomla" target="_blank" rel="noopener">dev notes</a>)</p> |
| <!-- End --></code> |
| |
===== Offline Message ===== | ===== Offline Message ===== |
| |
* 2023/09/12: TODO: SELinux prevents various actions with ''npm''; is it needed? | * 2023/09/12: TODO: SELinux prevents various actions with ''npm''; is it needed? |
| * ''5.3-dev'' branch |
| |
sudo -e '/etc/systemd/system/main-up.service' | sudo -e '/etc/systemd/system/main-up.service' |
=== Service === | === Service === |
| |
* The extra ''ExecStart'' is an additional backup location that expects [[servers:linux:vsftpd#fstab|vsftpd - fstab]] | * The extra ''ExecStart'' is an additional backup location that expects [[servers:linux:vsftpd#fstab1|vsftpd - fstab]] |
| |
mkdir -p ~/'backups' && sudo -e '/etc/systemd/system/main-fb.service' && sudo sed -i 's/CHANGEME/'$USER'/g' '/etc/systemd/system/main-fb.service' | mkdir -p ~/'backups' && sudo -e '/etc/systemd/system/main-fb.service' && sudo sed -i 's/CHANGEME/'$USER'/g' '/etc/systemd/system/main-fb.service' |