EQ2Emu Quick/Easy Linux Server installer. - Printable Version

+- Zeklabs (https://www.zeklabs.com)
+-- Forum: General (https://www.zeklabs.com/forumdisplay.php?fid=3)
+--- Forum: FAQ/How-To/Tools (https://www.zeklabs.com/forumdisplay.php?fid=11)
+--- Thread: EQ2Emu Quick/Easy Linux Server installer. (/showthread.php?tid=678)

Pages: 1 2

EQ2Emu Quick/Easy Linux Server installer. - devn00b - 09-27-2020

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:

  • 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:
And the obvious but needs to be said stuff
  • 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.

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 <---

RE: EQ2Emu Quick/Easy Server installer. (Linux/Debian/Fedora) - devn00b - 09-30-2020

-- Added distribution detection.
-- Added Fedora Support.
-- Added Ubuntu Support.
-- Added Manjaro Support.
-- Added Arch Linux Support.

RE: EQ2Emu Quick/Easy Linux Server installer. - devn00b - 10-15-2020

-- Added Startup Script (Includes Code/DB/Maps/Script updates) Will download on 1st run. or can be manually downloaded from HERE. (chmod +x start_eq2emu.sh, or bash start_eq2emu.sh)
-- Added db import
-- Fixed a few script errors (Bash scripting is strange)
-- Added config (login_db.ini, LoginServer.ini, world_db.ini) edit on 1st run

RE: EQ2Emu Quick/Easy Linux Server installer. - devn00b - 10-28-2020

-- Updated script to now add the loginserver SQL. Will attempt to create database on 1st run (missing config), Will update as needed afterwords.

RE: EQ2Emu Quick/Easy Linux Server installer. - devn00b - 02-27-2021

-- Removed the usage of cmake, now using plain old make.
-- Fixed Ubuntu/Debian Missing Boost Libs.

RE: EQ2Emu Quick/Easy Linux Server installer. - devn00b - 03-26-2021

-- [start_eq2emu.sh] Added Database (for world) name selection on 1st run.
-- [start_eq2emu.sh] Added Database host selection on 1st run.
-- [start_eq2emu.sh] Corrected a bug in the LS update procedure (file name change leading to no update).
-- [start_eq2emu.sh] Added automatic setup of the EQ2Emu config files based on the info given during 1st config.
-- [start_eq2emu.sh] Corrected update of executables.

** note after update if you lack the correct data in installconfig.conf it will default to for MySQL host and eq2emu for the database name **

The new complete config should appear as:

RE: EQ2Emu Quick/Easy Linux Server installer. - devn00b - 03-27-2021

Completed old TODO list with the following changes. Added a few more to-dos for the future.

-- [start_eq2emu.sh] Script will now check for options.sh if it doesn't exist it will download it.
-- [start_eq2emu.sh] Script will now create the initial database on 1st run.
-- Options.sh added.

Currently supports the following options
You can grab the new start_eq2emu.sh  HERE

RE: EQ2Emu Quick/Easy Linux Server installer. - devn00b - 03-29-2021

-- [start_eq2emu.sh] Fixed an issue with the login_worldservers table being empty causing the world to not connect with the loginserver... Added default (eq2emu/eq2emu) after each update, and on 1st run.

RE: EQ2Emu Quick/Easy Linux Server installer. - devn00b - 04-04-2021

-- Added support for Alma Linux (drop-in replacement for CentOS).

RE: EQ2Emu Quick/Easy Linux Server installer. - devn00b - 04-05-2021

-- [install script] Corrected some issues with fedora install. Change from CMake to make broke it =P.
-- [install script] CMake will no longer get installed.