Panel |
---|
borderColor | #3399cc |
---|
bgColor | #DCF1FC |
---|
titleColor | #FFFFFF |
---|
titleBGColor | #3399cc |
---|
borderStyle | solid |
---|
title | Guide |
---|
|
This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. |
Linux
Nota |
---|
TrinityCore requires gcc 4.7 or higher and SSE2 capable processor. Check your distribution to ensure you have the correct version of gcc available. |
Sección |
---|
Columna |
---|
Getting startedThis how-to will attempt to help with TrinityCore, and also show how this can be done in a way that also shows you the basics of how linux compilations works. Info |
---|
Most of this how-to is based on the use of a Debian based distribution, though we'll try to inform as best as we can when something differs totally. |
Advices:- Read your distributions' documentation on how to install packages, and also have at least knowledge on how it works with regards to adding users.*
- Run/install TrinityCore on a dedicated machine, or a machine that you know you have full control over.
- Do NOT install the software on a shared server solution or any server where other users may have access or might require resources to be available at all times.
Your server may be abruptly killed by an angry administrator or system staff for overuse of system resources. Creating a user to work withStart with logging in to your Linux-machine and create an account for the server itself - on most recent distributions this can easily be done with the following command : Bloque de código |
---|
sudo adduser <username>
|
Note : Change <username> into the preferred username of your server-account - we will as far as possible avoid using specific usernames in this how-to. Sample usernames found in various parts of this guide: wow , trinity ( - select a logical name that makes sense to you when creating the user - ).
Required softwareSee Requirements Optional softwareThese tools are only needed or useful if you are connecting from a Windows host to your Linux machine Graphical database-viewing/editingPlease note that the software called Navicat is NOT supported due to issues with how it handles SQL-files with "/* */"-style comments. We advise all users to stay well clear of this program unless they really are looking for issues. Remote console connects to the serverFile transfer through SFTP or FTP |
Columna |
---|
Panel |
---|
borderColor | #BBB |
---|
bgColor | #F0F0F0 |
---|
borderStyle | solid |
---|
| Contents | maxLevel | 2 |
---|
include | \[(L|A)].* |
---|
|
|
|
Building the server itself
Getting the source code
3.3.5
Bloque de código |
---|
cd ~/
git clone -b 3.3.5 git://github.com/TrinityCore/TrinityCore.git |
...
Also, compile has been tested on Debian 8 x32/x64, Ubuntu 15.04 x64 - all without problems IF YOU DO NOT MESS AROUND ON YOUR OWN!
OS X
Getting started
This guide describes how to get TrinityCore running on OS X. OS X ships with several libraries including OpenSSL and a special version of Readline - both required by TrinityCore. But: They are useless. OpenSSL is too old and Readline is... well... special. So we have to build the right ones. This is fairly easy and by doing this on your own (using programs like MacPorts or Homebrew is the alternative) you may learn more about libraries, your Mac and its handling on a non-graphic way. But no matter what you're doing in this guide there is one rule you should remind and never ever break:
...
Press Ctrl+O followed by Ctrl+X to save and close the file. Done. Quit the terminal application and restart it.
Building the libraries
Open a terminal and change to your download folder. Safari automatically extracts .gz archives and leaves the tar ball.
OpenSSL
Bloque de código |
---|
tar xvf openssl-1.0.2e.tar
cd openssl-1.0.2e
./Configure darwin64-x86_64-cc shared --prefix=$TRINITY
make -j 4
make install
cd .. |
Readline
Bloque de código |
---|
tar xvf readline-6.3.tar
cd readline-6.3
./configure --prefix=$TRINITY
make -j 4
make install
cd .. |
CMake
Bloque de código |
---|
tar xvf cmake-3.4.1.tar
cd cmake-3.4.1
./bootstrap --prefix=$TRINITY
make -j 4
make install
cd .. |
Boost
Bloque de código |
---|
tar xvf boost_1_60_0.tar
cd boost_1_60_0
./bootstrap.sh --with-libraries=system,thread,program_options,filesystem,iostreams,regex --prefix=$TRINITY
./b2 -j 4
./b2 install
cd .. |
ZeroMQ
Bloque de código |
---|
tar xvf zeromq-4.0.7.tar
cd zeromq-4.0.7
./configure --prefix=$TRINITY
make -j 4
make install
cd .. |
Installing TrinityCore
You successfully installed all the dependencies. Now it's time to install the server.
...
Open the generated "TrinityCore.xcodeproj" and select "Product" -> "Build" for a Debug build or "Product" ->"Archive" for a Release build. Do not forget to select "install" as compilation target.
Keeping the code up to date
Bloque de código |
---|
cd $TRINITY/repo
git reset --hard HEAD
git pull |
Repeat the steps described in "Building the binaries".
Setting up the server
... this part needs to be re-written. Coming soon!
...
Windows
Sección |
---|
Columna |
---|
| Getting startedBefore you get scared by this long guide, we assure you the procedure is quite simple. Most of the following steps are to be performed only the first time you install Trinity and only the Trinity updating procedures will need to be run from time to time. Required SoftwareSee Core Installation Pulling & Compiling the SourcePulling the Source- Create a directory in which Core files will be pulled (for example: C:\Trinity).
- Right-click on the directory and click on Git Extensions -> Clone.
- Fill in the data as follows:
3.3.5 This will clone 3.3.5a branch, this is the RECOMMENDED branch for starters. 6.x This will clone 6.x branch, note that this is NOT the recommended branch for starters. Click Clone. Within a few minutes all of the TrinityCore source files will be pulled into the directory C:\Trinity. | Columna |
---|
Panel |
---|
| borderColor | #BBB |
---|
bgColor | #F0F0F0 |
---|
borderStyle | solid |
---|
| Contents Tabla de contenidos |
---|
maxLevel | 2 |
---|
include | \[(W|A)].*
|
Configuring and generating Visual C++ solutions with CMake
...