Welcome to the MMOtop - Arcemu, Mangos, Trinity.
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1
    Jerry's Avatar
    Status : Jerry is offline
    Join Date : Mar 2009
    Location : Serbia
    Posts : 2,321
    Thanks: 223
    Thanked 501 Times in 286 Posts
    Rep Power : 10
    Reputation:2077Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute

    Default [Ubuntu] How to compile Trinity Core 2

    CREDITS: FeestBijtje

    Required:
    -Server with Ubuntu Server 9.04
    -Knowledge what you will be doing!

    ------
    1. Installing Trinity Core 2
    ------
    Notes:
    This is just for the Trinity Core 2 system not the Web/MySQL server.
    Do not copy/paste the "$" symbol if you copy the commands.

    Alright, I assume you got an Ubuntu Server running and ready to prepare for Trinity Core2.

    First step:
    Install the required for the build, these files are very essential to almost every build.

    $ sudo aptitude install g++ gcc make cmake libmysql++-dev subversion mercurial openssl libssl-dev zlib1g-dev libtool libmysqlclient15-dev patch build-essential mysql-client libreadline5-dev
    It will ask you for a password type in your account password, and after that it will ask for a confirmation to install the packets. So press "Y" then hit the "Enter" key.

    Once this is installed we create ACE manually!

    We are going to make the trinity server account.

    $ sudo adduser trinity
    Note: Please do enter a secure password but easy to remember for you!

    Now we are going to log in on the user "trinity" and go to his home directory!

    $ su trinity
    $ cd ~/
    We do need the latest version of ACE and put it into a proper directory called "ACE".

    $ wget [Only registered and activated users can see links. ]
    $ tar xvzf ACE-5.7.0.tar.gz
    $ mv ACE_wrappers ACE
    We have downloaded ACE and placed it in the directory "/home/trinity/ACE"

    Now we are going to compile ACE version 5.7.0.

    $ cd ~/ACE/
    $ mkdir build
    $ cd build
    $ ../configure --prefix=/home/trinity/.sys/
    Note: The compile syntax is from the help of [Only registered and activated users can see links. ]

    After the configuration we must compile it!

    $ make
    $ make install
    Note: Depending on the system it can take up to 8 hours!

    After the compile we are ready to compile trinity!

    Now we got to prepare the directory where we going to put the bins in.

    $ cd ~/
    $ mkdir build
    ----This will be your BINARIES folder-----

    Now we got to checkout the source!

    $ hg clone [Only registered and activated users can see links. ]
    NOTE: If you want to use an older revision please use:

    $ hg clone --rev <revision number> [Only registered and activated users can see links. ]
    Now were going to configure the trinity server.

    $ cd ~/trinitycore2
    $ cmake -DPREFIX=/home/trinity/build -DACE_LIBRARY=/home/trinity/.sys/lib/libACE.so -DACE_INCLUDE_DIR=/home/trinity/.sys/include/
    NOTE: This is still done under user "trinity" and we will not change user!
    Note2: The compile syntax is from the help of [Only registered and activated users can see links. ]

    After you passed this you can build Trinity (takes some what 2 hours).

    $ make
    $ make install
    After this is done you can configure and run Trinity Core 2.
    It is located in "/home/trinity/build"

    ------
    2. How to update your Trinity Core 2 Server.
    ------
    Updating is very simple and here I show you what commands to perform.
    I assume you are logged in a new session and you are located in the root of your home directory "/home/trinity/".

    Like in our last build we checked out with the hg command at "/home/trinity/trinitycore2/" we have to browse there.

    cd ~/trinitycore2
    Now we are going to check for updates with "hg" command (Really love Mercury).

    hg pull
    Now we are going to update the files.

    hg update
    it should display how many files were updated/merged/modified!

    Now we can reconfigure Trinity Core 2

    cmake -DPREFIX=/home/trinity/build -DACE_LIBRARY=/home/trinity/.sys/lib/libACE.so -DACE_INCLUDE_DIR=/home/trinity/.sys/include/
    make
    Before you are going to do 'make install' be 100% sure that both realm and core is down!
    I always run my server under the screen command so in my case I should do 'screen -r' and terminate those screens.
    If you don't know with pid's you are running and want to kill them simply apply

    sudo pkill -u trinity
    Alright we are going to install the newer version!

    make install
    NOTE: This might overwrite your config files so please do back them up!

    ------
    5. References
    ------
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ] (Autcompiler) credits to Elegos
    [Only registered and activated users can see links. ] (Restarter) credits to Elegos
    [Only registered and activated users can see links. ] credits to KinPing
    [Only registered and activated users can see links. ] Credits to Canonical Ltd
    [Only registered and activated users can see links. ] Credits to their respective owners

    /* If I did missed some thing out please give me a yell *\

    Credits:
    -FeestBijtje for writing this.
    -Google for finding the proper information.
    -Elegos for his knowledge (I found his answers on google)

    Updates:
    29-7-2009 - Fixed so it will be done 100% from user 'trinity'.
    30-7-2009 - Added "cd build" command.
    30-7-2009 - Fixed tar command.
    31-7-2009 - Added "how to update".
    31-7-2009 - Added references url's.
    31-7-2009 - Added missing packages.

  2. The Following User Says Thank You to Jerry For This Useful Post:

    Cyrus (05-27-2011)

  3. #2
    Status : moska is offline
    Join Date : Aug 2009
    Posts : 1
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Rep Power : 0
    Reputation:10moska is on a distinguished road

    Default

    Good Guide! up! XD
    Last edited by moska; 09-01-2009 at 09:04 PM.

  4. #3
    Status : spello is offline
    Join Date : Oct 2009
    Posts : 1
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Rep Power : 0
    Reputation:10spello is on a distinguished road

    Default

    Man, I just spend 2 weeks of searching for the solution with Ubuntu and ACE library. And here it is, the solution ... I've just been looking for this. Thank You.

  5. #4
    Jerry's Avatar
    Status : Jerry is offline
    Join Date : Mar 2009
    Location : Serbia
    Posts : 2,321
    Thanks: 223
    Thanked 501 Times in 286 Posts
    Rep Power : 10
    Reputation:2077Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute

    Default

    Quote Originally Posted by spello View Post
    Man, I just spend 2 weeks of searching for the solution with Ubuntu and ACE library. And here it is, the solution ... I've just been looking for this. Thank You.
    Thank you for supporting us

  6. #5
    Status : spase is offline
    Join Date : Feb 2010
    Posts : 25
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Rep Power : 3
    Reputation:10spase is on a distinguished road

    Default

    Excellent guide ! Merci !

  7. #6
    Status : nels97 is offline
    Join Date : Sep 2010
    Posts : 1
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Rep Power : 0
    Reputation:10nels97 is on a distinguished road

    Default

    Jerry, thank you for excellent guide! Just what i have looking for! Keep it on!

    But I have 1 question: the latest revision of TrinityCore is situated on [Only registered and activated users can see links. ] , isn't it? So i wan't to install last revision(that supports 3.3.5a WoW patch) and I can use that link to download it?

    P.S. sorry for my bad English - maybe you'll find some mistakes in my post :)

  8. #7
    Jerry's Avatar
    Status : Jerry is offline
    Join Date : Mar 2009
    Location : Serbia
    Posts : 2,321
    Thanks: 223
    Thanked 501 Times in 286 Posts
    Rep Power : 10
    Reputation:2077Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute

    Default

    Quote Originally Posted by nels97 View Post
    Jerry, thank you for excellent guide! Just what i have looking for! Keep it on!

    But I have 1 question: the latest revision of TrinityCore is situated on [Only registered and activated users can see links. ] , isn't it? So i wan't to install last revision(that supports 3.3.5a WoW patch) and I can use that link to download it?

    P.S. sorry for my bad English - maybe you'll find some mistakes in my post :)
    New guides are cooming soon

  9. #8
    Status : somedude is offline
    Join Date : Oct 2010
    Location : middtekey
    Posts : 2
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Rep Power : 0
    Reputation:10somedude is on a distinguished road

    Default Nice Guide

    Great guilde nice work

  10. #9
    Status : Krait is offline
    Join Date : Nov 2010
    Posts : 1
    Thanks: 1
    Thanked 0 Times in 0 Posts
    Rep Power : 0
    Reputation:10Krait is on a distinguished road

    Default

    Quote Originally Posted by somedude View Post
    Great guilde nice work
    +1

  11. #10
    Killerasis's Avatar
    Status : Killerasis is offline
    Join Date : Sep 2010
    Location : I Live @ MMOTop.Org
    Posts : 459
    Thanks: 3
    Thanked 9 Times in 5 Posts
    Rep Power : 2
    Reputation:11Killerasis is on a distinguished road

    Default

    Thanks mate


 

Similar Threads

  1. Replies: 18
    Last Post: 04-05-2011, 01:59 AM
  2. Compile MaNGOS On Linux
    By Jerry in forum Mangos Guides
    Replies: 2
    Last Post: 08-19-2010, 10:27 AM
  3. Compile Mangos on Ubuntu
    By Jerry in forum Mangos Guides
    Replies: 10
    Last Post: 03-31-2010, 10:05 PM
  4. How to compile arcemu 3.1.x
    By Jerry in forum ArcEmu Guides
    Replies: 0
    Last Post: 07-11-2009, 03:34 PM
  5. How to compile Mangos 3.1.X!
    By Jerry in forum Mangos Guides
    Replies: 0
    Last Post: 07-05-2009, 03:46 PM

Visitors found this page by searching for:

trinitycore ubuntu

trinity core linux

trinity core 2

trinity core ubuntu

trinitycore linux

compilar trinity en ubuntuTrinityCore2trinitycore2 linux compilar trinity core 3.3.5ahow to compile trinitycore linuxhow to compile trinity core 3.3.5acompile trinitycore linuxtrinitycore compile linuxhow to compile trinity core ubuntucompilar trinity en linuxTrinity Core linux kompilierenTrinity Core kompilierencompilar trinity core ubuntuhow to compile trinitycorecompilar TrinityCore ubuntuHow To Compile Trinity in ubuntuubuntu trinity core install howtotrinity core how to compile trinity core 2trinitycore2 ubuntu
SEO Blog

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts