This project is written in Python 3 and can be used to install, update and start the CMaNGOS servers and databases (GNU/Linux only so far).
Debian/Ubuntu:
sudo apt-get install build-essential automake git autoconf patch libmysql++-dev mysql-server libtool libssl-dev grep sed binutils zlibc libc6 libbz2-dev cmake libboost-all-dev python3 python3-pip
Python:
pip3 install PyQt5 mysqlclient
python3 -m main
Running the installer and clicking these buttons:
- Copy Client
- Install Server
- Install Database
- Create Map Files/Copy Map Files
should create a directory structure like this:
cmangos-installer
| - classic
| - build
| - classic-db
| - client
| - mangos-classic
| - server
and show the button to start the server.
If you installed MariaDB instead of MySQL you will need to make a few changes for the Makefile to work correctly.
- Run this line by line in a terminal (replacing YOUR_NEW_PASSWORD):
sudo mysql -u root
update mysql.user set password=password('YOUR_NEW_PASSWORD') where user='root';
update mysql.user set plugin='' where user='root';
flush privileges;
quit
- Edit
/etc/mysql/debian.cnf
to contain new root password.