09-27-2020, 08:33 PM
Since I created a windows installer I decided to try and tackle a Linux version. If you find any bugs please message me on discord or leave a post here. I've tested this across all supported versions.
All that needs to be done is grab the script below or via "wget https://www.zeklabs.com/dl/eq2emu-linux-install.sh", and then "bash eq2emu-linux-install.sh" and follow the prompts
There are some caveats:
What this script does:
And the obvious but needs to be said stuff
TODO:
Add interactive options to set: Database Username, and Password.
Add update options like the windows version has (source, scripts, DB).
Add the option to upload bugs back to EQ2EMu.com.
Add a server startup script to handle many functions.
Add Linux version detection leading to multi-version installs (IE Fedora, Arch, Ubuntu in one script)
Add directory input support on 1st start (so you can select install dir).
Add insert of server name/password into DB/ini on 1st startup.
---> EQ2EMu Linux Install Script <---
All that needs to be done is grab the script below or via "wget https://www.zeklabs.com/dl/eq2emu-linux-install.sh", and then "bash eq2emu-linux-install.sh" and follow the prompts
There are some caveats:
Quote:
- Current Working Distros: Debian 10+, Ubuntu (recent), Fedora 33, Manjaro, Arch Linux, and AlmaLinux.
- The install directory is hardcoded to /home/eq2emu.
- The script must be run as root or with sudo.
What this script does:
- Step 1: Downloads the needed dependencies from whatever system your distro uses (IE APT/YUM/PACMAN/whatever).
- Step 2: Creates /home/eq2emu and downloads the source.
- Step 3: Downloads premake5 and then builds and installs recast libs.
- Step 4: Downloads FMT Includes and installs them in the common folder.
- Step 5: Builds eq2world and login.
- Step 6: USER SETS UP MYSQL USER
- Step 7: Startup Script installs maps, Lua-related files, sets server name, installs newest DB, updates login server, and sends bug reports (/bug) to us.
- Step 8: Script launches login and world servers in the background and your server is ready to play.
And the obvious but needs to be said stuff
Quote:
- If something goes wrong, and it deletes your grandmother's pictures or turns your pc into a cat-killing robot, or any other negative thing I am not responsible.
- Support will be given ONLY if you have not changed any of the default settings.
TODO:
Add interactive options to set: Database Username, and Password.
Add update options like the windows version has (source, scripts, DB).
Add the option to upload bugs back to EQ2EMu.com.
Add a server startup script to handle many functions.
Add Linux version detection leading to multi-version installs (IE Fedora, Arch, Ubuntu in one script)
Add directory input support on 1st start (so you can select install dir).
Add insert of server name/password into DB/ini on 1st startup.
---> EQ2EMu Linux Install Script <---