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