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 18:43] Sean Rhoneservers:linux:nginx:mybb [2025/09/13 00:52] (current) Sean Rhone
Line 14: Line 14:
 ====== Dependencies ====== ====== Dependencies ======
  
-  * https://github.com/mybb/mybb/wiki/Getting-started-with-MyBB-1.9-development---Composer +  * https://docs.mybb.com/1.8/install/requirements
-  * https://docs.mybb.com/1.8/install/+  * https://docs.mybb.com/1.8/install/anonymous-statistics/
  
-  sudo zypper install php8-curl php8-exif php8-fileinfo php-gd php8-intl php8-mbstring php8-mysql php8-openssl php8-sodium php8-dom php8-xmlreader php8-zip php8-bcmath php8-iconv php8-zlib+  sudo zypper install php-composer2
  
 ====== Download Source ====== ====== Download Source ======
Line 23: Line 23:
   * https://github.com/mybb/mybb/commits/dev-1.9/   * https://github.com/mybb/mybb/commits/dev-1.9/
  
-  sudo git clone --branch 'dev-1.9' --depth '1' --recurse-submodules 'https://github.com/mybb/mybb.git' '/srv/www/forum' && sudo chown -R 'wwwrun':'www' '/srv/www/forum'+  sudo git clone --branch 'dev-1.9' --depth '1' --recurse-submodules 'https://github.com/mybb/mybb.git' '/srv/www/forum' && sudo chown -R 'wwwrun':'www' '/srv/www/forum' && sudo chmod -R '0755' '/srv/www/forum' 
 + 
 +====== Environment ====== 
 + 
 +  * https://github.com/mybb/mybb/wiki/Getting-started-with-MyBB-1.9-development---Composer 
 + 
 +===== Composer ===== 
 + 
 +  sudo su 'wwwrun' -s '/bin/bash' 
 + 
 +  cd '/tmp' && composer --working-dir='/srv/www/forum' --no-cache install --no-dev 
 + 
 +  exit
  
 ====== Database ====== ====== Database ======
Line 116: Line 128:
 #    access_log  /var/log/nginx/forum-access.log; #    access_log  /var/log/nginx/forum-access.log;
 #    error_log  /var/log/nginx/forum-error.log; #    error_log  /var/log/nginx/forum-error.log;
- 
-#    location / { 
-#        try_files $uri $uri/ /index.php?$args; 
-#    } 
- 
-#    rewrite /wp-admin$ $scheme://$host$uri/ permanent; 
  
 } }
Line 134: 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'
  
-  nano '/srv/www/forum/wp-todo.php'+  nano '/srv/www/forum/inc/config.php'
  
 <code> <code>
-TODO</code>+$config['database']['encoding'] = 'utf8mb4';</code> 
 + 
 +  exit
  
 ====== Services ====== ====== Services ======
Line 157: 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.1757630612.txt.gz · Last modified: by Sean Rhone