User Tools

Site Tools


servers:windows:nginx:wordpress

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:wordpress [2025/06/11 06:03] Sean Rhoneservers:windows:nginx:wordpress [2025/09/11 06:43] (current) – external edit 127.0.0.1
Line 7: Line 7:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[windows;10_ltsc_server|Windows 10 (21H2)]]+  * [[windows:10|Windows 10 (21H2)]]
   * [[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)]]
Line 26: Line 26:
 ====== Database ====== ====== Database ======
  
-  "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p+  "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p
  
   CREATE DATABASE wordpress;   CREATE DATABASE wordpress;
Line 57: Line 57:
 extension = "openssl" extension = "openssl"
 extension = "sodium" extension = "sodium"
-zend_extension = "opcache" 
  
 ; Settings ; Settings
Line 133: Line 132:
     rewrite /wp-admin$ $scheme://$host$uri/ permanent;     rewrite /wp-admin$ $scheme://$host$uri/ permanent;
  
-    location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ { 
-          access_log off; log_not_found off; expires max; 
-    } 
 } }
  
Line 243: Line 239:
 **** ****
  
-  CD "%USERPROFILE%\Downloads" && "%PROGRAMFILES%\MariaDB 12.0\bin\mariadb-dump.exe" -u "root" -p --opt -r "wordpress.sql" "wordpress"+  CD "%USERPROFILE%\Downloads" && "%PROGRAMFILES%\MariaDB 12.1\bin\mariadb-dump.exe" -u "root" -p --opt -r "wordpress.sql" "wordpress"
  
 ===== Restore ===== ===== Restore =====
Line 249: Line 245:
   * [[#database|Initial set-up]]   * [[#database|Initial set-up]]
  
-  "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p --execute="CREATE DATABASE wordpress"+  "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p --execute="CREATE DATABASE wordpress"
  
-  "%ProgramFiles%\MariaDB 12.0\bin\mariadb.exe" -u "root" -p "wordpress" < "%UserProfile%\Downloads\wordpress.sql"+  "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p "wordpress" < "%UserProfile%\Downloads\wordpress.sql"
  
 ====== Quick Commands ====== ====== Quick Commands ======
/srv/www/wiki/data/attic/servers/windows/nginx/wordpress.1749636226.txt.gz · Last modified: by Sean Rhone