|
@@ -1,3 +1,4 @@
|
|
|
+# **Linux Instructions At Bottom **
|
|
|
### **Included Software and Versions**
|
|
|
MariaDB(mysql) -- 10.4.12 (https://downloads.mariadb.org/)
|
|
|
Unrar -- 5.90 (https://www.rarlab.com/)
|
|
@@ -46,3 +47,32 @@
|
|
|
7) Full Rebuild (update DB/LUA/SQL/MAPS after delete. This will take a long time).
|
|
|
|
|
|
|
|
|
+### ** Linux Installer **
|
|
|
+ The Linux installer is really simple. Its a bash script that does the following
|
|
|
+ 1) Installs the packages needed to compile the server (Login/World/Recast)
|
|
|
+ 2) Creates a working directory in /home/eq2emu/
|
|
|
+ 3) Downloads the latest source via Git
|
|
|
+ 4) Downloads premake5 from github and builds it
|
|
|
+ 5) Downloads fmtlib from github and builds it
|
|
|
+ 6) Compiles World and copies it to /home/eq2emu/server
|
|
|
+ 7) Compiles Login and copies it to /home/eq2emu/server
|
|
|
+ 8) Creates a startup script to start the server
|
|
|
+
|
|
|
+## ** Linux Startup Script **
|
|
|
+ The startup script does the following
|
|
|
+ 1) Checks if its first run (via installconfig.conf)
|
|
|
+ 1a) If its first run it does the following
|
|
|
+ 1b) Asks for MYSQL User/Password/EQ2EMu DB name
|
|
|
+ 1c) Adds the data to a file (installconfig.conf) for use later.
|
|
|
+ 1d) Loads nano to edit the ini files (setup your user/pass for mysql)
|
|
|
+ 1e) Downloads and installs the LoginServer DB
|
|
|
+
|
|
|
+
|
|
|
+ 2) Not first run, so we attempt to update the following:
|
|
|
+ 2a) SQL Either 1 for Complete DB update or 2 for Partial (no character table/guilds)
|
|
|
+ 2b) Source updates. We also Update the Structs just in case
|
|
|
+ 2c) LUA Updates
|
|
|
+ 2d) Map Updates from Git
|
|
|
+ 2e) LoginServer Updates
|
|
|
+
|
|
|
+ 3) Start the server using Screen (launches in background)
|