Base boxes to work on various smaller projects that don't deserve their own setup. Based on the latest official Vagrant Ubuntu version.
git clone git://github.com/waldvogel/vagrant-dev.git
cd vagrant-dev
Currently the setup contains two configurations:
- Ruby 1.9.3
- Latest Ruby on Rails (installed with
gem install rails
) - Devel Libraries to setup:
- Apache2 with mod php
- PHP5 with the following libraries: curl, sqlite, mysql, intl, pgsql, xdebug, xsl, xmlprc, imagick
- phpunit
- sqlite CLI
- mysql server and client
- postgresql
Important is to remember that the vagrant commands operate on all the boxes if you don't specify one
Bring the ruby
box up:
vagrant up ruby
Bring all boxes up:
vagrant up
The hostmaster plugin manages the IP addresses via /etc/hosts
(except on Windows). Therefore any of the boxes should be reachable through the name plus .lo
. So for example:
ssh access works like this:
vagrant ssh <boxname>
vagrant suspend <boxname>
After that, to work with it again:
vagrant resume <boxname>
To get rid all the boxes:
vagrant destroy
To force it (quicker) add -f
To destroy only ruby
:
vagrant destroy ruby -f