Up and running with Vagrant

Previously, we created a Magento installation wizard using a VM. Although using a VM gives us a reliable environment, setting our LAMP for each of our Magento staging installations can still be very complicated. This is especially true for developers who don't have experience working in a Unix/Linux environment.

What if we could get all the benefits of running a VM but with a completely automated setup process? What if we were able to have new VM instances created and configured on the fly for each of our staging websites?

This is possible using Vagrant in combination with Chef. We can create an automated VM without the need for extensive knowledge of Linux or the different LAMP components.

Note

Currently, Vagrant supports ...

Get Magento PHP Developer's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.