User Tools

Site Tools


servers:windows: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:windows:nginx:mybb [2025/11/20 10:44] Sean Rhoneservers:windows:nginx:mybb [2025/11/29 00:44] (current) – [Back-up] Sean Rhone
Line 12: Line 12:
   * [[programs;windows;git|Git]]   * [[programs;windows;git|Git]]
   * [[servers;windows;mariadb|MariaDB]]   * [[servers;windows;mariadb|MariaDB]]
- 
-  * :!: WIP 
  
 ====== Dependencies ====== ====== Dependencies ======
Line 47: Line 45:
 [PHP] [PHP]
 extension_dir = ".\ext" extension_dir = ".\ext"
-extension = "curl" 
-extension = "gd" 
-extension = "intl" 
-extension = "ldap" 
-extension = "mbstring" 
 extension = "mysqli" extension = "mysqli"
-extension = "openssl" 
-extension = "sodium" 
  
 error_reporting = "~E_ALL" error_reporting = "~E_ALL"
 display_errors = "Off" display_errors = "Off"
 +log_errors = "Off"
  
 [Date] [Date]
Line 107: Line 99:
 # access_log "logs/forum-access.log"; # access_log "logs/forum-access.log";
 # error_log "logs/forum-error.log"; # error_log "logs/forum-error.log";
- 
- location "/api/" { 
-  try_files "$uri" "$uri/" "/api/index.php?$args"; 
- } 
- 
- location "/" { 
-  try_files "$uri" "$uri/" "/index.php?$args"; 
- } 
- 
- location "~*" "/(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$" { 
-  return "403"; 
-  error_page "403" "/403_error.html"; 
- } 
- 
- location "~*" "\.(ico|pdf|flv)$" { 
-  expires "1y"; 
- } 
- 
- location "~*" "\.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$" { 
-  expires "14d"; 
- } 
    
 } }
Line 153: Line 124:
 SET "PHP_FCGI_CHILDREN=1" SET "PHP_FCGI_CHILDREN=1"
  
-START "Forum PHP-CGI" "php-cgi.exe" -b "127.0.0.1:9006" -c "%SystemDrive%\www\php\forum.ini" -q+START "Forum PHP-CGI" /MIN "php-cgi.exe" -b "127.0.0.1:9006" -c "%SystemDrive%\www\php\forum.ini" -q
  
 :: End</code> :: End</code>
Line 177: Line 148:
 ===== Back-up ===== ===== Back-up =====
  
-  * :!: TODO+  * ''D:\Servers\Scheduled Backups''
  
   "notepad.exe" "%SystemDrive%\www\scripts\forum\Back-up.bat"   "notepad.exe" "%SystemDrive%\www\scripts\forum\Back-up.bat"
Line 183: Line 154:
 <code> <code>
 @echo off @echo off
 +
 +TITLE Forum Back-up
  
 :: User\Downloads :: User\Downloads
-"tar.exe" -czf "%UserProfile%\Downloads\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+::"tar.exe" -czf "%UserProfile%\Downloads\mybb-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "forum" 
 +::"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "%UserProfile%\Downloads\%RANDOM%-mybb.sql" "mybb"
  
 :: NAS :: NAS
-::"tar.exe" -czf "D:\Servers\Scheduled Backups\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+"tar.exe" -czf "D:\Servers\Scheduled Backups\mybb-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "forum" 
 +"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "D:\Servers\Scheduled Backups\%RANDOM%-mybb.sql" "mybb"
  
 :: End</code> :: End</code>
Line 217: Line 192:
 <code> <code>
 @echo off @echo off
 +
 +TITLE Forum Git Fix
  
 RMDIR /S /Q "%SystemDrive%\www\forum\.git" RMDIR /S /Q "%SystemDrive%\www\forum\.git"
Line 264: Line 241:
 ===== Back-up ===== ===== Back-up =====
  
-  * Weekly -> Recur every ''1'' weeks on ''Monday'' +  * Monthly -> All months -> Days: ''6'' 
-  * ''12:15:00 AM'' +  * ''5:15:00 AM''
-  * :!: TODO+
  
-  Wiki File Back-up+  Forum Back-up
  
-  "%SystemDrive%\www\scripts\media\Back-up.bat"+  "%SystemDrive%\www\scripts\forum\Back-up.bat"
  
 ===== Maintenance ===== ===== Maintenance =====
  
-  * Monthly -> All months -> Days: ''5''+  * Monthly -> All months -> Days: ''6''
   * ''5:30:00 AM''   * ''5:30:00 AM''
  
Line 283: Line 259:
 ====== Initial Setup ====== ====== Initial Setup ======
  
-  * https://realmofespionage.xyz+  * Database Engine''MySQL Improved'' 
 +  * Database Server Hostname: ''localhost'' 
 +  * Table Encoding: ''4-Byte UTF-8 Unicode''
  
-====== Settings ======+  * https://forums.realmofespionage.xyz
  
-===== robots.txt =====+====== Configuration ======
  
-****+===== Board Online / Offline =====
  
-  COPY /Y "%SystemDrive%\www\main\robots.txt.dist" "%SystemDrive%\www\main\robots.txt" +  * Board Closed''[x]'' Yes
- +
-===== Setup ===== +
- +
-  System -> Setup -> Global Configuration -> Site -> Site OfflineEnabled +
-  * System -> Setup -> Global Configuration -> Site -> Offline Message: Use Custom Message+
  
 <code> <code>
-This site is being built behind-the-scenes, check back later!+These forums are being built behind-the-scenes, check back later!
 <br /> <br />
 In the meantime, check out my wiki: <a href="https://wiki.realmofespionage.xyz/">RoE | Wiki</a></code> In the meantime, check out my wiki: <a href="https://wiki.realmofespionage.xyz/">RoE | Wiki</a></code>
  
-===== configuration.php =====+===== Login and Registration ===== 
 + 
 +  * Disable Registrations: ''[x]'' Yes 
 + 
 +===== config.php =====
  
 **** ****
  
-  "notepad.exe" "%SystemDrive%\www\main\configuration.php"+  "notepad.exe" "%SystemDrive%\www\forum\inc\config.php"
  
 ====== Files ====== ====== Files ======
/var/www/wiki/data/attic/servers/windows/nginx/mybb.1763653492.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