root/trunk/INSTALL.linux @ 121

Revision 38, 1.6 kB (checked in by yumileroy, 17 years ago)

[svn] * Fixed more text files.
* Added basic registration page. Setup instructions in contrib/registration_form/README.

Original author: XTZGZoReX
Date: 2008-10-11 14:27:27-05:00

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