You cannot see this page without javascript.

wow 3.3.5a 구축

CentOS 조회 수 1173 추천 수 0 2015.11.30 13:49:53

yum groupinstall "development tools"
yum groupinstall "development libraries"
yum install gcc-g++ mercurial wget links zip unzip unrar openssl cmake boost boost-devel

cd /apm/server
wget http://download.dre.vanderbilt.edu/previous_versions/ACE-6.3.3.tar.gz
tar xvfz ACE-6.3.3.tar.gz
vi ~/.bash_profile

ACE_ROOT=/apm/server/ACE_wrappers;
export ACE_ROOT
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ACE_ROOT/ace:$ACE_ROOT/lib:/usr/local/lib:/usr/lib;
export LD_LIBRARY_PATH
PATH=$PATH:.:$JAVA_HOME/bin:$HOME/bin;
export PATH

source ~/.bash_profile
cd ACE_wrappers/ace
ln -s config-linux.h config.h
cd $ACE_ROOT/include/makeinclude
ln -s platform_linux.GNU platform_macros.GNU
cd $ACE_ROOT
make
 [root@host ACE_wrappers] cd ./examples/Threads
 [root@host Threads] make
 [root@host Threads] ./task_one

(140169006995200) in iteration 1
 (140169006995200) in iteration 2
 (140169006995200) in iteration 3
 (140169006995200) in iteration 4
 (140169006995200) in iteration 5

cd /apm/server
mkdir trinitycore
cd trinitycore
git clone -b 3.3.5 git://github.com/TrinityCore/TrinityCore.git trinitycore-335
git clone -b 6.x git://github.com/TrinityCore/TrinityCore.git trinitycore-6x
mkdir build-335
cd build-335
cmake ../trinitycore-335/ \
-DCMAKE_INSTALL_PREFIX=/apm/server/trinitycore-335 \
-DSCRIPTS=1 \
-DTOOLS=1 \
-DCLI=1 \
-DRA=1 \
-DSQL=1 \
-DCENTOS=1

**************************************************************************
 cmake ../trinitycore-335/ \
 -DCMAKE_INSTALL_PREFIX=/apm/server/trinitycore-335 \
 -DACE_LIBRARY=/apm/server/ACE_wrappers/lib/libACE.so \
 -DACE_INCLUDE_DIR=/apm/server/ACE_wrappers/include \
 -DOPENSSL_LIBRARIES=/usr/lib64 \
 -DOPENSSL_INCLUDE_DIR=/usr/lib64 \
 -DDO_SCRIPTS=1 \
 -DDO_TOOLS=1 \
 -DDO_CLI=1 \
 -DDO_RA=1 \
 -DDO_SQL=1 \
 -DCENTOS=1
 **************************************************************************

make
make install
cp /apm/server/trinitycore-335/etc/authserver.conf.dist /apm/server/trinitycore-335/etc/authserver.conf
cp /apm/server/trinitycore-335/etc/worldserver.conf.dist /apm/server/trinitycore-335/etc/worldserver.conf

 

MySQL에 auth, world, characters DB를생성하고 관리자가 쓸 계정(trinity:trinity)을 각DB의 모든권한으로 연결한다.
Github을 통해서 받은 소스 안에 sql디렉토리내의 sql데이터를 각 DB에 리스토어 한다.
리눅스 방화벽에 3306(DB), 3724(auth), 8085(world) 포트를 개방하여 준다.
authserver.conf와 worldserver.conf의 내용중 DB접속 관련 계정을 관리자 계정으로 변경하여 저장한다.

dbc, maps, mmaps, vmaps 등을 서버에 정위치 한다.

 

cd /apm/server/trinitycore335

mkdir data

 

 

 

 

 

 

 

 

Extracting DBC, Maps, VMaps & MMaps

DBC and Maps files

cd <your WoW client directory>
/home/<username>/server/bin/mapextractor
mkdir /home/<username>/server/data
  
# Next line is 3.3.x only
cp -r dbc maps /home/<username>/server/data
# Next line is 6.x, 7.x only
cp -r dbc maps gt /home/<username>/server/data
 
edit worldserver.conf and change datadir from "." to "../data"

Visual Maps (aka vmaps - optional RECOMMENDED)

You can also extract vmaps which will take quite a while depending on your machine (up to hours on ancient hardware).

cd <your WoW client directory>
/home/<username>/server/bin/vmap4extractor
mkdir vmaps
/home/<username>/server/bin/vmap4assembler Buildings vmaps
cp -r vmaps /home/<username>/server/data

When this is complete you will receive the following message which can be safely ignored.

Processing Map 724
[################################################################]
Extracting GameObject models...Extracting World\Wmo\Band\Final_Stage.wmo
No such file.
Couldn't open RootWmo!!!
Done!
  
Extract V4.00 2012_02. Work complete. No errors.

Movement Maps  (aka mmaps - optional RECOMMENDED)

Extracting mmaps will take quite a while depending on your machine (up to hours).

cd <your WoW client directory>
mkdir mmaps
/home/<username>/server/bin/mmaps_generator
cp -r mmaps /home/<username>/server/data
 

Setting up the configuration files

First of all you need to find the two default config files (named worldserver.conf.dist and authserver.conf.dist (bnetserver.conf.dist in 6.x) ) and copy these to their namesakes without the .dist extension. You can find them within /trinitycore/etc/ (may vary).

cp worldserver.conf.dist worldserver.conf
cp authserver.conf.dist authserver.conf # 3.3.5 only
cp bnetserver.conf.dist bnetserver.conf # 6.x only

 

 

 

 

 

 

 

 

 

.account create NAME PASSWORD

 

.bnetaccount create user@apex password

 

.account set gmlevel 아이디 3 1

List of Articles
번호 제목 글쓴이 날짜 조회 수sort
369 Xpress Engine xe 모든 변수값 출력해 보기 LynX 2014-07-14 93754
368 Linux systemd unit 등록 옵션 LynX 2014-07-22 20455
367 Linux Install PHP 5.5.13 modules LynX 2014-06-27 11866
366 아래아 한글 웹 한글 뷰어 소스 LynX 2014-06-11 9426
365 Internet Explorer KT 인터넷 접속제한 공유기 설정 LynX 2014-01-13 9228
364 Linux lineage1 server [6] LynX 2016-01-11 9050
363 CentOS CentOS7 Mail Server Setting file [13] LynX 2015-06-13 7906
362 Server Apache HTTP Server와 Tomcat의 연동 file LynX 2014-05-20 6112
361 Windows 7 외부 윈도우 클라이언트에서 삼바서버 접속하기 LynX 2014-03-06 6030
360 CentOS7 ▒ Doly의 CentOS7 강좌13 4. 원격접속 - 3.Telnet file [8] LynX 2014-10-23 5922
359 CentOS7 ▒ Doly의 CentOS7 강좌27 10. 디스크관리 6 XFS 쿼타 file [15] LynX 2015-06-09 5732
358 CentOS7 ▒ Doly의 CentOS7 강좌29 12. 네트워크 보안설정 12.1 firewalld (2/2) [21] LynX 2015-06-09 5282
357 CentOS APM 소스설치 정리 file [18] LynX 2015-06-17 4628
356 Network VLAN 설정 ① Access mode file [27] LynX 2015-04-29 4270
355 Programing meadco print LynX 2013-12-12 4267
354 Programing Sublime Text License Keys LynX 2016-03-24 4182
353 CentOS7 ▒ Doly의 CentOS7 강좌19 6. CentOS 네트워크 5-관련 명령어 LynX 2014-10-23 4070
352 Linux musescore LynX 2015-03-28 3779
351 Linux imap-php 설치 [7] LynX 2014-09-02 3727
350 CentOS7 ▒ Doly의 CentOS7 강좌18 6. CentOS 네트워크 4-네트워크 본딩(bonding) file [10] LynX 2014-10-23 3659

XE Login