Lemp minimal
Script runs but if i remove mysql and install mariadb then it doesnt do wizzard and also
sh /root/install.sh -b LEMP -m
#mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
and also post-wizzard has error Warning! An error occurred starting MySQL :
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
Install Ubuntu 20.04 LTS - default settings all the way, no extras. (Just skip past the part with all the extra options you can install such as docker.)
Install MariaDB. (No database installer is run during the 20.04 installer. How you got MySQL on your installation to begin with is anybody’s guess.)
$ sudo apt install mariadb-server
That’s a php option set on the php options tab of the server configuration of each Virtual Server. Go to the Virtual Server / Server Configuration / PHP Options and you’ll see the mode selection there.