root/trunk/INSTALL.linux @ 35

Revision 35, 1.4 kB (checked in by yumileroy, 17 years ago)

[svn] * Fixing some typos in SQL files.
* Applying proper structure to SQL updates.
* Fixing ImpConfig? compile problems.
* Moving INSTALL to INSTALL.linux to avoid autoconf collisions.

Original author: XTZGZoReX
Date: 2008-10-10 15:20:27-05:00

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