…and why it could be your new best friend!
@jreijn
DOING CONSULTING?
•

MySQL?	


•

Couchbase?	


•

Postgres?	


•

Elasticsearch?	


•

Oracle? 	


•

SOLR?	


•

MongoDB...
LOCAL INSTALLATION?
=
JUST 3 STEPS!
# Download and set the “base” VM image

$ vagrant box add base http://files.vagrantup.com/
precise64.box	

# ...
VAGRANTFILE
MORE COMMANDS
$ vagrant status

$ vagrant ssh

$ vagrant reload

$ vagrant provision

$ vagrant suspend

$ vagrant resume
...
VAGRANT PROVISION
PUPPET
class { 'postgresql::server': }
class { 'postgresql::server::contrib':}
postgresql::server::db { 'book':

user => '...
RESOURCES
•

Vagrant website: http://www.vagrantup.com/	


•

List of available Vagrant boxes: http://
www.vagrantbox.es/ ...
A short introduction to Vagrant for developers
A short introduction to Vagrant for developers
A short introduction to Vagrant for developers
A short introduction to Vagrant for developers
A short introduction to Vagrant for developers
Upcoming SlideShare
Loading in …5
×

A short introduction to Vagrant for developers

528 views
413 views

Published on

This was my 8 minute presentation about "Vagrant for developers" at one of our internal Hippo Friday sessions.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
528
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

A short introduction to Vagrant for developers

  1. 1. …and why it could be your new best friend! @jreijn
  2. 2. DOING CONSULTING? • MySQL? • Couchbase? • Postgres? • Elasticsearch? • Oracle? • SOLR? • MongoDB? • Java 6, 7 or 8?
  3. 3. LOCAL INSTALLATION?
  4. 4. =
  5. 5. JUST 3 STEPS! # Download and set the “base” VM image
 $ vagrant box add base http://files.vagrantup.com/ precise64.box # Initialise a new vagrant project by creating a Vagrantfile
 $ vagrant init # Boot the VM based on the config file we created
 $ vagrant up
  6. 6. VAGRANTFILE
  7. 7. MORE COMMANDS $ vagrant status
 $ vagrant ssh
 $ vagrant reload
 $ vagrant provision
 $ vagrant suspend
 $ vagrant resume
 $ vagrant halt
 $ vagrant destroy
 $ vagrant package
 $ vagrant plugin
  8. 8. VAGRANT PROVISION
  9. 9. PUPPET class { 'postgresql::server': } class { 'postgresql::server::contrib':} postgresql::server::db { 'book':
 user => 'vagrant',
 password => postgresql_password('vagrant', 'password')
 }
  10. 10. RESOURCES • Vagrant website: http://www.vagrantup.com/ • List of available Vagrant boxes: http:// www.vagrantbox.es/ • Virtualbox: https://www.virtualbox.org/

×