You cannot see this page without javascript.

wow 6.x 구축

CentOS 조회 수 1160 추천 수 0 2015.11.30 14:56:28

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

 

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 /usr/src
wget http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
tar zxvf boost_1_59_0.tar.gz
cd boost_1_59_0
./bootstrap.sh
./b2 install

아래 폴더에 각각 header와 so 파일이 저장됩니다.
/usr/local/include
/usr/local/lib

 

cd ..

wget ftp://ftp.muug.mb.ca/mirror/centos/7.1.1503/cloud/x86_64/openstack-liberty/common/openpgm-5.2.122-2.el7.x86_64.rpm
wget ftp://ftp.muug.mb.ca/mirror/centos/7.1.1503/cloud/x86_64/openstack-liberty/common/zeromq-4.0.5-4.el7.x86_64.rpm
wget ftp://ftp.muug.mb.ca/mirror/centos/7.1.1503/cloud/x86_64/openstack-liberty/common/zeromq-devel-4.0.5-4.el7.x86_64.rpm
rpm -ivh openpgm-5.2.122-2.el7.x86_64.rpm
rpm -ivh zeromq-4.0.5-4.el7.x86_64.rpm
rpm -ivh zeromq-devel-4.0.5-4.el7.x86_64.rpm
cd /apm/server/trinitycore/
git clone -b 6.x git://github.com/TrinityCore/TrinityCore.git trinitycore-6x
mkdir build-6x
cd build-6x
cmake ../trinitycore-6x/ \
-DCMAKE_INSTALL_PREFIX=/apm/server/trinitycore-6x \
-DTOOLS=1 \
-DWITH_WARNINGS=1 \
-DWITH_BOOST=/usr/local/include

**************************************************************************
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-6x/etc/bnetserver.conf.dist /apm/server/trinitycore-6x/etc/bnetserver.conf

cp /apm/server/trinitycore-6x/etc/worldserver.conf.dist /apm/server/trinitycore-6x/etc/worldserver.conf

 

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

 

 

 

 

DBC and Maps files

cd <your WoW client directory>
/home/<username>/server/bin/mapextractor
mkdir /home/<username>/server/data
cp -r dbc maps /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

Warning: The TrinityCore development team/owners and the TrinityDB team/owners DO NOT in any case sponsor nor support illegal public servers. If you use these projects to run an illegal public server and not for testing and learning it is your own personal choice.

 

 

 

 

 

ubuntu install

 

apt-get update && apt-get upgrade

apt-get install build-essential autoconf libtool gcc g++ make cmake git-core wget p7zip-full libncurses5-dev zlib1g-dev libbz2-dev

apt-get install openssl libssl-dev mysql-server mysql-client libmysqlclient-dev libmysql++-dev libreadline6-dev

apt-get install libboost-dev libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-iostreams-dev

apt-get install libzmq-dev

 

Config.wtf:

SET processAffinityMask "255"
SET gxAPI "OpenGL"

 

WoW Launch shell script:

LD_PRELOAD="libpthread.so.0 libGL.so.1"

__GL_THREADED_OPTIMIZATIONS=1 wine64 Wow-64.exe -opengl

List of Articles
번호 제목 글쓴이 날짜 조회 수
369 APM mariadb download origin address LynX 2019-06-19 1989
368 APM What one can and should optimize LynX 2019-06-03 1415
367 CentOS mariadb install LynX 2019-05-31 1179
366 CentOS init mode change LynX 2019-05-30 1288
365 APM ext zip install LynX 2019-02-19 1612
364 APM ext ImageMagick install LynX 2019-02-19 511
363 3D Printer Pronterface(PrintRun) install file LynX 2018-09-13 753
362 CentOS Grub UUID change LynX 2018-08-08 867
361 Linux letsencrypt wildcard LynX 2018-07-26 798
360 Printer cura usb connection LynX 2018-07-06 666
359 CentOS cli 무선랜 LynX 2018-06-07 446
358 APM 윈도우에 APM 페키지 설치 file LynX 2018-05-04 586
357 APM MySQLTuner 설치 LynX 2018-04-27 544
356 CentOS CentOS7 커널 업데이트 LynX 2018-04-23 699
355 HTML Tag CSS 여러가지 모양 만들기 LynX 2018-02-08 771
354 Linux wkhtmltopdf wkhtmltoimage install LynX 2018-01-31 602
353 APM LZ4_LIBS Not Found (CentOS7, MariaDB 10.1.29) LynX 2018-01-03 485
352 APM mysql ./configure LynX 2017-12-15 804
351 APM PHP-7.2.0 LynX 2017-12-12 3157
350 Linux libiconv LynX 2017-12-08 558

XE Login