This will create a new sub-folder database and downloads all required tools and scripts to install the database for the Mangos core selected. If you want to install a different version, exchange the url accordingly:Ģ. Go to the db folder and download the database from the GIT repository. GRANT ALL PRIVILEGES ON *.* TO 'mangos' 'localhost' WITH GRANT OPTION exit Īfterwards you are able to login to MariaDB with new user:ġ. Also grant the user with all required DB rights (very powerful rights, so don't share this user with anybody):ĬREATE USER 'mangos' 'localhost' IDENTIFIED BY '' If you are using user " mangos", go to the home directory.Įxecute the follwoing create statement in the DB, replace with a secret password which you can remember. You can check your user name with the command: I try to seperate the different components and wanted to have the option to install different cores in parallel. You can structure your fodlers as you like, you just have to take care to change the folder names accordingly in the scripts below. Sudo apt install git make cmake libssl-dev libbz2-dev build-essential mariadb-server mariadb-client default-libmysqlclient-dev libace-dev python2 net-tools screen gdb We also need some programs to run further commands or simply to handle some scripts which are in the repo (e.g : python scripts). MaNGOS requires some libraries to be built and to run properly. We will use in the guide a specific user named " mangos":ġ.1 You can add root rights to the user, otherwise you need to execute some parts of the guide with root: Create system user to be used for installation, if not already available. You should backup your DB before!Īlso you will need an installation of the game client with the addons installed for which you would like to create the server for.ġ. Upgrading to higher release of Ubuntu Server is on own risk. You should have a running server with Ubuntu Server 22.04 operating system.īefore starting with the guide you should update the OS: You can use this guide for all cores, just replace GIT repository URL accordingly. I recently installed MaNGOS(Zero) on Ubuntu 22.04 and thought it would be nice to share my step-by-step guide with you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |