I would appreciate help with testing the script along with feedback on amy problems you find. Some things you might check could be:
- The Moodle site is up and the admin can log on at the end of the script
- Moodle is operating as usual
- If a domain name is supplied, the site is encrypted with htttps
- Cron jobs are running (etc/crontab)
- The database is backed up at midnight (/var/backups/moodle)
Here are the commands to install Moodle/
1. Prepare your server with these three commands.
sudo apt-get update
sudo apt upgrade -y
sudo apt install git
2. Copy ALL of this very long line
sudo git clone --depth 1 --filter=blob:none https://github.com/Steerpike5/LAMP_Moodle.git /opt/Moodle
sudo apt-get update
sudo apt upgrade -y
sudo apt install git
2. Copy ALL of this very long line
sudo git clone --depth 1 --filter=blob:none https://github.com/Steerpike5/LAMP_Moodle.git /opt/Moodle
3. Now run the script.
sudo chmod +x /opt/Moodle/DebianUbuntuInstall.sh
sudo /opt/Moodle/DebianUbuntuInstall.sh
sudo chmod +x /opt/Moodle/DebianUbuntuInstall.sh
sudo /opt/Moodle/DebianUbuntuInstall.sh
The install process will ask you for:
- A web address (http://example.com or http://234.45.67.8 format)
- The Moodle release required from those compatible with your server.
- If a domain name is supplied, answer the prompts for the letsencrypt script
- Answer the mysql-secure_installation prompts