# Linux Keeping the Server Up-to-Date | Installation Guide | | | :- | :- | | This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. | | [<< Step 6: Final Server Steps](final-server-steps.md) | [Step 8: Client Setup >>](client-setup.md) | ## Keeping the source Up-to-Date ```sh cd ~/azerothcore/ git pull origin master ``` Rebuild the changes you pulled. ```sh cd build make -j 8; make install ``` Sometimes 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](linux-core-installation.md#configuring-for-compiling). ## 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](linux-core-installation.md#services) ```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 all ``` Run 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 start ``` ## Keeping the Database Up-to-Date Read [Database Keeping the Server Up-to-Date](database-keeping-the-server-up-to-date.md)
## Help If you are still having problems, check: * [FAQ](faq.md) * [Common Errors](common-errors.md) * [How to ask for help](how-to-ask-for-help.md) * [Join our Discord Server](https://discord.gg/gkt4y2x), but it is not a 24/7 support channel. A staff member will answer you whenever they have time. | Installation Guide | | | :- | :- | | This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. | | [<< Step 6: Final Server Steps](final-server-steps.md) | [Step 8: Client Setup >>](client-setup.md) |