Deyan Dobromirov edited this page Dec 11, 2018 · 17 revisions

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:

1. Ubuntu OS: Ubuntu LTS x32 or x64 This is so-called GUEST OS

2. Oracle virtual box: Depending on your host ( VirtualBox #VERSION# platform packages ) I am gonna install it for Windows my HOST OS

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.

  1. ID 0 Vanilla with repo found here and database here
  2. ID 1 TBC with repo found here and database here
  3. ID 2 WotLK with repo found here and database here
  4. ID 3 Cataclism 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 INSTALL ). 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 in E:\VirtualMachines.

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 Ubuntu x32 or x64 depending on point 1. Click Next

  1. Memory

This screen is used to set the memory Press Ctrl + Shift + Esc to 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.

  1. Hard disk

Please use at least 10GB as there are dependencies and additional software needed for installing MaNGOS.

  1. Hard disk file type

Make sure you always *.VDI, if you want to extend the virtual HDD in the future.

  1. Storage of physical hard disk

If you use Dynamically allocated the virtual HDD grows in size as you install stuff in the GUEST ( In our case the Ubuntu ). The Fixed size will allocate the whole HDD on creation.

  1. 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.

  1. Settings
  • System
    1. Tab Motherboard
    • 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)
    1. Tab Processor
    • 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
    1. Tab Acceleration: Check all the check-boxes and set the interface to default.
  • Display
    1. Tab Screen
    • 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
  • Storage

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 Disk and insert the ISO downloaded in point 1.

  • Network

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 OK on 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 and on Download from drop-down menu chose Main server then Reload. 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 in the 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 n 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 maps and 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.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.