I need a fully repeatable build that spins up an Ubuntu 24 LTS virtual machine, installs a hardened LAMP stack, deploys the latest stable WordPress and Moodle side-by-side, and then hands me clean, human-readable bash scripts that back up and restore the whole setup on demand. Everything has to work in a freshly reset environment without a single manual tweak, so the deliverable must be deterministic and self-verifying. Deliverables • A reusable VM template (OVA/qcow2 or similar) based on vanilla Ubuntu 24 LTS • Idempotent bash scripts that: – Provision Apache, MariaDB/MySQL, PHP, Let’s Encrypt SSL – Install and configure WordPress and Moodle with secure defaults • Backup & restore scripts covering web files + databases, with clear retention logic • A simple validation script that proves the above works after a clean reset • Step-by-step markdown documentation covering build, usage, and disaster recovery All code, artifacts, and documentation transfer to me under NDA with full IP ownership. No third-party binaries beyond standard Ubuntu repositories and official upstream packages.