I have used install lemp stack tutorial for moodle installation. Then installed Moodle.
Installing and upgrading help
Moodle 3.5, PHP7.2 MariaDB, nginx and Ubuntu 18.04 LTS
This discussion has been locked so you can no longer reply to it.