Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###################################
- 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 and master:
- 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
- #######
- source:
- #######
- As user
- for 3.3.5a tc:
- git clone -b 3.3.5 http://github.com/TrinityCore/TrinityCore
- for 4.3.4 tc:
- git clone http://gitlab.com/TrinityCore/TrinityCore_434.git
- for 7.3.5 tc:
- git clone http://github.com/TrinityCore/TrinityCore
- ###################
- installation 3.3.5a
- ###################
- cd TrinityCore
- #########
- Database:
- #########
- 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
- ########
- Compile:
- ########
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=~/bin/server335 -DCMAKE_BUILD_TYPE=Debug
- time make -j5
- make install
- ##################
- installation 4.3.4
- ##################
- cd TrinityCore_434
- #########
- Database:
- #########
- 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.29_2018_04_15.rar
- ########
- Compile:
- ########
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=~/bin/server434 -DCMAKE_BUILD_TYPE=Debug
- time make -j5
- make install
- ######################################
- Automatic database installation 3.3.5a
- ######################################
- mysql -u root -p < sql/create/create_mysql.sql
- cp TDB_full_world_335.64_2018_02_19.sql ~/bin/server335/bin
- ###################################
- End automatic database installation
- ###################################
- #####################################
- Automatic database installation 4.3.4
- #####################################
- mysql -u root -p < sql/create/create_mysql.sql
- cp TDB_full_world_434.34_2018_09_15.sql ~/bin/server434/bin
- ###################################
- End automatic database installation
- ###################################
- ###########################################################
- Manual database installation 3.3.5a *** NOT RECOMMENDED ***
- ###########################################################
- mysql -u root -p < sql/create/create_mysql.sql
- mysql -u trinity -p characters < sql/base/characters_database.sql
- mysql -u trinity -p auth < sql/base/auth_database.sql
- mysql --default-character-set=utf8 --max_allowed_packet=10000000 -u trinity -p world < TDB_full_world_335.64_2018_02_19.sql
- cat sql/updates/world/*.sql > all335a.sql
- mysql -u trinity -p world < all335a.sql
- cp ~/bin/server/worldserver.conf.dist worldserver.conf
- cp ~/bin/server/authserver.conf.dist authserver.conf
- nano / vi / pico / whatever you use ~/bin/server/worldserver.conf
- search for
- Updates.EnableDatabases = 7
- change to
- Updates.EnableDatabases = 0
- ################################
- End Manual database installation
- ################################
- ##########################################################
- Manual database installation 4.3.4 *** NOT RECOMMENDED ***
- ##########################################################
- mysql -u root -p < sql/create/create_mysql.sql
- mysql -u trinity -p characters < sql/base/characters_database.sql
- mysql -u trinity -p auth < sql/base/auth_database.sql
- mysql --default-character-set=utf8 --max_allowed_packet=10000000 -u trinity -p world < TDB_full_world_434.34_2018_09_15.sql
- cat sql/updates/world/*.sql > all434.sql
- mysql -u trinity -p world < all434.sql
- cp ~/bin/server434/worldserver.conf.dist worldserver.conf
- cp ~/bin/server434/authserver.conf.dist authserver.conf
- nano / vi / pico / whatever you use ~/bin/server/worldserver.conf
- search for
- Updates.EnableDatabases = 7
- change to
- Updates.EnableDatabases = 0
- ################################
- End Manual database installation
- ################################
- ####################
- Starting core 3.3.5a
- ####################
- cd ~/bin/server
- screen -A -m -d -S trinity_world335 ./worldserver -c ../etc/worldserver.conf
- screen -A -m -d -S trinity_auth335 ./authserver
- ########################
- End starting core 3.3.5a
- ########################
- ###################
- Starting core 4.3.4
- ###################
- cd ~/bin/server434
- screen -A -m -d -S trinity_world434 ./worldserver -c ../etc/worldserver.conf
- screen -A -m -d -S trinity_auth434 ./authserver
- #######################
- End starting core 4.3.4
- #######################
- If this guide helped you plz donate me at mmendezserra at hotmail.com with paypal.
Advertisement
Add Comment
Please, Sign In to add comment