Last active
December 1, 2023 19:50
-
-
Save Aokromes/cb3f80d5b84169cd6a01223833e6eda2 to your computer and use it in GitHub Desktop.
how to compile and setup trinitycore 3.3.5a and 4.3.4 on debian linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################### | |
# HOW TO COMPILE TRINITYCORE ON LINUX # | |
####################################### | |
##################### | |
# TRINITYCORELEGACY # | |
##################### | |
########################### | |
# TRINITYCORE SETUP GUIDE # | |
########################### | |
######################################################## | |
# Debian based linux VERSION 9.0 OR HIGHER RECOMMENDED # | |
######################################################## | |
################# | |
# requirements: # | |
################# | |
############################## | |
# As root for 3.3.5a, 4.3.4: # | |
############################## | |
apt-get install git clang cmake make gcc g++ libmariadbclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mysql-server p7zip | |
update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 | |
update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100 | |
####################################### | |
# for 4.3.4 branch you will need also # | |
####################################### | |
apt-get install libzmq-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If this guide helped you plz donate me at mmendezserra (at) hotmail.com with paypal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################## | |
# get source for wow 3.3.5a: # | |
############################## | |
######################################## | |
# As user on your /home/user directory # | |
######################################## | |
git clone -b 3.3.5 http://github.com/TrinityCore/TrinityCore | |
######################################################################################################################## | |
# This will clone (get source) 3.3.5a branch into /home/user/TrinityCore directory, change user with your own username # | |
######################################################################################################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################# | |
# get source for wow 4.3.4: # | |
############################# | |
######################################## | |
# As user on your /home/user directory # | |
######################################## | |
git clone http://gitlab.com/TrinityCore/TrinityCore_434.git | |
########################################################################################################################### | |
# This will clone (get source) 4.3.4 branch into /home/user/TrinityCore_434 directory, change user with your own username # | |
########################################################################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################### | |
# installation 3.3.5a # | |
####################### | |
cd TrinityCore | |
############ | |
# Compile: # | |
############ | |
mkdir build | |
cd build | |
cmake ../ -DCMAKE_INSTALL_PREFIX=~/bin/server335 -DCMAKE_BUILD_TYPE=Debug | |
time make -j5 | |
make install | |
############# | |
# Database: # | |
############# | |
cd ~/bin/server335/bin | |
wget https://github.com/TrinityCore/TrinityCore/releases/download/TDB335.64/TDB_full_world_335.64_2018_02_19.7z | |
7z e TDB_full_world_335.64_2018_02_19.7z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################### | |
# installation 4.3.4 # | |
###################### | |
cd TrinityCore | |
############ | |
# Compile: # | |
############ | |
mkdir build | |
cd build | |
cmake ../ -DCMAKE_INSTALL_PREFIX=~/bin/server434 -DCMAKE_BUILD_TYPE=Debug | |
time make -j5 | |
make install | |
############# | |
# Database: # | |
############# | |
cd ~/bin/server434/bin | |
wget https://github.com/TrinityCoreLegacy/TrinityCore/releases/download/TDB_4.3.4-34/TDB_full_world_434.34_2018_09_15.rar | |
rar x TDB_full_world_434.34_2018_08_15.rar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################## | |
# make config fit your needs # | |
############################## | |
cp ~/bin/server335/etc/worldserver.conf.dist ~/bin/server335/etc/worldserver.conf | |
cp ~/bin/server335/etc/authserver.conf.dist ~/bin/server335/etc/authserver.conf | |
nano / vi / pico whatever editor you use ~/bin/server335/etc/worldserver.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################## | |
# make config fit your needs # | |
############################## | |
cp ~/bin/server434/etc/worldserver.conf.dist ~/bin/server434/etc/worldserver.conf | |
cp ~/bin/server434/etc/authserver.conf.dist ~/bin/server434/etc/authserver.conf | |
nano / vi / pico whatever editor you use ~/bin/server434/etc/worldserver.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################## | |
# Automatic 3.3.5a database installation # | |
########################################## | |
mysql -u root -p < sql/create/create_mysql.sql | |
screen -A -m -d -S trinitycore_335_worldserver ./worldserver | |
################################################################# | |
# wait a bit of time to allow server to populate database you # | |
# can check progress with screen -r trinitycore_335_worldserver # | |
# you can return to console with control + alt + d # | |
# if you get error screen not found you will need to install it # | |
# like the other packages. # | |
################################################################# | |
screen -A -m -d -S trinitycore_335_authserver ./authserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################### | |
# Automatic 4.3.4 database installation # | |
######################################### | |
mysql -u root -p < sql/create/create_mysql.sql | |
screen -A -m -d -S trinitycore_434_worldserver ./worldserver | |
################################################################# | |
# wait a bit of time to allow server to populate database you # | |
# can check progress with screen -r trinitycore_434_worldserver # | |
# you can return to console with control + alt + d # | |
# if you get error screen not found you will need to install it # | |
# like the other packages. # | |
# notice if you have plans to run 3.3.5a and 4.3.4 servers on # | |
# same machine you will need to edit conf files to change the # | |
# ports of 4.3.4 or 3.3.5a worldserver, also you will need to # | |
# use 4.3.4 authserver database to handle accounts database # | |
################################################################# | |
screen -A -m -d -S trinitycore_434_authserver ./authserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment