User Tools

Site Tools


servers:linux: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:linux:nginx:wordpress [2025/10/16 23:04] – [wp-config.php] Sean Rhoneservers:linux:nginx:wordpress [2025/10/16 23:21] (current) – [Database] Sean Rhone
Line 35: Line 35:
   GRANT ALL PRIVILEGES ON wordpress.* to 'wordpress'@'localhost';   GRANT ALL PRIVILEGES ON wordpress.* to 'wordpress'@'localhost';
  
-  FLUSH PRIVILEGES; +  FLUSH PRIVILEGES;EXIT;
- +
-  EXIT+
  
 ====== nginx + PHP-FPM Configuration ====== ====== nginx + PHP-FPM Configuration ======
Line 136: Line 134:
  
 ===== wp-config.php ===== ===== wp-config.php =====
 +
 +  * :!: WordPress set-up needs to generate this file first ((put settings in the ''custom values'' section towards the bottom))
  
   sudo -e '/srv/www/blog/wp-config.php' && sudo chown -v 'wwwrun':'www' '/srv/www/blog/wp-config.php'   sudo -e '/srv/www/blog/wp-config.php' && sudo chown -v 'wwwrun':'www' '/srv/www/blog/wp-config.php'
Line 373: Line 373:
  
   sudo mariadb 'wordpress' < ~/'wordpress'*'.sql'   sudo mariadb 'wordpress' < ~/'wordpress'*'.sql'
- 
-===== dos2unix ===== 
- 
-**** 
- 
-  find '/srv/www/blog' -type f -print0 | sudo xargs -0 dos2unix -- && sudo chown -R 'wwwrun':'www' '/srv/www/blog' && sudo chmod -R '0755' '/srv/www/blog' 
  
 ===== Git Fix ===== ===== Git Fix =====
  
   * :!: Set email for ''user.email''   * :!: Set email for ''user.email''
 +  * :!: [[#initial_setup|Initial set-up]] needs re-completed for database connection ((re-use existing details))
  
   sudo su 'wwwrun' -s '/bin/bash'   sudo su 'wwwrun' -s '/bin/bash'
/srv/www/wiki/data/attic/servers/linux/nginx/wordpress.1760670293.txt.gz · Last modified: by Sean Rhone