Need help with testing

Need help with testing

James Steerpike -
回帖数:0
Particularly helpful Moodlers的头像
I have been doing a little project that creates a Moodle site, based on Moodle docs, particularly the step by step Ubuntu installation and the git admin pages. The intention was to take these instructions and place them in a script for consistency and ease of install.
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)
To run these commands, you will need root or sudo access to a clean minimal install of a Ubuntu or Debian server, ie without a LAMP stack. Here is one way to run Ubuntu on your Windows desktop.  Linux on tne Windows desktop

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

3. Now run the script.
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