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
CentOS7 notes
Moderator: Team Members
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: CentOS7 notes
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
Thanks for the updates.
-
darq77
- Posts: 4
- Joined: Thu Dec 08, 2016 11:28 am
Re: CentOS7 notes
I've also added a eq2.service file
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
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
useradd -m eq2
passwd eq2
write this file as /etc/systemd/system/eq2.service
Who is online
Users browsing this forum: No registered users and 0 guests