Vagrant as the foundation of your web development environment.

589 views

Published on

LAMP, the basic concept of our work environment. But how do we set up this environment?
During this talk I want you to think about the disadvantages of development on your own laptop and the benefits of automation through Vagrant, Virtualbox ...

Take control of your own and colleagues working environment ... even within X years.

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

No Downloads
Views
Total views
589
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Vagrant as the foundation of your web development environment.

  1. 1. VagrantThe foundation of your web development environment STUDYX PROFESSIONAL TRAINING 1 1
  2. 2. Hello I’m Xavier• Web entrepreneur• Tweet: @ksafke• http://www.linkedin.com/in/xavierd• http://www.dx-solutions.be• http://www.studyx.be STUDYX PROFESSIONAL TRAINING 2 2
  3. 3. Poll• Have you ever tried to install MySQL on your laptop? STUDYX PROFESSIONAL TRAINING 3 3
  4. 4. Poll• Have you ever tried to install MySQL on your laptop?• Have you ever broken your development environment and spend hours to fix it? STUDYX PROFESSIONAL TRAINING 4 4
  5. 5. Mixed dev environments Text STUDYX PROFESSIONAL TRAINING 5 5
  6. 6. New college Text STUDYX PROFESSIONAL TRAINING 6 6
  7. 7. New employee New MAMP means: Newer PHP version Newer MySQL version Varnish, Memcached ??? #FRUSTRATION STUDYX PROFESSIONAL TRAINING 7 7
  8. 8. #Fuuuuuuuuuuuuu Text STUDYX PROFESSIONAL TRAINING 8 8
  9. 9. New laptop Text STUDYX PROFESSIONAL TRAINING 9 9
  10. 10. New laptop New MAMP means: Newer PHP version Newer MySQL version Varnish, Memcached ??? #FRUSTRATION STUDYX PROFESSIONAL TRAINING 10 10
  11. 11. #Fuuuuuuuuuuuuu Text STUDYX PROFESSIONAL TRAINING 11 11
  12. 12. Text STUDYX PROFESSIONAL TRAINING 12 12
  13. 13. Vagrant to the rescue Text STUDYX PROFESSIONAL TRAINING 13 13
  14. 14. Vagrant“Create and configure lightweight reproducible, and portable development environments.”http:/ /www.vagrantup.com Creator of VagrantCredit goes toMitchell Hashimoto@mitchellh STUDYX PROFESSIONAL TRAINING 14 14
  15. 15. Requirements• VirtualBox http://www.virtualbox.com• Vagrant http://www.vagrantup.com• Git http://git-scm.com/ STUDYX PROFESSIONAL TRAINING 15 15
  16. 16. STUDYX PROFESSIONAL TRAININGcredit www.digitalforreallife.com 16 16
  17. 17. Vagrant subcommands STUDYX PROFESSIONAL TRAINING 17 17
  18. 18. #1 VagrantFileVagrantFile STUDYX PROFESSIONAL TRAINING 18 18
  19. 19. #2/3 VirtualboxVirtualbox creates a virtual machine STUDYX PROFESSIONAL TRAINING 19 19
  20. 20. #4/5 Provisioning STUDYX PROFESSIONAL TRAINING 20 20
  21. 21. #6 SSH STUDYX PROFESSIONAL TRAINING 21 21
  22. 22. Back to the Vagrantfile Start configuration block 2= vagrant 1.1 STUDYX PROFESSIONAL TRAINING 22 22
  23. 23. VagrantfileInstalling the required box STUDYX PROFESSIONAL TRAINING 23 23
  24. 24. Vagrantfile Installing the required box All boxes listedhttp://www.vagrantbox.es/ STUDYX PROFESSIONAL TRAINING 24 24
  25. 25. Vagrantfile Installing the required box All boxes listedhttp://www.vagrantbox.es/ Boxes locally stored @~/.vagrant.d/boxes STUDYX PROFESSIONAL TRAINING 25 25
  26. 26. VagrantFileCustomize the VM STUDYX PROFESSIONAL TRAINING 26 26
  27. 27. Vagrantfile Network STUDYX PROFESSIONAL TRAINING 27 27
  28. 28. VagrantfilePort forwarding STUDYX PROFESSIONAL TRAINING 28 28
  29. 29. Vagrantfile Shared folder STUDYX PROFESSIONAL TRAINING 29 29
  30. 30. DEMOgit@github.com:Ksafke/phpbeneluxdemo1.git STUDYX PROFESSIONAL TRAINING 30 30
  31. 31. Chef Provisioning with Chef• http://www.opscode.com/chef/ STUDYX PROFESSIONAL TRAINING 31 31
  32. 32. Cookbooks• http://community.opscode.com/cookbooks STUDYX PROFESSIONAL TRAINING 32 32
  33. 33. Cookbooks• http://community.opscode.com/cookbooks STUDYX PROFESSIONAL TRAINING 33 33
  34. 34. DEMOgit@github.com:Ksafke/phpbeneluxdemo2.git STUDYX PROFESSIONAL TRAINING 34 34
  35. 35. Questions? STUDYX PROFESSIONAL TRAINING 35 35
  36. 36. Thank You!• Xavier Dekeyster• Tweet: @ksafke• http://www.linkedin.com/in/xavierd• http://www.dx-solutions.be• http://www.studyx.be STUDYX PROFESSIONAL TRAINING 36 36

×