Vagrant exercise

Virtual Machine DB

Join local intent network
Install MySQL
Execute some SQL DDL
Enable remote connections

Virtual Machine WEB

Join local intent network
Install apache2
Install PHP
Install PHP-MySQL
Forward HTTP port
Create web page to test the connection to the database

Usage

vagrant up db
vagrant up web

Open browser at 127.0.0.1:9080