My talk for JSConf Asia 2015, building a PHP Dev Box with Vagrant. It uses puppet for provisioning & VirtualBox as the provider. Metadata, guest:ubuntu/trusty64 | host:OSX/Yosemite | port:1234
Puppet • Vagrant Provider: VirtualBox • The Vagrantfile internally refers a Shell Script for software setup • The Shell Script sets up the MAMP stack (installs Apache, PHP, MySQL & PHPMyAdmin with default configurations)
you at: http: localhost:1234 </> Want to start your own vagrant project & spin up a VM of your choice? $ vagrant init debian/wheezy64 $ vagrant up </> Changed Vagrantfile? $ vagrant reload $ vagrant up
LxC (Linux Containers) Vagrant • Focus: Portable Dev Envs • Virtualization: Interfaces with VM Managers • Since Jan 2010 Docker • Focus: Production & Deployment • Containers not Virtual Machines • Fast • Since Mar 2013