<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://together.chrisfaulkner.org/index.php?action=history&amp;feed=atom&amp;title=MangosThree_Install_-_Debian</id>
	<title>MangosThree Install - Debian - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://together.chrisfaulkner.org/index.php?action=history&amp;feed=atom&amp;title=MangosThree_Install_-_Debian"/>
	<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=MangosThree_Install_-_Debian&amp;action=history"/>
	<updated>2026-06-13T06:08:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=MangosThree_Install_-_Debian&amp;diff=36&amp;oldid=prev</id>
		<title>Cfaulkner at 04:27, 21 November 2014</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=MangosThree_Install_-_Debian&amp;diff=36&amp;oldid=prev"/>
		<updated>2014-11-21T04:27:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:27, 21 November 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l108&quot;&gt;Line 108:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 108:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mkdir mangos-source&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mkdir mangos-source&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cd mangos-source&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cd mangos-source&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;git clone --recursive http://github.com/mangosthree/server.git&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;git clone --recursive &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-b Rel19 &lt;/ins&gt;http://github.com/mangosthree/server.git&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;git clone --recursive http://github.com/scriptdev2/scriptdev2-cata.git src\bindings&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;git clone --recursive http://github.com/scriptdev2/scriptdev2-cata.git src\bindings&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;git clone --recursive http://github.com/mangosthree/tools.git&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;git clone --recursive http://github.com/mangosthree/database.git&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=MangosThree_Install_-_Debian&amp;diff=35&amp;oldid=prev</id>
		<title>Cfaulkner: Created page with &quot;This howto will be on how to get MangosThree running on Debian in VirtualBox as Windows 7 64 Bit as the host  == Installing VirtualBox == This part should be self-explanatory,...&quot;</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=MangosThree_Install_-_Debian&amp;diff=35&amp;oldid=prev"/>
		<updated>2014-11-21T04:21:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This howto will be on how to get MangosThree running on Debian in VirtualBox as Windows 7 64 Bit as the host  == Installing VirtualBox == This part should be self-explanatory,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This howto will be on how to get MangosThree running on Debian in VirtualBox as Windows 7 64 Bit as the host&lt;br /&gt;
&lt;br /&gt;
== Installing VirtualBox ==&lt;br /&gt;
This part should be self-explanatory, I may recap on certain settings like BIOS and other default settings&lt;br /&gt;
&lt;br /&gt;
== Starting up Virtual box and Installing the base operating system ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&amp;#039;m going with a 64-bit install with Debian 7.2.0 ISOs. 512MB ram, create a 20GB dynamic partition.  After the new virtual machine has been set up, give the server 12MB of video ram which is more than enough to run a server.&lt;br /&gt;
&lt;br /&gt;
Start the server, and select your settings as you wish.&lt;br /&gt;
&lt;br /&gt;
When installing packages, only install what you need because we want this server to be as trim as possible.  No Desktop, XWindow or gui, just a straight server.&lt;br /&gt;
&lt;br /&gt;
On the Software Selection screen, Unselect Everything but the standard system utilities.&lt;br /&gt;
&lt;br /&gt;
Install the Grub boot loader&lt;br /&gt;
&lt;br /&gt;
== Setting up Build Environment for Mangos ==&lt;br /&gt;
&lt;br /&gt;
Login as root, we need to install a few things first.  After looking at top, I only have 58 processes total running and about 56k of RAM used.  not bad at all.  We want the OS to be as trim as possible, that is one of the goals for this article.&lt;br /&gt;
&lt;br /&gt;
As root, type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install sudo ssh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After install of sudo, Add the user mangos and edit the /etc/sudoers file and add the mangos username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser mangos&lt;br /&gt;
&lt;br /&gt;
edit /etc/sudoers&lt;br /&gt;
&lt;br /&gt;
Add under &amp;#039;User Privilege Section&amp;#039; underneath root&lt;br /&gt;
mangos    ALL=(ALL:ALL) ALL&lt;br /&gt;
&lt;br /&gt;
Exit and save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now type in exit and login as mangos username.  You should have sudo rights now.&lt;br /&gt;
&lt;br /&gt;
Type in these commands to establish a build environment&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y autoconf automake clang cmake gcc g++ libtool make patch&lt;br /&gt;
sudo apt-get install -y cmake-curses-gui git-core&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I had an issue with these commands not being found so I had to add the default repos in /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://http.debian.net/debian wheezy main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy main&lt;br /&gt;
&lt;br /&gt;
deb http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
to update the repos&lt;br /&gt;
&lt;br /&gt;
=== Installing the Development headers ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y libace-dev libbz2-dev libmysqlclient-dev libncurses5-dev libreadline-dev libssl-dev zlib1g-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing the Database Server (MySQL) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y mysql-server mysql-common mysql-client&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the root password for the MySQL server&lt;br /&gt;
&lt;br /&gt;
=== Creating and Setting Permissions for MySQL User ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE USER &amp;#039;mangos&amp;#039;@&amp;#039;localhost&amp;#039; IDENTIFIED BY &amp;#039;password&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for Password, use whatever you want and for user mangos, use whatever you want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GRANT ALL PRIVILEGES ON `mangos\_%` . * TO &amp;#039;mangos&amp;#039;@&amp;#039;localhost&amp;#039;;&lt;br /&gt;
GRANT USAGE ON * . * TO &amp;#039;mangos&amp;#039;@&amp;#039;localhost&amp;#039; IDENTIFIED BY &amp;#039;password&amp;#039; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
again for username and password, use whatever you want, just ensure they match&lt;br /&gt;
&lt;br /&gt;
=== Creating the Mangos Databases ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE `mThree_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mThree_realm` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mThree_scripts` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mThree_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
FLUSH PRIVILEGES ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloading the Mangos-Zero Source from github and compiling ==&lt;br /&gt;
&lt;br /&gt;
While you are in user mode and not root, create the mangos source directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir mangos-source&lt;br /&gt;
cd mangos-source&lt;br /&gt;
git clone --recursive http://github.com/mangosthree/server.git&lt;br /&gt;
git clone --recursive http://github.com/scriptdev2/scriptdev2-cata.git src\bindings&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure to use the &amp;#039;&amp;#039;&amp;#039;--recursive&amp;#039;&amp;#039;&amp;#039; so git will pull in everything, without this your compile will fail&lt;br /&gt;
&lt;br /&gt;
=== Compiling Mangos ===&lt;br /&gt;
create the directories needed for build&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir -p /opt/mZero/&lt;br /&gt;
sudo mkdir -p /opt/mZero/logs/mangos-zero/&lt;br /&gt;
sudo mkdir -p /opt/mZero/share/mangos-zero/&lt;br /&gt;
sudo chown -R mangos:mangos mZero&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd server&lt;br /&gt;
mkdir _build&lt;br /&gt;
cd _build&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX=/opt/mZero2 -DDEBUG=1 -DBUILD_TOOLS=1 -DACE_USE_EXTERNAL=1 ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DACE_USE_EXTERNAL=1 is important for the Tools to compile&lt;br /&gt;
&lt;br /&gt;
Now in the ~/mangos-source/server/_build directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After a successful compile run this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration of Mangos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mZero/etc&lt;br /&gt;
cp ahbot.conf.dist ahbot.conf&lt;br /&gt;
cp mangosd.conf.dist mangosd.conf&lt;br /&gt;
cp realmd.conf.dist realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;LoginDatabaseInfo&amp;#039;&amp;#039;&amp;#039; Variable looks like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mZero_realm&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for mangosd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano mangosd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The lines that need to be changed are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These lines should be changed to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mZero_realm&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mZero_world&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mZero_characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mZero_scripts&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Map Extraction ==&lt;br /&gt;
&lt;br /&gt;
Go into /opt/mZero/bin and copy these files to your main World of Warcraft directory ( c:\program files\World of Warcraft in Windows.  You should know where it is )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp map-extractor [WoW DIR]&lt;br /&gt;
cp vmap-extractor [WoW DIR]&lt;br /&gt;
cp vmap-assembler [WoW DIR]&lt;br /&gt;
cp mmap-generator [WoW DIR]&lt;br /&gt;
cp ExtractResources.sh [WoW DIR]&lt;br /&gt;
cp MoveMapGen.sh [WoW DIR]&lt;br /&gt;
cp offmesh.txt[WoW DIR]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to your WoW DIR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chown +x ExtractResources.sh&lt;br /&gt;
./ExtractResources.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer the questions, should take a while.  If you ever edit the offmesh.txt file, you have to re-run the ExtractResources.sh again.&lt;br /&gt;
&lt;br /&gt;
After it&amp;#039;s done, Create a &amp;#039;data&amp;#039; directory in /opt/mZero and copy the dbc,vmaps and mmaps directories to /opt/mZero/data&lt;br /&gt;
&lt;br /&gt;
== Inserting Database Information ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-source/database/Realm/Setup&lt;br /&gt;
mysql -u root -p mZero_realm &amp;lt; realmdLoadDB.sql&lt;br /&gt;
cd ~/mangos-source/database/Character/Setup&lt;br /&gt;
mysql -u root -p mZero_characters &amp;lt; characterLoadDB.sql&lt;br /&gt;
cd ~/mangos-source/database/World/Setup&lt;br /&gt;
mysql -u root -p mZero_world &amp;lt; mangosdLoadDB.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Inserting Table Information and Full DB ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-source/database/&lt;br /&gt;
nano make_full_WorldDB.sh&lt;br /&gt;
&lt;br /&gt;
Change the last line to look like this:&lt;br /&gt;
&lt;br /&gt;
for i in /home/mangos/mangos-source/database/World/Setup/FullDB/*.sql; do tail -n +18 $i &amp;gt;&amp;gt; full_db.sql; done&lt;br /&gt;
&lt;br /&gt;
Save the file&lt;br /&gt;
&lt;br /&gt;
bash make_full_WorldDB.sh&lt;br /&gt;
mysql -u root -p mZero_world &amp;lt; full_db.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Server ==&lt;br /&gt;
&lt;br /&gt;
=== Realmd (Realm Server) ===&lt;br /&gt;
&lt;br /&gt;
go to /opt/mZero/bin and run the realmd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mZero/bin&lt;br /&gt;
./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running realmd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-source/database/Realm/Updates/Rel20&lt;br /&gt;
mysql -u root -p mZero_realm &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get realmd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
=== Mangos (World Server) ===&lt;br /&gt;
go to /opt/mZero/bin and run the mangosd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mZero/bin&lt;br /&gt;
./mangosd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running mangosd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-source/database/World/Updates/Rel20&lt;br /&gt;
mysql -u root -p mZero_world &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get mangosd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
== Finalizing running the server ==&lt;br /&gt;
&lt;br /&gt;
I use Screen so you&amp;#039;ll have to install this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install screen&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the /opt/mZero/bin directory, create a file called runserver.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mZero/bin&lt;br /&gt;
screen -A -m -d -S mangosworld ./mangosd&lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mZero/bin&lt;br /&gt;
screen -A -m -d -S mangosrealm ./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save it and then chmod +x runserver.sh&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
If you have any issues with this, please feel free to email me at me@chrisfaulkner.org&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
</feed>