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/
- Create the nextcloud database not the "newdb" included in the LAMP guide.
- PHP7 only pareses *.php files !
Enable http/2
- a2enmod http2
- add "Protocols h2 h2c http/1.1" to /etc/apache2/apache2.conf
NextCloud
- Small typo: "php-7.0-cli" should be "php7.0-cli" in the first apt install command.