NextCloud on LAMP on Stretch
A few findings:
LAMP
"apt install mariadb-client mariadb-server" did not ask for root password. It just installed with blank password... but i can easily be fixed using the "mysql_secure_installation" script that is included in the install.
Ref: https://mariadb.com/kb/en/mariadb/mysql_secure_installation/