Difference between revisions of "Managed Virtual Machine (MVM)"

From DAVE Developer's Wiki
Jump to: navigation, search
m (Installation and configuration)
m (Installation and configuration)
Line 13: Line 13:
 
To generate the image:
 
To generate the image:
  
* install git
+
* download and install git (for Windows: https://git-for-windows.github.io/)
 
* install/configure ssh
 
* install/configure ssh
 
* download VirtualBox from http://www.virtualbox.org and install it
 
* download VirtualBox from http://www.virtualbox.org and install it

Revision as of 11:28, 16 March 2016

Introduction[edit | edit source]

Managed Virtual Machine (MVM) is a virtual machine that allows developers to start using DAVE's platform without wasting time in manually installing and configuring the development environment.

The MVM is created and managed using Vagrant (https://www.vagrantup.com/), which is a powerful tool that creates, configures and manages virtual development environments. Vagrant uses Providers to integrate with the hypervisor that provides the virtual machines, that for the MVM is Oracle VirtualBox (https://www.virtualbox.org/). The entire virtual environment configuration is stored in simple plain text files, including the instructions for the provisioning tool (Puppet, https://puppetlabs.com/), so that installation, management and update of the MVM is straightforward.

Mvm-vagrant-bd.png

The MVM comes with all the development tools and source code, pre-configured, and requires only a minimal setup by the end user.

Installation and configuration[edit | edit source]

To generate the image:

  • download and install git (for Windows: https://git-for-windows.github.io/)
  • install/configure ssh
  • download VirtualBox from http://www.virtualbox.org and install it
    • tested with 5.0.14 (does NOT work with 5.0.0)
  • download Vagrant from https://www.vagrantup.com/
  • install Vagrant
  • clone the project/development kit repository (eg: git clone git@git.dave.eu:project/devenv.git)
  • customize VM settings
  • create the VM with the following command:
vagrant up