Git Product home page Git Product logo

vagrant's Introduction

Vagrant

There is a Vagrantfile and a Puppet configuration file to prepare the development environment.


Example based on ubuntu 16.04/xenial arch.

Software requirements:

  1. Git
  2. VirtualBox
  3. Vagrant

Configuration:

  1. Git installation
  2. VirtualBox installation
  3. Vagrant installation
  4. Clone git repo
  5. Deploy a VM

1.) Git installation

$ sudo apt-get install git

2.) VirtualBox installation

$ wget http://download.virtualbox.org/virtualbox/5.1.30/virtualbox-5.1_5.1.30-118389~Ubuntu~xenial_amd64.deb
$  sudo dpkg -i virtualbox-5.1_5.1.30-118389~Ubuntu~xenial_amd64.deb

3.) Vagrant installation

$ wget --no-check-certificate https://releases.hashicorp.com/vagrant/2.0.0/vagrant_2.0.0_x86_64.deb
$ sudo dpkg -i vagrant_2.0.0_x86_64.deb

Install a plugin for sync via NFS support

$ vagrant plugin install vagrant-bindfs
Vagrant HELP:
# vagrant up (1-st time create and configure VM. 2-nd: start VM)
# vagrant provision (update VM)
# vagrant halt (shutdown VM)
# vagrant destroy (remove VM)

4.) Copying files or clone git repo

$ mkdir ~/zaproo-centos-01
$ cd ~/zaproo-centos-01
$ git clone https://github.com/yagodin-pro/vagrant.git 

5.) Start a VM creation process

$ cd ~/zaproo-centos-01/vagrant
$ vagrant up

vagrant's People

Contributors

yagodin-men avatar

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.