HowToWiki/WoW
2026-01-22 20:05:10 -05:00
..
README.md Working on REadme got through cmake and make commands an setting varibels 2026-01-22 20:05:10 -05:00

Guide on getting a private WoW server running

This is the documentation to create a World of Warcraft server.

The VM has to have a minimum of 3 cores and 4 gig of memory not less

You will set the number of cores during the make steps

Setting up the Server

Core Installation

  • Log into server using putty.
  • Create a user names acore with pw acore
    sudo adduser newuser
    
  • Then add them to the sudo group
    sudo usermod -aG sudo newusername
    
  • Install the needed packages
    sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libboost-all-dev
    
  • Install Mysql
    export MYSQL_APT_CONFIG_VERSION=0.8.33-1
    
  • Download the latest Mysql Repository
    wget https://dev.mysql.com/get/mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb
    
  • Configure the install directory
    export AC_CODE_DIR=$HOME/azerothcore
    
  • Clone the Github
    git clone https://github.com/azerothcore/azerothcore-wotlk.git --branch master --single-branch $AC_CODE_DIR
    
  • Create a direstory named build to keep things organized
    cd $AC_CODE_DIR
    mkdir build
    cd build
    
  • Configure for compiling
    cmake ../ -DCMAKE_INSTALL_PREFIX=$AC_CODE_DIR/env/dist/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static
    
  • You need to set a variable for the number of cores need for the "make" step. This ensures you do not run out of memory. First check to make sure you have the correct amount of cores on the machine
     nproc --all
    
    Then set the VARIABLE to the max numer.

[!NOTE] See above important message regaring server requierments.

  • This will set a varibale to the number of cores a min. of 3.

    export BUILD_CORES=`nproc | awk '{print $1 - 1}'`
    
  • Run the make install commands (note: this will take awhile)

    make -j$BUILD_CORES
    make install
    

Server Setup

  • Go to the directory /azerothcore/env/dist/bin

  • You must do the above step to ensure the zip file goes into the correct place.

  • Download the data.zip file with the game files in it.

    wget https://github.com/wowgaming/client-data/releases/download/v19/Data.zip
    
  • Unzip the zile in the same folder it is in

    sudo unzip Data.zip
    
  • Get the worldserver.conf and authserver.conf from the direstory

    You need to change the name of them, in the directory they are called worldserver.conf.dist and authserver.conf.dist

    You open them in nano and write out, save by taking off the .dist extenstion

    nano worldserver.conf.dist
    nano authserver.conf.dist
    

Database Installation