Installing without docker

From EVEmu Wiki
Jump to navigation Jump to search

You need Ubuntu Server 18.04 for this guide to work! I could not make it work with Ubuntu Server 20.04. See: compiling-the-source

Note: All passwords will be "1337" in this guide. Please change them accordingly.

cmake will download the correct version of libboost. (Do not try to install the specified libboost1.54 manually.)

Update and install some dependencies:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install build-essential g++ cmake git
sudo apt-get install libtinyxml2.6.2v5-dbg libtinyxml2.6.2v5 libmysqlclient-dev
sudo apt-get install zlib1g-dev zlib1g-dbg

Download the latest codebase into your home directory and build:
cd
git clone https://github.com/EvEmu-Project/evemu_Crucible
cd evemu_Crucible
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=dist ..
make install

Database install:
sudo apt-get install mariadb-server
sudo mysql_secure_installation

Database setup:
Open your MySQL shell via mysql -u root -p and input the following:
Note: This will prompt you for the password you set in the Database install Step

create database evemu;
GRANT ALL ON evemu.* TO 'evemu'@'localhost' IDENTIFIED BY '1337';


Some configuring:
./get_evedbtool.sh
nano evedb.yaml
change password field to 1337
./evedbtool install

Edit eve-server.xml:
nano /evemu_Crucible/build/dist/etc/eve-server.xml

Scroll to bottom, find the <database> section, make it like this:

<host>localhost</host>
<username>evemu</username>
<password>1337</password>
<db>evemu</db>
<port>3306</port>
<ssl>false</ssl>
<useSocket>false</useSocket>
<autoReconnect>true</autoReconnect>
<dbTimeout>2</dbTimeout>
<pingTime>10</pingTime>

Final Steps:
Optionally, move to %devRoot$/evemu_Crucible/build/dist/ and make a 'logs' directory. This will be where EVEmu will be able to save log files.


To finally run your EVEmu server, navigate to the %devRoot$/evemu_Crucible/build/dist/bin folder and run the eve-server executable.

Create a run script:
cd
touch runevemu.sh
nano runevemu.sh

Enter the following:
cd ~/evemu_Crucible/build/dist/bin
./eve-server

Finally, start your EVEmu server with a terminal:
sh runevemu.sh