Get the license.lic
* OSX (VMWare Fusion)
- Install VMWare Fusion 6
- `$ brew install vagrant`
- `$ brew install ansible`
* OS X (virtualbox)
- `$ brew cask install virtualbox vagrant`
- `$ brew install ansible`
- Install vmware plugin
vagrant plugin install vagrant-vmware-fusion
- Install vmware license
vagrant plugin license vagrant-vmware-fusion license.lic
- Install all the roles required by this playbook with the command
$ ansible-galaxy install -r requirements.txt
- Create a config file based on config.yml.sample
- Run!
vagrant up --provider vmware_fusion
orvagrant up
on virtual box - You will need to run
vagrant provision
an additional time. Ref: #26 - When you
vagrant ssh
you should see:
Welcome to
____ __ ____ __ ____ ___
| _ \ _____ __ \ \ / / \/ | |___ \ / _ \
| | | |/ _ \ \ / /___\ \ / /| |\/| |_____ __) || | | |
| |_| | __/\ V /_____\ V / | | | |_____/ __/ | |_| |
|____/ \___| \_/ \_/ |_| |_| |_____(_)___/
Provided by
_ _ ____ _
| \ | |_ _ / ___(_)_ _____
| \| | | | | | | \ \ / / __|
| |\ | |_| | |___| |\ V / (__
|_| \_|\__,_|\____|_| \_/ \___|
- Install Virtualbox, Vagrant, and Ansible:
* Ubuntu
$ sudo aptitude install virtualbox ansible vagrant
- Start at step #3 for VMWare above
To start this party:
- type
vagrant ssh
to ssh into new box
- type
ifconfig
in the vm. Grab the IP number from the eth0. for virtualbox this should just be 33.33.33.33. For VMware it wil be something like 192.168.231.132. - add the ip address and site name to the /etc/hosts file. type: "sudo vim /etc/hosts" and enter IP_ADDRESS URL for any sites you use on the vm.
Example:
192.168.231.132 nydmv.local
for dmv on VMware
At least 4 Gigs seems to be the optimal amount of memory to assign in config.yml. Also, if you experience slow performace, try opening the vmware-fusion app (if that's the provider you're using) and adjust the processor settings.