Jump to content

[Guide] Install Log with Ubuntu 10.10


Guest chuanhsing

Recommended Posts

Install Log with Ubuntu 10.10

Install

apt-get update
apt-get install build-essential cmake automake autoconf libmysqlclient-dev libtool libssl-dev subversion zlib1g-dev git-core pkg-config mysql-server
git clone git://github.com/mangos/mangos.git
cd mangos
svn co [url]https://ScriptDev2.svn.sourceforge.net/svnroot/scriptdev2/[/url] src/bindings/ScriptDev2/
git am src/bindings/ScriptDev2/patches/MaNGOS-11167-ScriptDev2.patch
mkdir objdir;
cd objdir;
cmake .. -DPREFIX=/opt/mangos
make
make install

populate db

mysql -u root -p < sql/create_mysql.sql
mysql -u root -p < src/bindings/ScriptDev2/sql/scriptdev2_create_database.sql
mysql -u mangos -p'mangos' scriptdev2 < src/bindings/ScriptDev2/sql/scriptdev2_create_structure_mysql.sql
mysql -u mangos -p'mangos' mangos < sql/mangos.sql
mysql -u mangos -p'mangos' characters < sql/characters.sql
mysql -u mangos -p'mangos' realmd < sql/realmd.sql
mysql -u mangos -p'mangos' scriptdev2 < src/bindings/ScriptDev2/sql/scriptdev2_script_full.sql
svn co [url]https://unifieddb.svn.sourceforge.net/svnroot/unifieddb/trunk[/url] udb
unzip udb/Full_DB/*.zip
wget [url]https://sd2-acid.svn.sourceforge.net/svnroot/sd2-acid/trunk/wotlk/3.0.8/3.0.8_acid.sql[/url] --no-check-certificate
mysql -u mangos -p'mangos' mangos < 3.0.8_acid.sql
mysql -u mangos -p'mangos' mangos < src/bindings/ScriptDev2/sql/mangos_scriptname_full.sql
mysql -u mangos -p'mangos' mangos < UDB_0.12.1.393_mangos_10545_SD2_1833.sql
cd udb/Updates/0.12.1_additions/
mysql -u mangos -p'mangos' mangos < 394_corepatch_mangos_10546_to_10720.sql
mysql -u mangos -p'mangos' mangos < 394_updatepack_mangos.sql
mysql -u mangos -p'mangos' mangos < 395_corepatch_mangos_10721_to_10892.sql
mysql -u mangos -p'mangos' mangos < 395_updatepack_mangos.sql
mysql -u mangos -p'mangos' mangos < 396_updatepack_mangos.sql
mysql -u mangos -p'mangos' mangos < 397_corepatch_mangos_10905_to_11064.sql
mysql -u mangos -p'mangos' mangos < 397_updatepack_mangos.sql
mysql -u mangos -p'mangos' mangos < 398_corepatch_mangos_11065_to_11156.sql
mysql -u mangos -p'mangos' mangos < 398_updatepack_mangos.sql
cd -
mysql -u mangos -p'mangos' mangos < sql/updates/11169_01_mangos_mangos_string.sql
mysql -u mangos -p'mangos' mangos < sql/updates/11169_02_mangos_command.sql
mysql -u mangos -p'mangos' mangos < sql/updates/11190_01_mangos_pool_creature_template.sql
mysql -u mangos -p'mangos' mangos < sql/updates/11190_01_mangos_pool_gameobject_template.sql
mysql -u mangos -p'mangos' mangos < sql/updates/11200_01_mangos_spell_bonus_data.sql
mysql -u mangos -p'mangos' mangos < sql/updates/11205_01_mangos_spell_proc_event.sql
mysql -u mangos -p'mangos' mangos < sql/updates/11214_01_mangos_mangos_string.sql
mysql -u mangos -p'mangos' mangos < sql/updates/11214_02_mangos_command.sql
mysql -u mangos -p'mangos' mangos < sql/updates/11217_01_mangos_creature_addon.sql
mysql -u root -p mangos < sql/updates/11217_01_mangos_creature_addon.sql
mysql -u mangos -p'mangos' mangos < sql/updates/11234_01_mangos_command.sql

copy vmap & dbc to /opt/mangos

cd /opt/mangos
cp etc/mangosd.conf.dist etc/mangosd.conf
cp etc/realmd.conf.dist etc/realmd.conf
cp etc/scriptdev2.conf.dist etc/scriptdev2.conf
bin/realmd &
bin/mangosd

Link to comment
Share on other sites

I don't know the reason of this topic.. maybe it's a guide? However if you want use the terminal and start withaout mysql installed you could create the database before import files with these commands:

mysqladmin -h localhost -u root -ppassword create mangos
mysqladmin -h localhost -u root -ppassword create characters
mysqladmin -h localhost -u root -ppassword create realmd
mysqladmin -h localhost -u root -ppassword create scriptdev2

Link to comment
Share on other sites

×
×
  • 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