Virtual machines are a good way to set up a local web server on your machine to develop applications and websites. This covers setting up a virtual machine on a Mac but could be tailored for any machine.
The following software must be installed before we start.
Visit MySQLWorkbench and create a creation script for your vm.
sudo nano /etc/hosts
Add the ip address you set in the puPHPet file, and the server name.
192.168.56.101 vm1.dev www.vm1.dev