Auto-installation bash script feedback #16583
Replies: 3 comments
-
To add to this, installing the dependencies listed here: https://www.azerothcore.org/wiki/linux-requirements resolved the issues:
Perhaps this list of packages could be integrated into the auto-install script for steps 1 and 2. Another possible addition would be a 'configure database' option, which would execute this script: https://github.com/azerothcore/azerothcore-wotlk/blob/master/data/sql/create/create_mysql.sql If this was included, then the install script would take the user through the complete installation process and have a running world/auth server simply by selecting the necessary menu options. I would also consider adding the admin account by default as documented here: https://www.azerothcore.org/wiki/creating-accounts so that the user could log in right away post-install (perhaps with a notice to change the default password). |
Beta Was this translation helpful? Give feedback.
-
I set up an install on a minimal Debian 12 install today for further investigation into the install scripts. The goal of this discussion is to minimise the manual work involved during the install process of AzerothCore to make it as straightforward for the end user as possible. Dependencies required to allow the compilation to run successfully
Notable omissionsThe build process completed without the below packages present on my system, but are listed as dependencies in
I'd be interested to know what function they are supposed to provide. No
|
Beta Was this translation helpful? Give feedback.
-
Hey @JimJamJamie, I agree with most of your points.
The most interesting one of these is
Yeah. Deno doesn't add anything and it actually is running shell under the hood. This means that it's going from shell -> typescript -> shell. Additionally, Deno doesnt support an arm64 build for MacOS so it's a problem there as well. I have a PR in to remove deno:
I agree. I don't think the dashboard should manage packages for the user
I'd prefer the script do less rather than more, though I do agree there should be very clear, simple, and easy documentation on what to do to bootstrap the database. Note as well that there is the "dbimport" tool that can do these, it acts like a database migration tool similar to dbmate or sqlx for rust.
Yeah. I think that it should just not fail (or even log a warning) if there isn't a
I'd be most interested in this as a config parameter for the world server. The easiest thing I can think of is to have an environment variable and if it's not an empty string, insert that value into the database.
yes, 1000x. I really don't like the hard requirement on using the console to get started
I'd rather the scripts do less rather than more. They jump around quite a bit, make some large assumptions about the users machine, and are at times difficult to maintain. They are quite complex and have a large amount of functions that feels like bloat more often than not. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like to provide some feeback from testing the installer script on my Ubuntu 22.04 machine. First of all, thanks for your efforts on AzerothCore, I'm excited to spin up a server for myself, and this script is very handy.
There were two errors encountered when running the First Installation step using the /apps/installer/main.sh script.
Version below:
The first error is as follows:
I resolved this issue by installing the
libboost-all-dev
package from the Ubuntu repository:sudo apt install libboost-all-dev
.The second error:
Was resolved by installing the
libreadline-dev
package from the Ubuntu repository:sudo apt install libreadline-dev
.Once these libraries were manually installed, the installation script completed succesfully and compiled. It would be fantastic (especially for less technical users) if the script could be modified to eliminate these minor issues, as it would make installation as simple as 'press 1 for success'.
If there is anything else I can provide, please ask away and I will endeavour to do so.
System configuration:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions