- Downloads
Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
sqlYog (http://www.webyog.com/downloads/SQLyog607.exe)
Map Extractor (http://www.wowmyst.com/DL/ad.exe)
TortoiseSVN (http://prdownloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.4.5.10425-win32-svn-1.4.5.msi?download)- Connect to Your Linux Machine
Use putty to connect to your linux server remotely (this will make it ALOT easier! ... its pretty self explanitory- Getting the Packages You Need
Code:Yum -y install automakeCode:Yum -y install gccCode:Yum -y install gcc-c++Code:Yum -y install mysqldCode:Yum -y install mysql-develCode:yum -y install compat-gcc-32 compat-gcc-32-c++ compat-libstdc++-296 compat-libstdc++-33Code:yum install zlibyum install zlib-develCode:yum -y install vsftpdCode:yum -y install subversion- Starting/Stopping Services
Start Mysql:
Code:service mysqld start
Stop IPtables if installed:
Start VSFTPDCode:/etc/init.d/iptables stop
Code:/etc/init.d/vsftpd start- Setup Your FTP
Open the VSFTPD Conf File
Code:vi /etc/vsftpd/vsftpd.confRestart VSFTPD:Code:# Allow anonymous FTP? anonymous_enable=NO ... # The directory which vsftpd will try to change # into after an anonymous login. (Default = /var/ftp) anon_root=/opt/ ... # Uncomment this to allow local users to log in. local_enable=YES ... # Uncomment this to enable any form of FTP write command. # (Needed even if you want local users to be able to upload files) write_enable=YES ... # Uncomment to allow the anonymous FTP user to upload files. This only # has an effect if global write enable is activated. Also, you will # obviously need to create a directory writable by the FTP user. #anon_upload_enable=YES ... # Uncomment this if you want the anonymous FTP user to be able to create # new directories. #anon_mkdir_write_enable=YES ... # Activate logging of uploads/downloads. xferlog_enable=YES ... # You may override where the log file goes if you like. # The default is shown below. xferlog_file=/var/log/vsftpd.log
Vi Basic CommandsCode:/etc/init.d/vsftpd restart
- "i" insert
- "alt"+"w" to stop editing
- "shift"+"ZZ" write & exit
- Setting Up Mysql
Change your Mysql Root Pass
Create Ascent DBCode:mysqladmin -u root password 'new-password'
Create Character DBCode:mysqladmin -h localhost -u root -ppassword create ascent
Create Mysql UserCode:mysqladmin -h localhost -u root -ppassword create character
Code:Mysql -u rootCode:USE mysql;Grant Permissions To UserCode:INSERT INTO user (Host, User, Password, Select_priv) VALUES ('', 'USER1', password('supersecret'), 'Y');
Code:GRANT ALL PRIVILEGES ON ascent.* TO User1;Code:GRANT ALL PRIVILEGES ON character.* TO User1;Code:FLUSH PRIVILEGES;Restart MysqlCode:Quit
Code:Service Mysqld Restart- Compiling Ascent
Svn Checkout
Or to get a specific revision:Code:svn co svn://www.emupedia.com/svn/ascent/trunk
Code:svn co -r REVNUMBER svn://www.emupedia.com/svn/ascent/trunk
Configuring
Code:cd trunk/Code:autoreconf --install --forceCompileCode:./configure --prefix=/opt/ascent/ --libdir=/opt/ascent/lib/
Code:MakeCode:Make Install- Import Your DB
I recommend using NCDB
Checkout NCDB with TortoiseSVNOnce it has downloaded you will need to edit the Tool.bat
- Make a folder on your local computer
- Right click on the folder and click SVN Checkout
- Address:
Code:svn://emupedia.com/svn/ncdb
Once you have edited it run it pressing "w" to import world and "c" to import the character DB- Editing Your Conf Files
You will now need to edit your conf files to make eveything work!
1. Make a directory for the confs
Code:cd /opt/ascentCode:mkdir etc2. Move the confsCode:mkdir conf
Code:cd ~/trunk/srcCode:mv ascent.conf /opt/ascent/confCode:mv realms.conf /opt/ascent/conf3. Edit logonserver.confCode:mv logonserver.conf /opt/ascent/etc
Code:cd /opt/ascent/etc4. Edit Ascent.confCode:vi logonserver.conf
Code:cd ../conf5. Edit Realms.confCode:vi ascent.conf
Code:vi realms.conf- Maps, GM Scripts, & DBCs
Extract your maps by placing ad.exe in you World of Warcraft directory and making a folder called maps! Then run ad.exe
Download the DBC files
http://www.wowmyst.com/DL/DBC.zip
Uploading
Open Explorer (My Computer)
Type in the address bar ftp://HOSTNAMEorIP
Click File-->Logon As
Enter Root and your pass
Go to the Ascent directory and make a directory called maps, another called DBC, and another called scripts
Upload all the files accordingly
**Note the scripts are found in the NCDB SVN you downloaded under Development- Making You Server Starter
Make a file called run.sh
Code:cd /opt/ascentEdit itCode:touch run.sh
Enter the following:Code:vi run.sh
Code:#!/bin/sh ./bin/ascent --conf conf/ascent.conf --realmconf conf/realms.conf- Starting Your Server
First run your logonserver
Code:cd /opt/ascent/bin/Code:./logonserver
Then start your world server
Code:cd /opt/ascentCode:sh ./run.sh


Reply With Quote![[Ascent] Red Hat Based Server Compile & Setup](http://ragezone.com/hyper728.png)

