Giter Site home page Giter Site logo

development-environment's Introduction

Virtual machines for development purpose with Vagrant

The configuration has been tested using a Windows 10 host with Virtual Box and Hyper-V virtualization support. Virtualization must be enabled in case you get the following error, see the snapshot below:

Prerequisites

Vagrant-vbguest is a Vagrant plugin which automatically installs the host's VirtualBox Guest Additions on the guest system. To successfuly run the Vagrantfile and to mount ans sync the repository folders into Vagrant, the plugin must be installed first.

vagrant plugin install vagrant-vbguest

If the above plugin does not work, uninstall and fallback to an early version of it, as following:

vagrant plugin uninstall vagrant-vbguest
vagrant plugin install vagrant-vbguest --plugin-version 0.21

To update your plugins after a Vagrant upgrade, you can execute the following command.

vagrant plugin update vagrant-vbguest

If an update doesn’t resolve the problem or something has corrupted your current installation, you can repair the plugin.

vagrant plugin repair vagrant-vbguest

Useful commands

  • Start a vagrant machine:
vagrant up box-name
  • Stop a vagrant machine:
vagrant halt box-name
  • Remove a vagrant machine:
vagrant destroy box-name
  • Connect to a vagrant machine using ssh:
vagrant ssh box-name

List of machines (servers) that will be spun up by the Vagrantfile

Vagrant managed machines
Docker
RabbitMQ
HAProxy
MySQL
Tomcat8

For the tomcat server, there will be instructions to create and deploy a self signed certificate. The below snapshot shows the VM's that will be created by the Vagrantfile.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.