User Tools

Site Tools


servers:bsd: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:bsd:nginx:wordpress [2025/05/16 19:57] Sean Rhoneservers:bsd:nginx:wordpress [2025/05/16 21:51] (current) – [Download Source] Sean Rhone
Line 4: Line 4:
   * [[Information:Realm of Espionage]]   * [[Information:Realm of Espionage]]
   * https://blog.realmofespionage.xyz   * https://blog.realmofespionage.xyz
- 
-  * 2025/05/16: WIP 
  
 ===== Prerequisites ===== ===== Prerequisites =====
Line 24: Line 22:
  
 ====== Download Source ====== ====== Download Source ======
 +
 +  * https://github.com/WordPress/WordPress/commits/master/
  
   su -   su -
Line 137: Line 137:
  
   * Date Format: Y/m/d   * Date Format: Y/m/d
 +
 +===== DB Connection Fix =====
 +
 +  * https://forums.freebsd.org/threads/wordpress-cant-connect-to-mysql-database.71914/#post-436461
 +  * ''DB_HOST'' to ''127.0.0.1''
 +
 +  su -
 +
 +  ee '/usr/local/www/blog/wp-config.php'
 +
 +<code>define( 'DB_HOST', 'localhost' );^M</code>
 +
 +<code>define( 'DB_HOST', '127.0.0.1' );^M</code>
 +
 +====== Temp Commands ======
 +
 +===== Update =====
 +
 +  * https://github.com/WordPress/WordPress/commits/master/
 +
 +  su -
 +
 +  su -m 'www' -c "'/usr/local/bin/git' -C '/usr/local/www/blog' pull origin 'master'"
 +
 +===== Etc =====
 +
 +  su -
 +
 +  su -m 'www' -c "'/usr/local/bin/git' -C '/usr/local/www/blog' reset --hard"
 +
 +  su -m 'www' -c "'/usr/local/bin/git' -C '/usr/local/www/blog' pull origin 'master' --rebase"
 +
 +  su -m 'www' -c "'/usr/local/bin/git' -C '/usr/local/www/blog' gc --aggressive --prune='all'"
 +
 +  su -m 'www' -c "'/usr/local/bin/git' -C '/usr/local/www/blog' fsck --full --strict"
  
 ====== Services ====== ====== Services ======
/usr/local/www/wiki/data/attic/servers/bsd/nginx/wordpress.1747439857.txt.gz · Last modified: by Sean Rhone