How To Compile & Setup on Linux/Unix Systems
2 posters
Twist Gaming :: Gaming and Server Development :: MMORPGs Emulation & Chat :: AION : The Tower of Eternity :: Server Emulation :: Tutorials
Page 1 of 1
How To Compile & Setup on Linux/Unix Systems
Credits for GreatWizard that creates this tutorial and milo that originaly posted in Aion Unique forums.
For the Shorten down of the guide i will use Debain linux ver 5.0
and have also tested it on Ubuntu 9
[Unix] Installing aion-unique Server
A tutorial for installing aion under unix & linux system.
1. Tools Installation (you need root access)
It's necessary to update and upgrade your installation:
You need to install Java (JRE & JDK), Ant, Subversion and Unzip tool.
Note1: if you have problems installing sun java6 jre and jdk here is how
Here's the steps I took to get Sun JDK 6 to my Debian GNU/Linux system (the right way):
Add a line to /etc/apt/sources.list:
now you can run
and should install just fine
Note2: You must to accept Sun Java6 Licence for install sun-java6 applications.
Note3: If you have already a Java virtual machine and Java compiler, please use:
And define which application to use (select the java-6-sun- version ^^).
You need to install a mysql-server (with PhpMyAdmin to manage it easly).
2. Get SVN dev
You must get the SVN aion-unique.
To update the SVN aion-emu dev, you can do this :
3. Compilation
You are now ready to compile your aion-unique server.
4. Uncompression
If all works fine, you can decompress every builds zip into a "files" dir.
5. Databases & Configuration
You must make a mysql databse for your aion-unique.
You can connect onto your mysql-server with an url like : [You must be registered and logged in to see this link.]
Click on "Privilieges" ---> "Added an user" --->
Then to fill in "Information for connection" according to your preferences.
For me, i make only one datebase for GameServer and LoginServer server, but you can use two database.
and check "Create a base bearing his name and give that user all privileges on that basis".
You database is ready to be created. (please click on the "execute" button ._.)
You can add the 2 files "/aion-unique/AE-go_LoginServer/sql/login_db.sql" and " /aion-unique/AE-go_GameServer/sql /gameserver_db.sql" into your database(s) with the the menu : "Select your database in the left collums" ---> "Import".
Now you need to edit the two files "/aion-server/loginserver/config/database.properties" and "/aion-server/gameserver/config/database.properties":
You need to edit the file "/aion-server/gameserver/config/gameserver.properties":
Now you can add into the gameservers table the sql request:
Facultative: The last configuration is on the /aion-server/gameserver/config/ipconfig.xml. Replace YOUR_WAN_IP by your wan ip to enable the server on the internet (not just local server).
6. Mission aion-unique #1
You are now ready to launch your server !
You must have two terminal (or screen) to do this:
and
And now you are ready to play on your private server provited you have the clients already setup.
For the Shorten down of the guide i will use Debain linux ver 5.0
and have also tested it on Ubuntu 9
[Unix] Installing aion-unique Server
A tutorial for installing aion under unix & linux system.
1. Tools Installation (you need root access)
It's necessary to update and upgrade your installation:
- Code:
apt-get update
apt-get upgrade
You need to install Java (JRE & JDK), Ant, Subversion and Unzip tool.
- Code:
apt-get install subversion sun-java6-jre sun-java6-jdk ant unzip
Note1: if you have problems installing sun java6 jre and jdk here is how
Here's the steps I took to get Sun JDK 6 to my Debian GNU/Linux system (the right way):
Add a line to /etc/apt/sources.list:
- Code:
http://ftp.debian.org/debian unstable non-free
- Code:
Run apt-get update
now you can run
- Code:
apt-get install sun-java6-jre sun-java6-jdk
and should install just fine
Note2: You must to accept Sun Java6 Licence for install sun-java6 applications.
Note3: If you have already a Java virtual machine and Java compiler, please use:
- Code:
update-alternatives --config java
update-alternatives --config javac
And define which application to use (select the java-6-sun- version ^^).
You need to install a mysql-server (with PhpMyAdmin to manage it easly).
- Code:
apt-get install apache2 php5 php5-mysql mysql-server phpmyadmin
2. Get SVN dev
You must get the SVN aion-unique.
- Code:
svn co http://subversion.assembla.com/svn/ae-go/trunk/ aion-unique
To update the SVN aion-emu dev, you can do this :
- Code:
cd aion-unique
- Code:
svn up
3. Compilation
You are now ready to compile your aion-unique server.
- Code:
cd aion-unique
cd AE-go_Commons
ant
cd ../AE-go_LoginServer
ant
cd ../AE-go_GameServer
ant
cd ..
4. Uncompression
If all works fine, you can decompress every builds zip into a "files" dir.
- Code:
mkdir ../../aion-server (clean it before second uncompress)
- Code:
cd AE-go_Commons/build
unzip ae_commons.zip -d ../../../../aion-server
- Code:
cd ../../AE-go_LoginServer/build
unzip ae_login.zip -d ../../../../aion-server
- Code:
cd ../../AE-go_GameServer/build
unzip ae_gameserver.zip -d ../../../../aion-server
cd ../../../..
5. Databases & Configuration
You must make a mysql databse for your aion-unique.
You can connect onto your mysql-server with an url like : [You must be registered and logged in to see this link.]
Click on "Privilieges" ---> "Added an user" --->
Then to fill in "Information for connection" according to your preferences.
For me, i make only one datebase for GameServer and LoginServer server, but you can use two database.
- Code:
Username: aionserver
Server: localhost
Password: **********
Re-password: **********
and check "Create a base bearing his name and give that user all privileges on that basis".
You database is ready to be created. (please click on the "execute" button ._.)
You can add the 2 files "/aion-unique/AE-go_LoginServer/sql/login_db.sql" and " /aion-unique/AE-go_GameServer/sql /gameserver_db.sql" into your database(s) with the the menu : "Select your database in the left collums" ---> "Import".
Now you need to edit the two files "/aion-server/loginserver/config/database.properties" and "/aion-server/gameserver/config/database.properties":
- Code:
# This is database url.
database.url=jdbc:mysql://localhost:3306/aionserver
# Database user
database.user=aionserver
# Database password
database.password=**********
You need to edit the file "/aion-server/gameserver/config/gameserver.properties":
- Code:
# Id of this game server
gameserver.network.login.gsid=1
# Password of this game server
gameserver.network.login.password=******
Now you can add into the gameservers table the sql request:
- Code:
INSERT INTO `gameservers` (`id`, `mask`, `password`) VALUES
(1, '127.0.0.1', '******');
Facultative: The last configuration is on the /aion-server/gameserver/config/ipconfig.xml. Replace YOUR_WAN_IP by your wan ip to enable the server on the internet (not just local server).
- Code:
<ipconfig default="YOUR_WAN_IP">
6. Mission aion-unique #1
You are now ready to launch your server !
You must have two terminal (or screen) to do this:
- Code:
cd files/loginserver/
chmod +x StartLS.sh
./StartLS.sh
and
- Code:
cd files/gameserver/
chmod +x StartGS.sh
./StartGS.sh
And now you are ready to play on your private server provited you have the clients already setup.
Re: How To Compile & Setup on Linux/Unix Systems
Nice Tutorial , +rep.
SklipNot- Member
- Posts : 2
Reputation : 0
Warning :
Similar topics
» How to Download, Compile, Setup, and make your server Public
» [Tutorial] How to compile ArcEmu and cores based of it
» [Tutorial] How to compile ArcEmu and cores based of it
Twist Gaming :: Gaming and Server Development :: MMORPGs Emulation & Chat :: AION : The Tower of Eternity :: Server Emulation :: Tutorials
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum