CentOS7 notes

Support forum for questions about compiling and running EQ2Emulator on Linux.

Moderator: Team Members

Post Reply
darq77
Posts: 4
Joined: Thu Dec 08, 2016 11:28 am

CentOS7 notes

Post by darq77 » Thu Dec 08, 2016 12:05 pm

For those wishing to compile on CentOS7, as few things have changed from the wiki entry.

- you need to manually install zlib-devel and mariadb-devel as well as mariadb-server
- you need to edit the makefile

/usr/lib/mysql
becomes
/usr/lib64/mysql

if you like edit -O to -O2
compile with
make -j<num_cpu*2>

The svn checkout url doesn't work, take that from the Ubuntu one

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: CentOS7 notes

Post by Gangrenous » Thu Dec 08, 2016 1:52 pm

Appreciate it. I believe with about every distro there is something that has changed now. Even Debian, I had to make some changes.
Resident Dirty Hippy

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: CentOS7 notes

Post by Jabantiz » Thu Dec 08, 2016 4:33 pm

Thanks for the updates.

darq77
Posts: 4
Joined: Thu Dec 08, 2016 11:28 am

Re: CentOS7 notes

Post by darq77 » Fri Dec 09, 2016 6:40 am

I've also added a eq2.service file

Code: Select all

[Unit]
Description=Everquest 2 World Server
Documentation=http://eq2emulator.net/wiki/
After=syslog.target
After=network.target
Requires=mariadb.service

[Service]
Type=simple
User=eq2
Group=eq2
WorkingDirectory=/home/eq2/
ExecStart=/home/eq2/eq2world

# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300

# Place temp files in a secure directory, not /tmp
PrivateTmp=true

[Install]
WantedBy=multi-user.target
This assumes that a eq2 user was created and the files are placed in /home/eq2/

useradd -m eq2
passwd eq2

write this file as /etc/systemd/system/eq2.service

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest