This vagrant box was created for PHP Developers at EasyFood.
So, I will share it to present how to virtualize a PHP Developer Box
After git clone use:
vagrant up
Should create VirtualBox machine and provision with Nginx, PHP-Fmp, MySQL and RVM(for capistrano deploy).
- VirtualBox
- Vagrant
- vagrant plugin install vagrant-berkshelf
- vagrant plugin install vagrant-omnibus
- Chef-dk
- OSX
- brew install caskroom/cask/brew-cask
- brew cask install chefdk
- OSX
Before run vagrant up --provision
export PATH=/opt/chefdk/bin:$PATH
Because RVM mess up PATH >:(
Source: berkshelf/vagrant-berkshelf#212
If you get:
ERROR: You must specify at least one cookbook repo path
Run:
vagrant reload
Source: berkshelf/vagrant-berkshelf#78
- Vagrant + Ubuntu 14.04 + Chef Solo
- Starting the Server Build
- Reginaldo Sousa: Estudando Vagrant + Chef
Author:: Antonio Carlos de Souza (ac.desouza@gmail.com)