게임강의
WOW와우 분류

WOW 리눅스에서 서버 컴파일

컨텐츠 정보

본문

First Operating System Ubuntu/Debian i32 and Ubuntu/Debian X64
Do not copy/paste the "$" symbol if you copy the commands.

First step:
Install the required for the build, these files are very essential to almost every build.

Update the package to the latest version of any program to be
command:
Code: [Download] [Hide] [Select]
$ sudo apt-get update

 
Now, the server downloads the run, and needed for the translation package.
Code: [Download] [Hide] [Select]
$ sudo apt-get install g++ gcc make cmake  libmysql++-dev subversion mercurial openssl libssl-dev zlib1g-dev libtool libmysqlclient15-dev patch build-essential mysql-client libace-dev screen


If you have successfully downloaded and set up the packages, then create the directories

Code: [Download] [Hide] [Select]
$ mkdir /home/YOURUSERNAME/SourceCode
$ cd /home/YOURUSERNAME/SourceCode

Now download the latest source code.

Code: [Download] [Hide] [Select]
$  hg clone https://dev.trinitycore.org/trinity-zero/


To update the source code, then enter the following commands out.
Code: [Download] [Hide] [Select]
$ cd /home/YOURUSERNAME/SourceCode/trinity-zero

Code: [Download] [Hide] [Select]
$ hg pull -u


If you want to use an older revision please use:

Code: [Download] [Hide] [Select]
$ hg clone --rev <revision number>  https://dev.trinitycore.org/trinity-zero/


Now compile the source code

Define, where and how you want to be paid to the parameter code

simple command:

Code: [Download] [Hide] [Select]
$ cd /home/YOURUSERNAME/SourceCode/trinity-zero/


Code: [Download] [Hide] [Select]
$ cmake -DPREFIX=/opt/trinity


OR

Code: [Download] [Hide] [Select]
$ cmake -DPREFIX=/opt/trinity/build -DACE_LIBRARY=/opt/trinity/.sys/lib/libACE.so -DACE_INCLUDE_DIR=/opt/trinity/.sys/include/


(Now the / opt /trintiy  directory will be given to the Trinity program. Not to be pre-established. After the successful translation of the self-install creates the directory defined)

Other options parameter:
 
    DO_MYSQL --mysql database support (enabled or disabled by a 1 or 0, enabled by default)

    DO_POSTGRESQL --postgresql database support (enabled or disabled by a 1 or 0)

    DO_SCRIPTS --enable or disable trinity script (enabled or disabled by a 1 or 0, enabled by default)

    DO_RA --remote administration (enabled or disabled by a 1 or 0)

    DO_DEBUG --enable debugging (enabled or disabled by a 1 or 0)

    DO_CLI --enable command line support (enabled or disabled by a 1 or 0, enabled by default)

    LARGE_CELL --enable large cells (enabled or disabled by a 1 or 0, disabled by default, enabling can cause CPU spikes)

    SHORT_SLEEP --changes sleep time from 100ms to 50ms

    PREFIX --prefix directory for install (see example for use)

    CONF_DIR --location for your trinity config files

    CMAKE_C_FLAGS --advanced users only

    CMAKE_CXX_FLAGS --advanced users only
 

If you ran the cmake instructions to enter the command.
Command:
Code: [Download] [Hide] [Select]
$ make


and finally
command:
Code: [Download] [Hide] [Select]
make install


If you have successfully passed the orders, fresh and ready for the Trinity-Zero is already in / opt / Trinity looks forward to the boot directory:
Code: [Download] [Hide] [Select]
cd /opt/trinity/bin


And now run the zero .

관련자료

댓글 0
등록된 댓글이 없습니다.
전체 515 / 1 페이지
번호
제목
이름

강의실

🏆 포인트 랭킹 TOP 10
순위 닉네임 포인트
1 no_profile 타키야겐지쪽지보내기 자기소개 아이디로 검색 전체게시물 125,374
2 no_profile 동가리쪽지보내기 자기소개 아이디로 검색 전체게시물 69,672
3 no_profile 라프텔쪽지보내기 자기소개 아이디로 검색 전체게시물 51,871
4 no_profile 불멸의행복쪽지보내기 자기소개 아이디로 검색 전체게시물 39,391
5 no_profile 보거스쪽지보내기 자기소개 아이디로 검색 전체게시물 37,465
6 서번트쪽지보내기 자기소개 아이디로 검색 전체게시물 35,011
7 no_profile 닥터스쪽지보내기 자기소개 아이디로 검색 전체게시물 30,360
8 no_profile Revolution쪽지보내기 자기소개 아이디로 검색 전체게시물 28,199
9 no_profile 코오롱쪽지보내기 자기소개 아이디로 검색 전체게시물 18,886
10 no_profile 호롤롤로쪽지보내기 자기소개 아이디로 검색 전체게시물 18,340
알림 0