Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-02-2017, 09:35 AM
zhangshen147
Fire Beetle
 
Join Date: Nov 2009
Posts: 17
Smile EQEmu run for Docker containers

OK, guys ... now can quickly create EQEmu Server using the Docker.
I have everything needed for good.
You only need to set up a computer running a Docker.
Look here: https://www.docker.com/products/overview

First of all, we need to prepare a server running file:

Create a eqemu working directory, e.g.
mkdir -p /opt/eqemu <------ [emufile_path]
mkdir -p /opt/eqemu/server

Download EQEmu source code/maps/quests ...
EQEmu source code:
git clone https://github.com/EQEmu/Server.git /opt/eqemu/source
maps
git clone https://github.com/Akkadius/EQEmuMaps.git /opt/eqemu/eqmaps
quests
git clone https://github.com/ProjectEQ/projecteqquests.git /opt/eqemu/quests

mv -f /opt/eqemu/eqmaps/maps /opt/eqemu/ && rm -rf eqmaps

Enter the EQEmu source code directory, to build the executable file.
More compile information, please look here: http://wiki.eqemulator.org/

When the compile is complete:
cd /opt/eqemu/server
cp ../source/utils/defaults/eqemu_config.xml.full ../eqemu_config.xml
cp ../source/loginserver/login_util/login.ini ../
ln -sf ../source/bin/* .
ln -sf ../source/utils/defaults/* .
ln -sf ../source/utils/patches/* .
ln -sf ../source/utils/scripts/* .
ln -sf ../source/loginserver/login_util/login* .
rm -rf Maps
ln -sf ../maps .
ln -sf ../maps ./Maps
ln -sf ../quests .
ln -sf ../quests/lua_modules .
ln -sf ../quests/plugins .
ln -sf ../eqemu_config.xml .
ln -sf ../login.ini .

Edit the settings file eqemu_config.xml and login.ini

Preparation complete.

Database setup:
docker run --name [your_Containers_name] -p 3306:3306 -v [your_database_path]:/var/lib/mysql -v [your_config_path]:/etc/mysql/conf.d -e MYSQL_ROOT_PASSWORD=[your_root_pass] -d mariadb

You need download SQL files create peq database and login database.
http://peqtgc.com/releases

EQEmu login server for Docker:
docker run --name [your_Containers_name] -p 5998:5998/udp -p 5999:5999/udp -v [your_emufile_path]:/mnt/eqemu -d rabbired/emulogin

EQEmu Server for Docker:
docker run --name [your_Containers_name] -p 9001:9001 -p 9080:9080 -p 9000:9000/udp -p 7000-7100:7000-7100/udp -v [your_emufile_path]:/mnt/eqemu -d rabbired/emuserver

Port 9001 for Supervisord WebUI.

ok,finish~
Reply With Quote
 

Tags
docker server


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:22 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3