diff --git a/Minecraft/README.md b/Minecraft/README.md new file mode 100644 index 0000000..e69de29 diff --git a/WoW/README.md b/WoW/README.md new file mode 100644 index 0000000..c683301 --- /dev/null +++ b/WoW/README.md @@ -0,0 +1,56 @@ +# Guide on getting a private WoW server running + +This is the documentation to create a World of Warcraft server. + +# Setting up the Server + +* 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 + ``` +* Run the make install commands (note: this will take awhile) + ``` + make -j$BUILD_CORES + make install + ``` +* Download the data.zip file with the game files in it. + ``` + wget https://github.com/wowgaming/client-data/releases/download/v19/Data.zip + ``` +* \ No newline at end of file