Skip to content

Instantly share code, notes, and snippets.

@rrubiorr81
Created October 25, 2013 20:26
Show Gist options
  • Save rrubiorr81/7161293 to your computer and use it in GitHub Desktop.
Save rrubiorr81/7161293 to your computer and use it in GitHub Desktop.
Vagrant setup
//list of vagrant boxes
http://www.vagrantbox.es/
//example
vagrant box add precise32 http://files.vagrantup.com/precise32.box
vagrant init precise32
vagrant up
vagrant ssh
sudo apt-get update
//using puppet and puphpet site
//puppet uses a maniefiest to install
//puphpet (https://puphpet.com/) helps u make this manifiest
//just define in the site u r system requirements and put the resulting Vagrant file in the folder u want to set u r site.
/there just make... as usual
vagrant update //directly...
vagrant up //starts the virtual machine and provisions it
vagrant suspend //will essentially put the machine to 'sleep' with vagrant resume waking it back up
vagrant halt //attempts a graceful shutdown of the machine and will need to be brought back with vagrant up
vagrant ssh //gives you shell access to the virtual machine
//laravel - vagrant
https://github.com/bryannielsen/Laravel4-Vagrant
un cambio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment