News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Alex Bilbie:
Using Vagrant and Ansible for distributing educational course virtual machines
December 20, 2013 @ 11:23:40

in his latest post Alex Bilbie shares a guide for the steps he follows to create virtual machines for an educational course using Vagrant and Ansible with a PHP+Apache environment set up and ready to go.

In "Cursory Thoughts on Virtual Machines in Distance Education Courses" Tony discuses using virtual machines in courses to help distribute software and operating systems to students who increasingly more and more are bringing in very different devices. [...] At the very end of the article Tony mentions using Vagrant which is a small piece of software to help "create and configure lightweight, reproducible, and portable development environments". [...] A better option [for managing VM deployment] would be to use another devops tool called Ansible which "is a powerful automation engine that makes systems and apps simple to deploy".

He includes both a sample Vagrantfile for configuring Vagrant and a YAML configuration for Ansible that sets up the VM, opens the needed ports and installs and configures the needed software.

Together the playbooks and the Vagrantfile can be distributed to the students and assuming they've installed Vagrant and Virtualbox for their OS they can be up and running with identical environments in just a few minutes.
0 comments voice your opinion now!
vagrant virtualmachine vm ansible configuration example

Link: http://alexbilbie.com/2013/12/vagrant-ansible-courses/

blog comments powered by Disqus

Similar Posts

JSLabs Blog: Is your website secure?

Marcelo Gornstein's Blog: Dependency injection with Xml and Yaml in the Ding container

SitePoint PHP Blog: The Joy of Regular Expressions [4]

David Goodwin's Blog: Book Review: Object-Orientated Programming with PHP5 (Hasin Hayder, Packt)

Bit-Tech.net Formus: PHP "raycaster" 3D renderer


Community Events





Don't see your event here?
Let us know!


install testing opinion refactor symfony2 release framework api laravel series unittest community podcast list threedevsandamaybe language developer interview code introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework