Page 1 of 1

CentOS7 notes

Posted: Thu Dec 08, 2016 12:05 pm
by darq77
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

Re: CentOS7 notes

Posted: Thu Dec 08, 2016 1:52 pm
by Gangrenous
Appreciate it. I believe with about every distro there is something that has changed now. Even Debian, I had to make some changes.

Re: CentOS7 notes

Posted: Thu Dec 08, 2016 4:33 pm
by Jabantiz
Thanks for the updates.

Re: CentOS7 notes

Posted: Fri Dec 09, 2016 6:40 am
by darq77
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