Linux Keeping the Server Up-to-Date
Keeping the source Up-to-Date
sh
cd ~/azerothcore/
git pull origin masterRebuild the changes you pulled.
sh
cd build
make -j 8; make installSometimes we add or remove files from the repository. At that point it is necessary to recompile the server, the same way as it was installed the first time in the Linux Core Installation.
Using automation server
If you would like to update AzerothCore using Jenkins, Teamcity or similar tool, following steps might help you.
Add required commands to sudoers file. Services bellow were created in the Linux Core Installation
sh
sudo visudo
%sudo ALL=NOPASSWD: /usr/sbin/service worldserver start
%sudo ALL=NOPASSWD: /usr/sbin/service authserver start
%sudo ALL=NOPASSWD: /usr/sbin/service worldserver stop
%sudo ALL=NOPASSWD: /usr/sbin/service authserver stop
%sudo ALL=NOPASSWD: /srv/azerothcore-wotlk/acore.sh compiler allRun commands in Jenkins/Teamcity
sh
sudo service worldserver stop
sudo service authserver stop
cd /srv/azerothcore-wotlk
git pull origin master
sudo /srv/azerothcore-wotlk//acore.sh compiler all
sudo service worldserver start
sudo service authserver startKeeping the Database Up-to-Date
Read Database Keeping the Server Up-to-Date
Help
If you are still having problems, check:
- FAQ
- Common Errors
- How to ask for help
- Join our Discord Server, but it is not a 24/7 support channel. A staff member will answer you whenever they have time.