Both sides previous revisionPrevious revisionNext revision | Previous revision |
servers:windows:nginx:joomla [2025/06/03 10:55] – [Bookmarks] Sean Rhone | servers:windows:nginx:joomla [2025/06/14 21:10] (current) – [Prerequisites] Sean Rhone |
---|
* [[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.1-winx64.msi'' | |
| |
* No Development components or Third party tools | |
* Use UTF8 as default server's character set | |
| |
===== Node.js ===== | |
| |
* https://nodejs.org/en/download | |
* Last tested: ''node-v22.16.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; |
| |
"%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" |
====== Branch Update ====== | ====== Branch Update ====== |
| |
* 5.2 -> 5.3 | * 5.3 -> 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 |
"%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 ====== |
===== 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 ===== |
* [[#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 11.8\bin\mariadb.exe" -u "root" -p "joomla_db" < "%UserProfile%\Downloads\joomla.sql" | "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p "joomla_db" < "%UserProfile%\Downloads\joomla.sql" |
| |
====== Quick Commands ====== | ====== Quick Commands ====== |
===== Bookmarks ===== | ===== Bookmarks ===== |
| |
* https://github.com/joomla/joomla-cms/commits/5.3-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 |
| |