Vagrant: Up and Running
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-3583-0 (ISBN)
This comprehensive guide shows you how to create and distribute virtualized development environments with this powerful open source tool.
Discover why Vagrant is a must-have tool for thousands of developers and ops engineers. With this hands-on guide, you’ll learn how to use this open source software to quickly build a virtual machine for any purpose—including a completely sandboxed, fully provisioned development environment right on your desktop.
Vagrant creator Mitchell Hashimoto shows you how to share a virtual machine image with members of your team, set up a separate virtualization for each project, and package virtual machines for use by others. Start creating development environments with Vagrant, and learn how to save time, avoid frustration, and prevent costly errors.
- Build a simple virtual machine with just two commands and no configuration
- Create a development environment that closely resembles production
- Automate software installation and management with shell scripts, Chef, or Puppet
- Set up a network interface to access your virtual machine from any computer
- Use your own editor and browser to develop and test your applications
- Test complicated multi-machine clusters with a single Vagrantfile
- Change Vagrant’s default operating system to match your production OS
- Extend Vagrant features with plugins, including components you build yourself
Mitchell Hashimoto is a passionate engineer, professional speaker, and entrepreneur. Mitchell has been creating and contributing to open source software for almost a decade. He has spoken at dozens of conferences about his work, such as VelocityConf, OSCON, FOSDEM, and more. Mitchell is the founder of HashiCorp, a company whose goal is to make the best DevOps tools in the world, including Vagrant. Prior to HashiCorp, Mitchell spent five years as a web developer and another four as an operations engineer.
Chapter 1 An Introduction to Vagrant
Why Vagrant?
The Tao of Vagrant
Alternatives to Vagrant
Setting Up Vagrant
Using Vagrant Without VirtualBox
Help!
Chapter 2 Your First Vagrant Machine
Up and Running
The Vagrantfile
Boxes
Up
Working with the Vagrant Machine
What’s Next?
Chapter 3 Provisioning Your Vagrant VM
Why Automated Provisioning?
Supported Provisioners
Manually Setting Up Apache
Automated Provisioner Basics
Multiple Provisioners
"No Provision" Mode
In-Depth Provisioner Usage
What’s Next?
Chapter 4 Networking in Vagrant
Forwarded Ports
Host-Only Networking
Bridged Networking
Composing Networking Options
NAT Requirement As the First Network Interface
What’s Next?
Chapter 5 Modeling Multimachine Clusters
Running Multiple Virtual Machines
Controlling Multiple Machines
Communication Between Machines
Real Example: MySQL
What’s Next?
Chapter 6 Boxes
Why Boxes?
Box Format
Basic Box Management with Vagrant
Creating New Boxes from an Existing Environment
Creating New Boxes from Scratch
What’s Next?
Chapter 7 Extending Vagrant with Plug-Ins
Extensible Features
Managing Vagrant Plug-Ins
Plug-In Development Basics
A Basic Plug-In Development Environment
Developing a Custom Command
Adding New Configuration Options
Adding a Custom Provisioner
Modifying Existing Vagrant Behavior
Other Plug-In Components
Packaging the Plug-In
Appendix Vagrant Environmental Variables
VAGRANT_CWD
VAGRANT_HOME
VAGRANT_LOG
VAGRANT_NO_PLUGINS
VAGRANT_VAGRANTFILE
Appendix Vagrant Configuration Reference
Appendix Troubleshooting and Debugging
IRC
Mailing List/Google Group
Professional Support
Index
Erscheint lt. Verlag | 9.7.2013 |
---|---|
Zusatzinfo | black & white illustrations, figures |
Verlagsort | Sebastopol |
Sprache | englisch |
Maße | 178 x 233 mm |
Gewicht | 261 g |
Einbandart | kartoniert |
Themenwelt | Informatik ► Betriebssysteme / Server ► Virtualisierung |
Informatik ► Programmiersprachen / -werkzeuge ► Ruby | |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
ISBN-10 | 1-4493-3583-7 / 1449335837 |
ISBN-13 | 978-1-4493-3583-0 / 9781449335830 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich