1 | Installing Trinity Core is fairly simple on a Linux machine, assuming |
---|
2 | you have all required applications |
---|
3 | |
---|
4 | The most important ones are: |
---|
5 | |
---|
6 | * make |
---|
7 | * automake |
---|
8 | * autoconf |
---|
9 | * gcc |
---|
10 | |
---|
11 | After that, you can simply run these commands: |
---|
12 | |
---|
13 | * autoreconf --install --force |
---|
14 | * ./configure |
---|
15 | |
---|
16 | The configure script will tell you if you miss any libraries, and |
---|
17 | if so, which ones. You can then download them from your preferred |
---|
18 | package provider (apt-get, emerge, yum, and the alikes). |
---|
19 | |
---|
20 | When you have all required packages, be sure to properly configure |
---|
21 | your build of Trinity Core: |
---|
22 | |
---|
23 | * ./configure --help |
---|
24 | |
---|
25 | That command will tell you which config options are available. For |
---|
26 | the most part, the following should be used: |
---|
27 | |
---|
28 | * --enable-cli |
---|
29 | * --enable-ra |
---|
30 | * --with-mysql |
---|
31 | * --prefix=/home/trinitycore |
---|
32 | * --datadir=/home/trinitycore/dat |
---|
33 | * --sysconfdir=/home/trinitycore/etc |
---|
34 | |
---|
35 | Of course, replace the paths in prefix, datadir, and sysconfdir |
---|
36 | with the directories you wish to install Trinity Core to. The |
---|
37 | datadir is where maps, DBCs, and SQLs are stored. The sysconfdir |
---|
38 | is where configuration files are stored. |
---|
39 | |
---|
40 | When you've configured your build, simply run: |
---|
41 | |
---|
42 | * make |
---|
43 | |
---|
44 | And finally, to install Trinity Core: |
---|
45 | |
---|
46 | * make install |
---|
47 | |
---|
48 | Done! Trinity Core should now be installed. Now you will need to |
---|
49 | apply database updates where necessary. Furthermore, you must |
---|
50 | configure your installation by editing the config files in the |
---|
51 | sysconfdir. |
---|