User Tools

Site Tools


servers:linux:nginx:joomla

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:linux:nginx:joomla [2025/09/11 10:52] – [Initial Setup] Sean Rhoneservers:linux:nginx:joomla [2025/10/16 23:53] (current) – [Service] Sean Rhone
Line 26: Line 26:
   * https://github.com/joomla/joomla-cms/commits/5.4-dev/   * https://github.com/joomla/joomla-cms/commits/5.4-dev/
   * https://github.com/joomla/joomla-cms/branches   * https://github.com/joomla/joomla-cms/branches
 +  * :!: 2025/09/11: T3 extension doesn't install on ''6.0-dev''
  
-  sudo git clone --branch '5.4-dev' --depth '1' --recurse-submodules 'https://github.com/joomla/joomla-cms.git' '/srv/www/main' && sudo chown -R 'wwwrun':'www' '/srv/www/main'+  sudo git clone --branch '5.4-dev' --depth '1' --recurse-submodules 'https://github.com/joomla/joomla-cms.git' '/srv/www/main' && sudo chown -R 'wwwrun':'www' '/srv/www/main' && sudo chmod -R '0755' '/srv/www/main'
  
 ====== Environment ====== ====== Environment ======
Line 47: Line 48:
   exit   exit
  
-====== Databases ======+====== Database ======
  
   sudo mariadb   sudo mariadb
Line 57: Line 58:
   GRANT ALL PRIVILEGES ON joomla_db.* to 'joomla'@'localhost';   GRANT ALL PRIVILEGES ON joomla_db.* to 'joomla'@'localhost';
  
-  FLUSH PRIVILEGES; +  FLUSH PRIVILEGES;EXIT;
- +
-  EXIT+
  
 ====== nginx + PHP-FPM Configuration ====== ====== nginx + PHP-FPM Configuration ======
Line 89: Line 88:
  
 ; General ; General
 +php_value[log_errors] = "0"
 +php_value[error_reporting] = "~E_ALL"
 php_value[date.timezone] = "America/New_York" php_value[date.timezone] = "America/New_York"
 php_value[max_execution_time] = "200" php_value[max_execution_time] = "200"
Line 95: Line 96:
 php_value[upload_max_filesize] = "30M" php_value[upload_max_filesize] = "30M"
 php_value[max_file_uploads] = "100" php_value[max_file_uploads] = "100"
-php_value[upload_tmp_dir] = "/tmp" 
  
 ; End</code> ; End</code>
Line 170: Line 170:
  
   * Disable Automated Updates   * Disable Automated Updates
-  * Remove installation folder+  * :!: Don't remove installation folder 
 + 
 +===== Compat Extension Fix ===== 
 + 
 +  * https://github.com/joomla/joomla-cms/issues/43876 
 + 
 +  sudo rm -fv '/srv/www/main/administrator/cache/autoload_psr4.php'
  
 ====== Settings ====== ====== Settings ======
Line 182: Line 188:
   * [[https://www.joomlart.com/member/downloads/joomlart/free-templates/purity-iii|Downloads]]   * [[https://www.joomlart.com/member/downloads/joomlart/free-templates/purity-iii|Downloads]]
   * Download **Purity III Template** and **T3 System Plugin** (:!: not 20 MB+ quickstarts; **not** ''Purity III for Joomla 5'')   * Download **Purity III Template** and **T3 System Plugin** (:!: not 20 MB+ quickstarts; **not** ''Purity III for Joomla 5'')
 +
 +  * ''t3-system-plugin_3.2.3.zip''
 +  * ''purity-iii-template_2.1.1.zip''
  
 ==== System Dashboard ==== ==== System Dashboard ====
Line 364: Line 373:
 ExecStart='/usr/bin/git' -C '/srv/www/main' pull origin '5.4-dev' ExecStart='/usr/bin/git' -C '/srv/www/main' pull origin '5.4-dev'
  
-ExecStart='/usr/bin/composer' --working-dir='/srv/www/main' --no-cache install+ExecStart='/usr/bin/composer' --working-dir='/srv/www/main' --no-cache install --no-dev
 ExecStart='/usr/bin/npm' --prefix '/srv/www/main' ci --logs-max='0' ExecStart='/usr/bin/npm' --prefix '/srv/www/main' ci --logs-max='0'
-ExecStart='/usr/bin/npm' --prefix '/srv/www/main' audit fix --audit-level='none' --logs-max='0' 
  
 ExecStartPost='/usr/bin/sync' ExecStartPost='/usr/bin/sync'
Line 492: Line 500:
 Type=oneshot Type=oneshot
  
 +ExecStart='/usr/bin/git' -C '/srv/www/main' reset --hard
 ExecStart='/usr/bin/git' -C '/srv/www/main' gc --aggressive --prune='all' ExecStart='/usr/bin/git' -C '/srv/www/main' gc --aggressive --prune='all'
 ExecStart='/usr/bin/git' -C '/srv/www/main' fsck --full --strict ExecStart='/usr/bin/git' -C '/srv/www/main' fsck --full --strict
Line 568: Line 577:
   sudo tar -xzf ~/'joomla-files-'*'.tar.gz' -C '/srv/www' 'main' && sudo chown -R 'wwwrun':'www' '/srv/www/main' && sudo chmod -R '0755' '/srv/www/main'   sudo tar -xzf ~/'joomla-files-'*'.tar.gz' -C '/srv/www' 'main' && sudo chown -R 'wwwrun':'www' '/srv/www/main' && sudo chmod -R '0755' '/srv/www/main'
  
-===== Restore Database =====+===== Git Fix =====
  
-  * [[#database|Initial set-up]]+  * :!: Set email for ''user.email'' 
 +  * :!: T3 + Purity III need reinstalled
  
-  sudo mariadb --execute='DROP DATABASE joomla_db;'+  sudo su 'wwwrun' -'/bin/bash'
  
-  sudo mariadb --execute='CREATE DATABASE joomla_db;'+  rm -Rf '/srv/www/main/.git'
  
-  sudo mariadb 'joomla_db' < ~/'joomla'*'.sql'+  git -C '/srv/www/maininit --initial-branch='5.4-dev'
  
-===== dos2unix =====+  git -C '/srv/www/main' add '.'
  
-****+  git -C '/srv/www/main' config 'user.email' 'espionage724@x'
  
-  find '/srv/www/main' -type f -print0 | sudo xargs -0 dos2unix -- && sudo chown -R 'wwwrun':'www' '/srv/www/main' && sudo chmod -R '0755' '/srv/www/main'+  git -C '/srv/www/main' commit --message='x'
  
-===== MySQL Connection =====+  git -C '/srv/www/main' remote add 'origin' 'https://github.com/joomla/joomla-cms.git'
  
-  * Windows uses ''127.0.0.1'' +  git -C '/srv/www/main' pull --depth '1' --recurse-submodules 'origin' '5.4-dev--rebase
-  * TODO+
  
-  sudo -'/srv/www/blog/wp-config.php&& sudo chown -v 'wwwrun':'www' '/srv/www/blog/wp-config.php'+  git -'/srv/www/mainreset --hard 'origin/5.4-dev'
  
-  define( 'DB_HOST''localhost);+  git -C '/srv/www/maingc --aggressive --prune='all' 
 + 
 +  git -C '/srv/www/main' fsck --full --strict 
 + 
 +  exit 
 + 
 +===== Restore Database ===== 
 + 
 +  * [[#database|Initial set-up]] 
 + 
 +  sudo mariadb --execute='DROP DATABASE joomla_db;
 + 
 +  sudo mariadb --execute='CREATE DATABASE joomla_db;' 
 + 
 +  sudo mariadb 'joomla_db' < ~/'joomla'*'.sql'
  
 ===== Start nginx ===== ===== Start nginx =====
/usr/local/www/wiki/data/attic/servers/linux/nginx/joomla.1757602372.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