Jump to content
  • 0

LazyMaNGOS Auto setup and install (Debian)


Faded

Question

This is my first release here, this script is taken from my original LazyMan Linux Script.

A few things you should know:

  • This is currently only for MaNGOS Zero & One
  • It is also currently only for Debian and Redhat based distributions
  • This clones the develop21 branch, which is more up to date

What it does:

This script will gather information about your server, install all dependencies

and it will setup/compile mangos zero along with the databases.

It also comes with auto-restart scripts at your disposal.

How to get LazyMaNGOS:

1.) Download the script

wget https://raw.githubusercontent.com/mangoszero/server/develop21/linux/lazymangos.sh

2.) chmod +x lazymangos.sh

3.) ./lazymangos.sh

4.) Follow the instructions

That's it!

Did it have issues? Change your mind?

Then run the script again and choose to remove the server!

Changelog:

0.3 - The old script has been changed up a bit.

Limited the amount of input needed to install

Added MaNGOS One support

Added CentOS7+ support

Added more functions to decrease amount of code

Added ability to use any username desired

Removed password input and moved user to no-login

Added optional updates for the database

Please report all issues and enjoy!

(note: all dependencies and install methods are minimal for the cleanest install)

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

Tried this on my Ubuntu server and it worked great. A couple of suggestions/observations:

Can't use an existing user for the install. It tells you user already exists and ends script. Would be nice to prompt for new user name again at that point rather than rerun script.

Can't use or alter pre-existing databases. I understand that updating existing databases would make the script more complex but perhaps a prompt to create a new instance would be a nice alternative?

Each time I ran into an error the script stopped and required a rerun. Would be nice if it allowed you to correct error then resume install.

No prompt to name your realm, would be nice to be able to give the realm a name during install rather than default mangos.

All-in-all a pleasant install experience. Much easier than my branch19 install I did last year.

Thanks for the effort!

Link to comment
Share on other sites

Tried this on my Ubuntu server and it worked great. A couple of suggestions/observations:

Can't use an existing user for the install. It tells you user already exists and ends script. Would be nice to prompt for new user name again at that point rather than rerun script.

Can't use or alter pre-existing databases. I understand that updating existing databases would make the script more complex but perhaps a prompt to create a new instance would be a nice alternative?

Each time I ran into an error the script stopped and required a rerun. Would be nice if it allowed you to correct error then resume install.

No prompt to name your realm, would be nice to be able to give the realm a name during install rather than default mangos.

All-in-all a pleasant install experience. Much easier than my branch19 install I did last year.

Thanks for the effort!

Thanks for the input. I designed the script to be used on fresh installs hence no support for existing. Also the reason the script stops is because I put set -e at the top so it would exit the script in

event of an error so it wouldn't continue and keep breaking. This is just the beginning with LazyMaNGOS so I appreciate your feedback and suggestions.

Link to comment
Share on other sites

Found updateRealm.sql and that populated the table for me but I'm running into some revision issues. Seems the install didn't fully update the databases. So far the errors all seem to be in the Characters database.

EDIT:Not sure if it's something wrong with your program or if it's the characters patch that's the problem. I did a manual git of the database and when I tried to apply the Rel21_2_0_honor_flush.sql I got errors about MySQL syntax.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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