- Windows machine :)
- Install vagrant form https://www.vagrantup.com/downloads.html
- Install git with tools (or other ssh.exe client) + add folder to PATH. In powershell just invoke
$env:PATH +=";C:\Program Files (x86)\Git\bin"
- Configure folder for boxes.
It is useful when you want to work in offline mode. The easy way is to create mklink to store files in same place. Start cmd as admin and run (of course change second path to proper one):
mklink /D c:\vagrantfiles d:\downloads\vagrantfiles
- Download Oracle VM VirtualBox from https://www.virtualbox.org/ (or other prefered virtualization product). Vagrant already supports Virtualbox, VMWare and Hyper-V :)
- Create new folder. Let's call it test-vagrant
- Enter it and type:
- Open Vagrantfile in your favorite notepad and:
- Change the box name
- Add url to the box like:
config.vm.box_url = "file:///c:/vagrantfiles/CentOS-6.4-i386-v20131103.box"
vagrant upto create and start the VM
vagrant sshto validate if it is working
vagrant destroyto delete the machine