Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Today I will teach you how to install MaNGOS on Ubuntu virtual box.
As some of you may know I an supporting a MaNGOS WoW server installation bash script on Ubuntu/Debian. I always do prefer running my WoW server on a virtual machine, so everything can become easy as pie when you mess it up xD.
The thing we will need:
Ubuntu OS: Ubuntu LTS x32 or x64 This is so-called
Oracle virtual box: Depending on your host ( VirtualBox
#VERSION# platform packages ) I am gonna install it for Windows my
3. Oracle VB additions: Independent of the host ( VirtualBox
#VERSION# Oracle VM VirtualBox Extension Pack )
Supported versions are found in the list below with the dedicated title ID.
0Vanilla with repo found here and database here
1TBC with repo found here and database here
2WotLK with repo found here and database here
3Cataclism with repo found here and database here
First download all the stuff above and save it to a folder of choice ( I am gonna call it
Go to your
INSTALL folder and open the virtual box to install it. This is pretty straightforward,
though if you do not like where your virtual machine HDDs are stored, you can always change it by
File -> Preferences -> [Left list] General -> Default Machine folder. I prefer mine
Now we need to install the extensions. Go to
File -> Preferences -> [Left list] Extensions -> Extension packages -> The little arrow-down button. It will prompt you to browse for your extension pack.
Give it the file downloaded file in point 3.
We are now done, so go ahead and create a virtual machine.
Name it whatever you like but keep it consistent. I used
Ubuntu WoW x64. The type must be
Linux and the version
x64 depending on point 1. Click
This screen is used to set the memory Press
Ctrl + Shift + Escto open the task manager and view how much RAM do you have free. You can use half of it. I had 16GB free, so I went for 8GB.
- Hard disk
Please use at least 10GB as there are dependencies and additional software needed for installing MaNGOS.
- Hard disk file type
Make sure you always
*.VDI, if you want to extend the virtual HDD in the future.
- Storage of physical hard disk
If you use
Dynamically allocatedthe virtual HDD grows in size as you install stuff in the
GUEST( In our case the Ubuntu ). The
Fixed sizewill allocate the whole HDD on creation.
- File location and size
This tells Oracle VB where to store your virtual HDD. It must be a valid file name. I personally use the name, which I create my VMs with ( In our case
Ubuntu WoW x64) and the limit which the virtual HDD should never exceed.
- Boot order: 1) Optical, 2) HDD
- Chipset: PIIX3
- Pointing device: PS/2 Mouse
- Extended features: Check only (I/O APIC), (Hardware Clock in UTC Time)
- Processor: Give it all CPUs available
- Execution cap: Never go all the way up to 100. I keep it at 70%
- Enable PAE/NX checked
Acceleration: Check all the check-boxes and set the interface to default.
- Video memory: 128 or 64 MB is quite good
- Monitor count: How many monitors are it displayed in. I use one of my two.
- Do not mess with the other tabs :D
Here you will have a storage tree with IDE and SATA. Go ahead and delete the IDE controller (Right-click->Delete or Del), then add a CD drive to the SATA controller by clicking the CD icon with the green plus sign. A prompt will appear for media selection. Click
Choose Diskand insert the ISO downloaded in point 1.
Configure adapter one of the network tab to bridge if you have a second network card and you want your server to run on it or NAT if you don't. I am gonna use
Intel Pro 1000 MT Desktop (82540EM)as Ubuntu takes it without any drivers. Now Click
OKon the settings window to apply your changes to the Ubuntu VM. Start it and follow the Ubuntu installation. until you install the Ubuntu OS from the CD in point 1.
When you see the desktop showing for the first time, open the software sources
Download from drop-down menu chose
Main server then
Open the terminal and type
sudo apt-get update.
After this, you must install [VB dependencies][ref-VBdeps]. I also have
a script for that purpose, so download [the script][ref-VBdeps] to your home folder and
start it. It will install all the VB dependencies
Do you want to install dependencies [y/n]? y.
Beware there will be restart needed if you chose to run the update manager
Do you want to run force-update [y/n]? y.
Now install the VB addition CD provided by Oracle by clicking
Devices->Insert Guest Addition CD Image.. and hit the run button. Authorize it to proceed
and follow the console prompt. After the installation, you will have bi-directional
copy-paste and all needed VB hardware support.
We are finally here to install MaNGOS from source.
I have a script dedicated to this here, so download the script to
your folder of choice ( I will call it
SEVER ), mark it as executable
sudo chmod +x config.sh and run it. The title
TITLE that you chose will be installed
SERVER/TITLE. directory. Now follow the console prompt and answer the questions seen.
If you are not using a proxy, answer
Are you using a proxy [n or <proxy:port>] ? with
The script is designed to be automatic, so you do not need to change anything manually.
After the installation is done. It will compile and install the MaNGOS WoW server.
and you must extract and install the
vmaps yourself, so please follow
the continued MaNGOS project maps installation procedure here.
If you are using a windows machine, just copy map extractor to your client and start the process.
You are practically done ;). Have fun playing in your private server.