Home / Support / LAMP Stack on Ubuntu 24.04 LTS
LAMP Stack on Ubuntu 24.04 LTS — The classic LAMP stack — Apache, MySQL, and PHP on Linux — ready to serve PHP applications the moment the VM boots. Published by Derek Coleman & Associates Inc on the Azure Marketplace, deployed in your own Azure subscription.
Apache always served normally; the MySQL half is now correct too. First boot authenticates its own `FLUSH PRIVILEGES`, verifies `root` against the running server and only then writes /root/.mysql-initial-password and the completion marker, so the password survives reboots.
If you deployed this VM before 2026-09-16, it came from the older image and is not changed by the new publication — redeploy from the current Marketplace version, or apply the one-time repair below:
sudo mkdir -p /etc/app && sudo touch /etc/app/.firstboot-completeImage change: see the pull request.
Source: the Marketplace live version set for this offer, read from Partner Center on 2026-09-16. New deployments take the newest version by default.
| Application ports | 80 (HTTP), 443 (HTTPS) |
|---|---|
| Admin credential file | sudo cat /root/.mysql-initial-password |
| Sign in as | MySQL root (root@localhost, caching_sha2_password) |
| Service(s) | apache2, mysql |
| Configuration | web root /var/www/html/; /etc/apache2/sites-available/000-default.conf; /etc/mysql/mysql.conf.d/mysqld.cnf (bind-address = 127.0.0.1) |
| Logs | /var/log/apache2/{access,error}.log; /var/log/mysql/error.log |
| Version | Apache 2.4 + MySQL 8.0 + PHP 8.3 (Ubuntu 24.04 packages) |
| Platform | Ubuntu 24.04 LTS |
This image generates its admin credential on the VM at first boot — nothing is pre-set. SSH into the VM with the username + key you chose at deploy, then print the generated credential:
ssh <your-username>@<VM-IP>
sudo cat /root/.mysql-initial-passwordSign in as MySQL root (root@localhost, caching_sha2_password).
This is the MySQL root password set at first boot (root@localhost uses caching_sha2_password). Connect with `mysql -u root -p`; MySQL listens on 127.0.0.1 only.
Email support@dcassociatesgroup.com (response within 1 business day) or send a
message via the contact form. Include the offer name, VM size, region, and any log output — sudo journalctl -u <service> -n 100 usually tells the story.