View Single Post
Old 03-06-2008   #1 (permalink)
sebkinne
Ascent Linux Expert
 
Rank: Member +
Join Date: Jan 2008
Location: Your Bios
Posts: 347
Thanked 0 Times in 0 Posts

Arrow [Ascent][Linux]Tutorial - How To Create a Server

Your Ad Here
Hello everyone, since so many people have been requesting a tut, here it is : >

Firstly, i would recomend debian for running an ascent wow server.
I will firstly only explain for debian and debian based OSs', so you might have to modify the commands a little.

first, go into your terminal and type:

Quote:
sudo apt-get update
This updates your os.

Now we will need to get a few packages that are required for the compiling proccess of your ascent server.

1.1. mysql. this is of course very important ;)
if you do not have it set up, do:
Quote:
sudo apt-get install mysql
Quote:
sudo apt-get install libmysql++-dev
1.2. now you will want to set a mysql passwrd
Quote:
mysql -u root
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd');
SET PASSWORD FOR 'root'@'%' = PASSWORD('newpwd');
write your password into the newpwd.
if you are having problems, please post here, ill help individually.

1.3.Now you will need to get create a db. do this by executing these in the mysql promt.
Quote:
create database world;
Quote:
create database logon;
Quote:
create database characters;
Quote:
quit

1.4 Now some of us will need the ssl package. Get this by typing:
Quote:
sudo apt-get install openssl

2. you will need the build essentials for compiling so:
Quote:
sudo apt-get install build-essential
OR
Quote:
sudo apt-get install build-essentials

3. you will need subversion (to get the source)
Quote:
sudo apt-get install subversion

4. you will need automake and make if they are not currently installed:
Quote:
sudo apt-get install make
Quote:
sudo apt-get install automake

4.1. Some of you will need to get the libtool.
Quote:
sudo apt-get install libtool

5. now we will want to get the source. do:
Quote:
cd /dir/you/choose/your/server/to/be/in/
Quote:
svn co http://mmoforge.org/svn/ascent/
If it promts you for a password, the user is: anonymous
and the pass is left blank


6. Now we will start to compile.
-choose what rev u wna compile, i would suggest the trunk
-so:
Quote:
cd trunk
-make the dirs.
Quote:
mkdir bin
Quote:
mkdir etc
-
Quote:
autoreconf --force --install
- now we need it to configure the comming compile:
Quote:
./configure
- now do:
Quote:
make
This may take a while!
-
Quote:
make install

7. after this is done, cd into the bin folder.
copy conf files to the newly made "etc" directory
example : cp src/*.conf etc/


8. now you wna edit your conf files so:
Quote:
vim ascent-world.conf
edit this by pressing " i " (to get out of editing press esc) change the conf to your needs.
do this for all your confs, and thats it for them. To then save the file:
Quote:
:wq!

9. now copy your "DBC", "maps", and "scripts" folders into the trunk/bin/ folder.
DBC FILES enGB
Maps enGB
The scripts i do not currently have here, ill post later.


10.Now we will need to import the sql files. Lets start with the world file
do this by executing the following command:
Quote:
mysql -h localhost -u root -p world < /path/to/your/sql-file/2785_world_structure.sql
Now our logon db (also called account db):
Quote:
mysql -h localhost -u root -p logon < /path/to/your/sql-file/2785_logon_structure.sql
And finally your character db:
Quote:
mysql -h localhost -u root -p character < /path/to/your/sql-file/2785_character_structure.sql
Normally your path is where_your_ascent_is/trunk/sql/


11. Now forward the ports on your router to make it accessible. you might have to forward a couple of other ports if it doesnt work.
3724 - 3724
80 - 80
3306 - 3306
8129 - 8129
8093 - 8093
6112 - 6112
6881 - 6999
3036 - 3036
8050 - 8050


12. great. start ur server.
Quote:
cd trunk/bin/
Quote:
./ascent-logonserver
Quote:
./ascent-world


[B]
__________________
Developer of the Frostnet WoW Team

Have questions? email me
sebkinne@gmail.com

My Linux Ascent Server Tutorial

Last edited by sebkinne; 03-13-2008 at 10:46 PM. Reason: Spelling
sebkinne is offline   Reply With Quote

RaGEZONE sponsored advertisment: