DEV/Setting Up Vagrant

From fd.io
Jump to: navigation, search

Introduction

If you are working on a Mac or Windows you will need a Linux VM. Vagrant is one easy way to get a Linux VM quickly.

Install Virtualbox or VMWare

The default configuration supports VMWare and VirtualBox. You will need to install *one* of them.

VirtualBox is free. You can download and install VirtualBox from here.

VMWare runs faster than VirtualBox (reference needed--Burts12 (talk) 15:28, 7 April 2017 (UTC)), but requires purchase. You can acquire VMWare Fusion (Mac) or VMWare Workstation (Windows)

VMware runs faster than VirtualBox (reference needed--Burts12 (talk) 15:28, 7 April 2017 (UTC)). To use VMware you will need to obtain a VMware plugin for Vagrant. You can learn more about support for VMware from the Vagrant documentation: https://docs.vagrantup.com/v2/vmware/.

Install Vagrant software.

Install the Vagrant software: https://docs.vagrantup.com/v2/installation/index.html

Install vagrant-cachier

Optional: To cache apt/yum (for faster Vagrant VM rebuild), install vagrant-cachier.

At the unix command line run:

$ vagrant plugin install vagrant-cachier