I have setup a new install on Debian 10 using the following procedure.
Config DNS records Install Debian Do not set password for root user Create “corey” account Login as Corey sudo apt install git php libapache2-mod-php php-mysql mariadb-server php-xml php-mbstring php-curl php-zip php-gd php-intl php-xmlrpc php-soap sudo mysql_secure_installation sudo mariadb CREATE DATABASE moodle DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY TABLES,DROP,INDEX,ALTER ON moodle.* TO 'moodleuser'@'localhost' IDENTIFIED BY 'yourpassword'; \q cd ~ mkdir moodledata sudo chgrp www-data moodledata/ chmod ug=rwx,o= moodledata/ git clone git://git.moodle.org/moodle.git cd moodle git branch --track MOODLE_39_STABLE origin/MOODLE_39_STABLE git checkout MOODLE_39_STABLE sudo nano /etc/apache2/sites-available/moodle.conf ServerAdmin it@xyz.com ServerName academy.xyz.com DocumentRoot /home/corey/moodle/ AllowOverride None Require all granted DirectoryIndex index.php index.html index.htm Options -Indexes +FollowSymLinks AddOutputFilterByType DEFLATE text/html text/plain text/xml text/x-js text/javascript text/css application/javascript ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key sudo a2enmod ssl sudo a2ensite moodle sudo apache2ctl configtest sudo systemctl restart apache2
This gets me up and running, but performance is really bad. It's taking 20+ seconds just to finish loading the Dashboard. Most of the time is spent on the following files.
- https://academy.xyz.com/lib/requirejs.php/1597259855/core/first.js
- https://academy.xyz.com/theme/font.php/boost/core/1597259855/fontawesome-webfont.woff2?v=4.7.0
- https://academy.xyz.com/lib/javascript.php/1597259855/lib/jquery/jquery-3.4.1.min.js
Loading other pages is a similar experience.
Any suggestions?