Trinity Linux Setup menu

User Tag List

Results 1 to 1 of 1
  1. #1
    LswSch's Avatar Private
    Reputation
    1
    Join Date
    Nov 2010
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trinity Linux Setup

    This guide will show you how to install TrinityCore and TrinityDB.

    I am suggesting you to use Debian, Ubuntu or CentOS.

    For Debian based packed managers you need to run your terminal and login as SU (super user) Then type this:

    Code:
    apt-get install build-essential autoconf libtool gcc g++ make cmake subversion mercurial patch wget links zip unzip unrar
    apt-get install openssl libssl-dev mysql-server mysql-client libmysqlclient15-dev libmysql++-dev libreadline5-dev zlib1g-dev libbz2-dev
    Those packets will help us to get all tools we need to compile and run the server.

    Ok, now we have those packets and we need to compile ACE libary:

    Code:
    wget http://download.dre.vanderbilt.edu/previous_versions/ACE-5.7.8.tar.gz
    tar xvzf ACE-5.7.8.tar.gz
    cd ~/ACE_wrappers/
    mkdir build
    cd build
    ../configure --prefix=/home/ВАШЕТОИМЕ/.sys/
    make
    make install
    The compile will take some time, so be a patient!

    Now we will download OpenSSL (libSSL):

    Code:
    wget ftp://ftp.debian.org/debian/pool/main/o/openssl/libssl-dev_0.9.8o-2_i386.deb
    wget ftp://ftp.debian.org/debian/pool/main/o/openssl/libssl0.9.8_0.9.8o-2_i386.deb
    wget ftp://ftp.debian.org/debian/pool/main/o/openssl/openssl_0.9.8o-2_i386.deb
    sudo dpkg -i libssl0.9.8_0.9.8o-2_i386.deb
    sudo dpkg -i openssl_0.9.8o-2_i386.deb
    sudo dpkg -i libssl-dev_0.9.8o-2_i386.deb
    For х64 CPUs you need another packages. Just use google :P


    Now lets download the core

    Code:
    hg clone http://trinitycore.googlecode.com/hg/ trinitycore

    After downloading it we need to make build folder.

    Code:
    cd trinitycore
    mkdir build
    cd build

    Now we will configure CMake:

    Code:
    cmake ../ -DACE_LIBRARY=/usr/lib/libACE.so -DSSLLIB=/usr/lib/libssl.so -DACE_INCLUDE_DIR=/home/YOURNAME/.sys/include/ -DDO_RA=1 -DPREFIX=/home/YOURNAME/build/ -DCONF_DIR=/home/YOURNAME/build/etc/
    We show where to compile the core ( /home/.../build/ ) and we also enable option for remote access to core by -DDO_RA=1 ( mostly used for web tools).


    For more options you can take a look at this:

    Code:
    -DSERVERS             Build worldserver and authserver
    -DSCRIPTS             Build core with scripts included
    -DTOOLS               Build map/vmap extraction/assembler tools
    -DUSE_SCRIPTPCH       Use precompiled headers when compiling scripts
    -DUSE_COREPCH         Use precompiled headers when compiling servers
    -DUSE_SFMT            Use SFMT as random numbergenerator
    -DWITH_WARNINGS       Show all warnings during compile
    -DWITH_COREDEBUG      Include additional debug-code in core
    -DWITH_SQL            Copy SQL files during installation
    -DPREFIX              Set installation directory
    -DCONF_DIR            Set configuration directory
    -DLIBSDIR             Set library directory
    -DCMAKE_C_FLAGS       Set C_FLAGS for compile (advanced users only)
    -DCMAKE_CXX_FLAGS     Set CXX_FLAGS for compile (advanced users only)

    Now we will compile the core. This will take some time.

    Code:
    make && make install
    After the core get compiled you will have two folders into your /home/.../build/ directory. Navigate to /etc and change file extension to .conf !

    Now edit your worldserver.conf and configure server options, don't forget to setup MySQL server settings, password and user name (you've set up the password after packet installing, the users is root).

    Do the same thing with authserver.conf.

    When you are ready, upload/download maps, vmaps ect into the /bin directory.

    Now we will download and install TrinityDB:
    Code:
    hg clone https://trinitydb.googlecode.com/hg/ trinitydb
    When its ready, navigate to the folder and unzip the biggest file. When it finish you will find file with extension .sql. Lets import it into the Mysql server:

    Code:
    mysql -u root -p -h localhost
    >type your password here
    
    mysql>create database auth;
    mysql>create database world;
    mysql>create database characters;
    mysql>exit;
    ...while you are in the folder type:
    Code:
    mysql -u root -p -h localhost world < THE_FILE_NAME.sql
    After that we need to import characters and accounts databases:
    Code:
    cd trinitycore/sql/base
    mysql -u root -p -h localhost auth < auth.sql
    mysql -u root -p -h localhost characters < characters.sql
    You need to change realmlist, port, and ip. Use program like Navicat SQLyog or whatever...


    When everything is ready, stop all processes (graphical interface too):

    Code:
    cd /home/.../build/bin
    screen
    ./authserv - after loading finish press CTRL+A, CTRL+D
    screen
    ./worldserv - same thing now
    Done! You have your server running now!
    Illusion is the first of all pleasures.

    Trinity Linux Setup

Similar Threads

  1. [Linux/Debian] Server setup + MaNGOS Compile
    By Sonic Waffle in forum WoW EMU Guides & Tutorials
    Replies: 11
    Last Post: 07-13-2015, 09:46 PM
  2. [Trinity] Trinity setup?
    By sylv100 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 08-11-2010, 05:44 AM
  3. [Request] Trinity Setup
    By Noblebeastx in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 04-23-2010, 10:21 AM
  4. Linux Debian: Trinity
    By dtrain07 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 02-28-2010, 04:28 AM
  5. [Guide] Linux Server Setup
    By Rouslan in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 01-14-2008, 05:40 AM
All times are GMT -5. The time now is 12:31 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search