User Tools

Site Tools


servers:linux:nginx:mybb

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:mybb [2025/09/11 19:22] Sean Rhoneservers:linux:nginx:mybb [2025/09/13 00:52] (current) Sean Rhone
Line 15: Line 15:
  
   * https://docs.mybb.com/1.8/install/requirements/   * https://docs.mybb.com/1.8/install/requirements/
 +  * https://docs.mybb.com/1.8/install/anonymous-statistics/
  
   sudo zypper install php-composer2   sudo zypper install php-composer2
Line 139: Line 140:
  
   * TODO   * TODO
 +
 +===== Offline Message =====
 +
 +  * Configuration -> Settings -> Board Online / Offline
 +
 +<code>
 +These forums are being built behind-the-scenes, check back later!
 +<br />
 +In the meantime, check out my wiki: <a href="https://wiki.realmofespionage.xyz/">RoE | Wiki</a>
 +</code>
  
 ===== config.php ===== ===== config.php =====
 +
 +  * https://docs.mybb.com/1.8/administration/utf-8-setup/
  
   sudo su 'wwwrun' -s '/bin/bash'   sudo su 'wwwrun' -s '/bin/bash'
Line 149: Line 162:
 $config['database']['encoding'] = 'utf8mb4';</code> $config['database']['encoding'] = 'utf8mb4';</code>
  
-<code> +  exit
-$config['log_pruning'] = array( +
-    'admin_logs' => 7, // Administrator logs +
-    'mod_logs' => 7, // Moderator logs +
-    'task_logs' => 7, // Scheduled task logs +
-    'mail_logs' => 7, // Mail error logs +
-    'user_mail_logs' => 7, // User mail logs +
-    'promotion_logs' => 7 // Promotion logs +
-);</code>+
  
 ====== Services ====== ====== Services ======
Line 172: Line 177:
 Group=www Group=www
 Type=oneshot Type=oneshot
 +
 +Environment="COMPOSER_CACHE_DIR=/dev/null"
  
 ExecStart='/usr/bin/git' -C '/srv/www/forum' pull origin 'dev-1.9' ExecStart='/usr/bin/git' -C '/srv/www/forum' pull origin 'dev-1.9'
 +
 +ExecStart='/usr/bin/composer' --working-dir='/srv/www/forum' --no-cache install
  
 ExecStartPost='/usr/bin/sync' ExecStartPost='/usr/bin/sync'
/srv/www/wiki/data/attic/servers/linux/nginx/mybb.1757632979.txt.gz · Last modified: by Sean Rhone