Admins:Linux Server:ArchLinux
- Last edited 10 years ago by Vlash Nytefall
Admins:Linux_Server - ArchLinux
Return to: Admins:Linux_Server | Tutorials | Portal | Forum | Project Manager | Bug Tracker
Alright, before proceeding, we need to make sure all of our packages are up-to-date. This ensures compatibility and dependency-checks. Do this by performing a full system upgrade:
sudo pacman -Syu
After successfully retrieving the latest core, community and extras repository updates, we're ready to get started!
Let's start by getting subversion, which is a tool we will need to get EQ2's latest SVN source.
pacman -Sy subversion
Calling in subversion will also get neon, which is a tool that is subversion is dependant on. Install them both accordingly. Now we also need MySQL, so let's get that too.
pacman -Sy mysql
After installation, we need to retrieve the latest EQ2-Emu source. We need to make a new folder, so I made on in my /srv directory, you can make it wherever you are comfortable.
mkdir /srv/EQ2Emu cd /srv/EQ2Emu
svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator
This checks out the module 'eq2emulator' in the current folder.
After getting the source, we're ready to compile. So make sure you're in the folder where you extracted eq2emulator.
cd Source/World make
- Note, if you get an error on make, you need to get make and automake! Use
pacman -Sy make automake
After compiling the latest source, we are ready to make our database and prepare the configuration files!
Now we need all the configuration files to run the server. Let's go ahead and make a new folder
mkdir /svr/eq2server
And then copy all the necessary files (replace /svr/eq2emulator/ with your path
cp /srv/eq2emulator/Source/World/world /srv/eq2server/world cd /srv/eq2emulator/Config\ Files/ cp EQ2_Structs.xml /srv/eq2server/EQ2_Structs.xml cp LoginServer.ini /srv/eq2server/LoginServer.ini cp world_db.ini /srv/eq2server/world_db.ini cp Common\ Structs/CommonStructs.xml /srv/eq2server/CommonStructs.xml cp World\ Structs/WorldStructs.xml /srv/eq2server/WorldStructs.xml
Now let's go ahead and make a new MySQL database to use for the server.
mysqladmin -u root -p create eq2
Enter your root password for MySQL and now you will have a new database named eq2. Now let's go ahead and edit those configuration files for the emulator. Go into the folder you copied the files and open world_db.ini.
I've created Wiki entries for every config file, so just go to world_db.ini and LoginServer.ini
Configure the files accordingly and then come back here. Now that everything is set-up, we just need to start the server!
./world