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/10/30 21:32] Sean Rhoneservers:bsd:nginx:wordpress [2025/10/31 02:11] (current) Sean Rhone
Line 139: Line 139:
  
   * Date Format: Y/m/d   * Date Format: Y/m/d
 +
 +===== wp-config.php =====
 +
 +  * :!: WordPress set-up needs to generate this file first ((put settings in the ''custom values'' section towards the bottom))
 +  * Doesn't need ''^M''
 +
 +  su -
 +
 +  su -m 'www' -c "ee '/usr/local/www/blog/wp-config.php'"
 +
 +<code>
 +define( 'AUTOMATIC_UPDATER_DISABLED', true );
 +
 +define( 'WP_DEBUG', false );
 +define( 'WP_DEBUG_DISPLAY', false );
 +
 +/* End */</code>
  
 ====== Scripts ====== ====== Scripts ======
Line 208: Line 225:
  
   su 'root' -c ~/'.local/scripts/www/blog/git-fix.sh'   su 'root' -c ~/'.local/scripts/www/blog/git-fix.sh'
 +
 +====== cron ======
 +
 +===== Updater =====
 +
 +  * 02:00AM Every day
 +
 +  su -
 +
 +  ee '/etc/cron.d/blog-updater'
 +
 +<code>
 +#
 +SHELL=/bin/sh
 +
 +0 2 * * * root '/home/espionage724/.local/scripts/www/blog/updater.sh'
 +
 +# End</code>
  
 ====== Backup ====== ====== Backup ======
/srv/www/wiki/data/attic/servers/bsd/nginx/wordpress.1761874354.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki