Jump to content

Gryphon4200

Members
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Gryphon4200's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. Ubuntu 21.04 WoW WOTLK Simple Server Setup Guide Client Side: https://www.warmane.com/download Hardware specs used for this guide:  Quad-core CPU  8 Gigs of RAM  120 Gb HDD Step 1: Install the OS  Install base Ubuntu server with updates. Step 2: Install required packages  apt-get install git make cmake libssl-dev libbz2-dev build-essential default-libmysqlclient-dev libace-dev python mysql-server Step 3: Setup the database  mkdir ~/mangos/  mkdir ~/mangos/db  cd ~/mangos/db/  mysql  CREATE USER 'mangos'@'localhost' IDENTIFIED BY 'mangos';  GRANT ALL PRIVILEGES ON *.* TO 'mangos'@'localhost' WITH GRANT OPTION;  exit;  git clone https://github.com/mangostwo/database.git --recursive  cd database  ./InstallDatabases.sh  Select N - Next Step when prompted and fill out the host details.  You will also be prompted to determine your databases names.  A good practice is to set the realm database name to: mangos_auth  Also to suffix all others database names with the core versions you are running: Examples - mangos_characters2 and mangos_world2  Note: you only need one realm database if you run several cores (mangos zero, mangos one etc..) on the same server,  But you will need two databases (characters and world) for each core you run.  mysql  UPDATE realmlist SET name = "ServerNameGoesHere" WHERE id = "1";  UPDATE realmlist SET address = "ServerWANIPAddressHere" WHERE id = "1";  exit; Step 4: Download and compile mangos  cd ~/mangos  git clone https://github.com/mangostwo/server.git --recursive  cmake -S ~/mangos/server/ -B ~/mangos/build/  cd ~/mangos/build  make -j<# of CPUs/Cores>  make -j<# of CPUs/Cores> install Step 5: Copy files  mkdir /srv/mangos  mkdir /srv/mangos/bin  mkdir /srv/mangos/gamedata/  cd install/bin  cp mangosd /srv/mangos/bin/  cp realmd /srv/mangos/bin/  cp tools/*-extractor /srv/mangos/gamedata/  cp tools/*.sh /srv/mangos/gamedata/  cp tools/offmesh.txt /srv/mangos/gamedata/  <Aquire gamedata files and copy them to /srv/mangos/gamedata>  <Optional simple FTP setup>   apt-get install vsftpd   vi /etc/vsftpd.conf    Change: listen=NO to YES    Uncomment: write_enable=YES    Add the line: local_root = <path to gamedata folder>   service vsftpd restart   chmod -R a+w /srv/mangos/gamedata  <End optional FTP setup>  cd /srv/mangos/gamedata  chmod a+x ExtractResources.sh  ./ExtractResources.sh <This bit takes forever.> Step 6: Setup and Configure *.conf files  cp -R ~/mangos/build/etc /srv/mangos/  cd /srv/mangos/etc  cp ahbot.conf.dist ahbot.conf  cp mangosd.conf.dist mangosd.conf  cp realmd.conf.dist realmd.conf  Update realmd.conf <read file comments for details>  Update mangos.conf <read file comments for details>   Suggested tweaks:    LogLevel = 1 (Default is 3)    GameType = #     Server realm style      0 = NORMAL; 1 = PVP; 4 = PVE; 6 = RP; 8 = RPPVP    RealmZone = <read file comments for details>    Ra.Enable = 1 (Default is 0) <This will allow you to remotely access the server console>     *Use putty in a raw mode to connect to port 3443 of the server. Step 7: Start services  screen -S realm -d -m ./realmd  screen -S mangos -d -m ./mangosd Step 8: Play the game  Update %WoWDir%\Data\enUS\realmlist.wtf   set realmlist <Server Hostname or IP Address>  Open the desktop client and log in.   USERNAME PASSWORD   ADMINISTRATOR ADMINISTRATOR   GAMEMASTER GAMEMASTER   MODERATOR MODERATOR   PLAYER PLAYER Optional Step 9: Add users  From the running mangos server instance>   account create <username> <password>   account set addon <username> #    (0 - Normal, 1 - The Burning Crusade, 2 - Lich King)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use