WOW와우 분류
WOW 리눅스에서 서버 컴파일
컨텐츠 정보
- 53 조회
- 0 추천
- 0 비추천
- 목록
본문
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 .
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 .
-
등록일 00:21
-
등록일 00:17
-
등록일 00:16
-
등록일 09.18
관련자료
댓글 0
등록된 댓글이 없습니다.