Ground Up Linux Install
It is recommended to use the Linux-Server install in nearly all cases, this is for advanced users/developers. Note the Linux-Server install above DOES include source code building, so it can do all steps below.
ubuntu apt-get install requirements. (you can refer to https://github.com/EQEmu/Server/blob/master/utils/scripts/linux_installer/install.sh#L91) for other environment installs
1
apt-get -y install --no-install-recommends build-essential gcc-5 g++-5 libtool cmake curl debconf-utils git git-core libio-stringy-perl liblua5.1 liblua5.1-dev libluabind-dev libmysql++ libperl-dev libperl5i-perl libjson-perl libsodium-dev libmysqlclient-dev libssl-dev lua5.1 minizip make mariadb-client locales nano open-vm-tools unzip uuid-dev iputils-ping zlibc wget
Copied!
ubuntu libsodium install (needs 18)
1
wget http://ftp.us.debian.org/debian/pool/main/libs/libsodium/libsodium-dev_1.0.11-2_amd64.deb -O /tmp/libsodium-dev.deb
2
wget http://ftp.us.debian.org/debian/pool/main/libs/libsodium/libsodium18_1.0.11-2_amd64.deb -O /tmp/libsodium18.deb
3
dpkg -i /tmp/libsodium*.deb
4
rm -f /tmp/libsodium-dev.deb
5
rm -f /tmp/libsodium18.deb
Copied!
you need to install and configure mariadb or mysql yourself. I didn't include this step, since with a ground up install, I assume you have your own means to provide it.
These environment variables are set just to simplify snippets in the future. Feel free to adjust to your preferred locations
1
export EMUBUILDDIR=~/eqemu/src/build/bin
2
export EMUSRCDIR=~/eqemu/src
3
mkdir -p $EMUBUILDDIR
4
mkdir -p $EQEMUSRCDIR
Copied!
Clone eqemu's source code from github
1
git clone --recurse-submodules https://github.com/EQEmu/Server.git $EMUSRCDIR
Copied!
configure eqemu's source code to generate files into the build dir
1
mkdir -p $EMUSRCDIR/build
2
cd $EMUSRCDIR/build
3
cmake -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_LUA=ON -G 'Unix Makefiles' ..
Copied!
compile eqemu's source code
1
make
Copied!
verify binaries were built
1
ls $EMUBUILDDIR/world
2
> ~/eqemu/build/bin/world
3
ls $EMUBUILDDIR/zone
4
> ~/eqemu/build/bin/zone
Copied!
download eqemu_config.json (edit this file to your environment, especially DB settings)
1
cd $EQEMUBUILDDIR/
2
wget --no-check-certificate https://raw.githubusercontent.com/Akkadius/EQEmuInstall/master/eqemu_config_docker.json -O eqemu_config.json
Copied!
prime database (This step can at times cause cmake to break, just to warn, since linux_login_server_setup likes to overwrite the cmake configuration. Remember remove CMakeCache.txt and rerun cmake to repair if this happens)
1
cd $EQEMUBUILDDIR/
2
./eqemu_server.pl source_peq_db
3
./eqemu_server.pl check_db_updates
4
./eqemu_server.pl linux_login_server_setup
Copied!
edit your login.json file to connect to your DB
get utility scripts, opcodes, endless other things
1
cd $EQEMUBUILDDIR/
2
./eqemu_server.pl fetch_utility_scripts
3
./eqemu_server.pl opcodes
4
./eqemu_server.pl maps #this is going to take a while, ~2 gig DL
5
./eqemu_server.pl opcodes
6
./eqemu_server.pl plugins
7
./eqemu_server.pl quests
8
./eqemu_server.pl lua_modules
Copied!
I suggest at this point going into your $EQEMUBUILDDIR and running ./shared_memory, ./world, ./zone, ./loginserver and reviewing any errors it reports. If no errors, you can run the shell script instead from now on
1
cd $EQEMUBUILDDIR/
2
./server_start_with_login.sh
Copied!
This likely is STILL missing steps, just to warn.
Last modified 1yr ago
Copy link