User Tools

Site Tools


servers:windows: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:windows:nginx:joomla [2025/05/30 14:55] Sean Rhoneservers:windows:nginx:joomla [2025/06/14 21:10] (current) – [Prerequisites] Sean Rhone
Line 7: Line 7:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[windows;11_ltsc|Windows 11 (24H2)]]+  * [[windows;11_ltsc_server|Windows 11 (24H2)]]
   * [[servers;windows;nginx_php_php-cgi|nginx + PHP + PHP-CGI]]   * [[servers;windows;nginx_php_php-cgi|nginx + PHP + PHP-CGI]]
   * [[servers;windows;nginx;lets_encrypt|Certbot (Let's Encrypt)]]   * [[servers;windows;nginx;lets_encrypt|Certbot (Let's Encrypt)]]
 +  * [[programs;windows;git|Git]]
 +  * [[programs;windows;nodejs_npm|Node.js + npm]]
 +  * [[servers;windows;mariadb|MariaDB]]
  
 ====== Dependencies ====== ====== Dependencies ======
  
   * https://manual.joomla.org/docs/next/get-started/technical-requirements/   * https://manual.joomla.org/docs/next/get-started/technical-requirements/
- 
-===== Git ===== 
- 
-  * https://git-scm.com/downloads/win 
-  * Last tested: ''Git-2.49.0-64-bit.exe'' 
- 
-===== MariaDB Server ===== 
- 
-  * https://mariadb.org/download/ 
-  * Last tested: ''mariadb-11.8.2-winx64.msi'' 
- 
-  * No Development components or Third party tools 
-  * Use UTF8 as default server's character set 
-  * [x] Enable Networking 
- 
-===== Node.js ===== 
- 
-  * https://nodejs.org/en/download 
-  * Last tested: ''node-v22.15.0-x64.msi'' 
- 
-  * ''[x]'' Node.js runtime 
-  * ''[ ]'' corepack manager 
-  * ''[x]'' npm package manager 
-  * ''[ ]'' Online documentation shortcuts 
-  * ''[~]'' Add to PATH 
-    * ''[x]'' Node.js and npm 
-    * ''[ ]'' npm modules 
- 
-  * ''[ ]'' Automatically install the necessary tools. 
  
 ====== Download Source ====== ====== Download Source ======
  
-  * https://github.com/joomla/joomla-cms/commits/5.3-dev/+  * https://github.com/joomla/joomla-cms/commits/5.4-dev/
  
-  "%ProgramFiles%\Git\bin\git.exe" clone --branch "5.3-dev" --depth "1" --recurse-submodules "https://github.com/joomla/joomla-cms.git" "%SystemDrive%\www\main"+  "%ProgramFiles%\Git\bin\git.exe" clone --branch "5.4-dev" --depth "1" --recurse-submodules "https://github.com/joomla/joomla-cms.git" "%SystemDrive%\www\main"
  
 ====== Database ====== ====== Database ======
  
-  "%ProgramFiles%\MariaDB 11.8\bin\mariadb.exe" -u "root" -p+  "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p
  
   CREATE DATABASE joomla_db;   CREATE DATABASE joomla_db;
Line 99: Line 73:
 ===== Composer ===== ===== Composer =====
  
-  * https://github.com/composer/composer/releases +  * [[https://github.com/composer/composer/releases/latest/download/composer.phar|composer.phar]]
-  * Latest ''composer.phar'' in ''www\ext'' folder+
  
   MKDIR "%SystemDrive%\www\ext"   MKDIR "%SystemDrive%\www\ext"
Line 121: Line 94:
  
 <code> <code>
-# PHP-CGI 
 location ~ \.(php)(/.*)?$ { location ~ \.(php)(/.*)?$ {
     fastcgi_split_path_info ^(.+\.(?:php))(/.*)$;     fastcgi_split_path_info ^(.+\.(?:php))(/.*)$;
Line 156: Line 128:
 #    access_log  logs/main-access.log; #    access_log  logs/main-access.log;
 #    error_log  logs/main-error.log; #    error_log  logs/main-error.log;
- 
-# Install dir post-install block 
-# 
-#    location "/install" { 
-#        location ~* \.(php)$ { 
-#            deny "all"; 
-#        } 
-#    } 
  
     location /api/ {     location /api/ {
Line 194: Line 158:
 ====== Scripts ====== ====== Scripts ======
  
-  MKDIR "%SystemDrive%\www\scripts\main"+===== Folder =====
  
-  "explorer.exe" "%SystemDrive%\www\scripts\main"+**** 
 + 
 +  MKDIR "%SystemDrive%\www\scripts\main"
  
 ===== PHP-CGI ===== ===== PHP-CGI =====
Line 213: Line 179:
  
 ===== Update ===== ===== Update =====
- 
-  * https://github.com/joomla/joomla-cms/commits/5.3-dev/ 
  
   "notepad.exe" "%SystemDrive%\www\scripts\main\Update.bat"   "notepad.exe" "%SystemDrive%\www\scripts\main\Update.bat"
Line 222: Line 186:
  
 "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" reset --hard "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" reset --hard
-"%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" pull origin "5.3-dev" --rebase+"%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" pull origin "5.4-dev" --rebase
  
 "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" gc --aggressive --prune="all" "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" gc --aggressive --prune="all"
Line 439: Line 403:
 ====== Branch Update ====== ====== Branch Update ======
  
-  * 5.-> 5.3 +  * 5.-> 5.4
-  * TODO: Re-check commands with ''5.4-dev''+
  
-  "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" switch -t -c "5.3-dev"+  "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" switch -t -c "5.4-dev"
  
   "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" branch   "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" branch
Line 448: Line 411:
   "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" reset --hard    "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" reset --hard 
  
-  "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" pull origin "5.3-dev" --rebase+  "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\main" pull origin "5.4-dev" --rebase
  
 ====== Files ====== ====== Files ======
Line 457: Line 420:
  
   "tar.exe" -czf "%UserProfile%\Downloads\joomla-files-manual-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "main"   "tar.exe" -czf "%UserProfile%\Downloads\joomla-files-manual-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "main"
- 
-==== FreeBSD ==== 
- 
-**** 
- 
-  "%USERPROFILE%\Downloads\OpenSSH-Win64\scp.exe" "%USERPROFILE%\Downloads\joomla-files-manual-"*".tar.gz" "%USERPROFILE%\Downloads\joomla.sql" espionage724@192.168.1.152:~ 
  
 ====== Database ====== ====== Database ======
Line 468: Line 425:
 ===== Backup ===== ===== Backup =====
  
-  CD "%UserProfile%\Downloads"+****
  
-  "%ProgramFiles%\MariaDB 11.8\bin\mariadb-dump.exe" -u "root" -p --opt -r "joomla.sql" "joomla_db"+  CD "%UserProfile%\Downloads" && "%ProgramFiles%\MariaDB 12.0\bin\mariadb-dump.exe" -u "root" -p --opt -r "joomla.sql" "joomla_db"
  
 ===== Restore ===== ===== Restore =====
Line 476: Line 433:
   * [[#database|Initial set-up]]   * [[#database|Initial set-up]]
  
-  "%ProgramFiles%\MariaDB 11.8\bin\mariadb.exe" -u "root" -p --execute="CREATE DATABASE joomla_db"+  "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p --execute="CREATE DATABASE joomla_db" 
 + 
 +  "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p "joomla_db" < "%UserProfile%\Downloads\joomla.sql" 
 + 
 +====== Quick Commands ====== 
 + 
 +===== Scripts ===== 
 + 
 +**** 
 + 
 +  "explorer.exe" "%SystemDrive%\www\scripts\main" 
 + 
 +===== Bookmarks =====
  
-  "%ProgramFiles%\MariaDB 11.8\bin\mariadb.exe" -u "root" -p "joomla_db" < "%UserProfile%\Downloads\joomla.sql"+  * https://github.com/joomla/joomla-cms/commits/5.4-dev/ 
 +  * https://github.com/joomla/joomla-cms/branches
  
/srv/www/wiki/data/attic/servers/windows/nginx/joomla.1748631332.txt.gz · Last modified: by Sean Rhone