System: Ubuntu 14.04.4 LTS (gnu/linux 3.13.0-32-generic x86_64) 1-Core 2G
Notice: Memory is not too small, otherwise it will fail to compile
#安装一堆东西 4 apt-get update 5 apt-get install git cmake make GCC g++ Libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev 6 apt-get install Libboost-dev Libboost-thread-dev Libboost-system-dev Libboost-filesystem-dev Libboost-program-options-dev libboost-iostreams-< Span style= "COLOR: #000000" >dev 7 apt-get Install mysql-server p7zip 8 AddUser wow 9 cd/home/wow/
#安装cmake 23 cd/data0/package/24 wget http:// www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz 26 tar zxvf cmake- 3.2 . 2 . tar .gz 28 cd cmake-3.2 . 2 /29 ./ Configure 30 make && make install
#安装gcc 33 apt-get install software-properties-common 34 add-apt-repository ppa:ubuntu-toolchain-r/ Test 35 apt-get update 36 apt-get install GCC -4.9 g++-4.9
1824 wget https://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/ Download, tar zxvf boost_1_55_0. Tar. GZ mv boost_1_55_0/data0/
#下载安装TrinityCore OneGit clone-b3.3.5Git://Github.com/trinitycore/trinitycore.git the MVtrinitycore-3.3.5/home/wow/ theCD trinitycore-3.3.5/ the mkdirBuild +CD build/ the/usr/local/bin/cmake. /-dcmake_install_prefix=/home/wow/server-dconf_dir=/home/wow/server/etc-dtools=1-dwith_warnings=1-dcmake_c_compiler=/usr/bin/GCC-4.9-dcmake_cxx_compiler=/usr/bin/g++-4.9-dboost_root=/data0/Boost_1_55_0 - Make - Make Install
#导入数据库mysql -uroot-pmysql > Source/home/wow/trinitycore/sql/create/create_mysql.sqlmysql > quit wget https:// github.com/trinitycore/trinitycore/releases/download/tdb335.61/tdb_full_ 335.61_2016_04_11.7z 106 7ZR x Tdb_full_ 335.61_2016_04_11.7z 108 CD Tdb_full_ 335.61_2016_04_11 110 CP Tdb_full_ world_335.61_2016_04_11.sql/home/wow/server/bin/
#运行worldserver导入数据库 - CP authserver.conf.dist authserver.conf 129 CP Worldserver.conf.dist worldserver.conf
#修改连接数据库配置 #logindatabaseinfo="127.0.0.1;3306;trinity;trinity;auth"Worldserver.conf/authserver.conf (bnetserver.conf for 6. x) #WorldDatabaseInfo="127.0.0.1;3306;trinity;trinity;world"worldserver.conf #CharacterDatabaseInfo="127.0.0.1;3306;trinity;trinity;characters"worldserver.conf theVim authserver.conf131Vim worldserver.conf
#创建地图124Cd/mnt/wow_cn_3.3.5.13930/ the/home/wow/server/bin/Mapextractor127 CP-R DBC maps/home/wow/server/data/ -/home/wow/server/bin/Vmap4extractor129 mkdirVmaps the/home/wow/server/bin/Vmap4assembler Buildings Vmaps131 CP-R vmaps/home/wow/server/data/ the mkdirMmaps133/home/wow/server/bin/Mmaps_generator175 CP-R mmaps/home/wow/server/data/
#启动服务 $ cd/home/wow/server/data/ 134 CD bin/ 136 ./Worldserver /authserver.
#修改realmlistmysql>Select*From realmlist;+----+---------+---------------+--------------+-----------------+------+------+------+----------+-------------- --------+------------+-----------+|ID| name | Address | localaddress | Localsubnetmask | Port | icon | Flag | TimeZone | Allowedsecuritylevel | Population | Gamebuild |+----+---------+---------------+--------------+-----------------+------+------+------+----------+---- ------------------+------------+-----------+|1| Godswar |123.56.72.137|127.0.0.1|255.255.255.0|8085|0|0|1|0|0|13930|+----+---------+---------------+--------------+-----------------+------+------+------+----------+------------- ---------+------------+-----------+1RowinchSet (0.00Sec
#重启服务 136 ./ worldserver 180 ./authserver
#客户端修改方法创建realmlist. WTF is placed in the client root directory e:\ download file \wow_cn_3. 3.5. 13930 123.56. 72.137 Save # or write a bat script # Client modification, Bat script content Echo " Cache " Echo " 123.56.72.137 " > realmlist.wtfstart wow.exegoto end# encountered a problem with the server offline modify the realmlist in the database auth to modify the Gamebuild to the client version
Ubuntu Compilation Installation TrinityCore3.3.5