Virtual machines


Virtual machine set up.

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.

Prerequisites

The following software must be installed before we start.


Set up puPHPet file

Visit MySQLWorkbench and create a creation script for your vm.


Set up hosts file on mac

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