This repository has been archived by the owner on May 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Vagrant prerequisites
giovino edited this page Dec 14, 2014
·
5 revisions
- Vagrant allows you to programmatically spin up a Virtual Machine from a template VM (think .iso) to a configured VM (think post OS installer). Post install being all the things you would have to configure during a distribution setup (networking, users, etc)
- You can easily share these Vagrant configurations amongst your team
- You can configure Vagrant to bring up more than one machine in a single "vagrant up" command
- You can script post install actions (e.g. apt-get install apache2)
- vagrant up - starts and provisions the vagrant environment
- vagrant halt - stops the vagrant machine
- vagrant status - outputs status of the vagrant machine
- vagrant global-status - outputs status Vagrant environments for this user
- vagrant destroy - stops and deletes all traces of the vagrant machine
- vagrant resume - resume a suspended vagrant machine
- vagrant suspend - suspends the machine
- vagrant -h - help
- Install Virtualbox
- Install Vagrant
If you do not have Apple Xcode installed:
-
Install Git
-
Place Git in the PATH of your shell
-
Create/edit your bash_profile
vim ~/.bash_profile
-
Add the following:
PATH=/usr/local/git/bin:$PATH export PATH
-
Reload your bash_profile
source ~/.bash_profile