Mitchell Hashimoto - Vagrant: Up and Running [2013, PDF, ENG]

Ответить на тему
Статистика раздачи
Размер:  7 MB   |    Зарегистрирован:  8 лет 8 месяцев   |    Скачан:  2 раза
Сидов:  463  [  0 KB/s  ]   Личеров:  23  [  0 KB/s  ]   Подробная статистика пиров
 
   
 
 
Автор Сообщение

Скачать Office ®

Пол:

Стаж: 9 лет

Сообщений: 2154

Создавать темы 11-Июл-2015 21:21

[Цитировать]

Vagrant: Up and Running
Год: 2013
Автор: Mitchell Hashimoto
Жанр: Учебное пособие
Издательство: O'Reilly
ISBN: 978-1-449-33583-0
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 155
Описание: 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 the founder of HashiCorp, a company that produces clevops tools, including Vagrant. An experienced web developer, operations engineer, and entrepreneur, Mitchell has been creating and contributing to open source software for almost a decade.

Примеры страниц

Оглавление

Foreword ............................................ viiPreface .............................................. ix1. An Introduction to Vagrant ......................... 1 Why Vagrant? ....................................... 2 The Tao of Vagrant ................................. 4 Alternatives to Vagrant ............................ 5 Plain Desktop Virtualization .................... 5 Containers ...................................... 5 Cloud ........................................... 6 Setting Up Vagrant ................................. 6 Installing VirtualBox ........................... 7 Installing Vagrant .............................. 7 Common Mistakes ................................ 13 Using Vagrant Without VirtualBox .................. 13 Help! ............................................. 142. Your First Vagrant Machine ........................ 15 Up and Running .................................... 15 The Vagrantfile ................................... 17 V1 versus V2 Configuration ..................... 19 Boxes ............................................. 20 Up ................................................ 21 Working with the Vagrant Machine .................. 23 State of the Vagrant Machine ................... 24 SSH ............................................ 24 Shared Filesystem .............................. 25 Basic Networking ............................... 26 Teardown ....................................... 28 What’s Next? ...................................... 323. Provisioning Your Vagrant VM ...................... 35 Why Automated Provisioning? ....................... 36 Supported Provisioners ............................ 37 Manually Setting Up Apache ........................ 38 Automated Provisioner Basics ...................... 41 Shell Scripts .................................. 42 Chef ........................................... 43 Puppet ......................................... 45 Multiple Provisioners ............................. 47 “No Provision” Mode ............................... 48 In-Depth Provisioner Usage ........................ 48 Shell Scripts .................................. 48 Chef Server .................................... 49 Puppet ......................................... 50 What’s Next? ...................................... 534. Networking in Vagrant ............................. 55 Forwarded Ports ................................... 55 Pros and Cons .................................. 56 Basic Usage .................................... 56 Collision Detection and Correction ............. 57 TCP versus UDP ................................. 57 Host-Only Networking .............................. 57 Pros and Cons .................................. 58 Basic Usage .................................... 58 Guest Operating System Dependency .............. 59 Bridged Networking ................................ 59 Pros and Cons .................................. 60 Basic Usage .................................... 60 Composing Networking Options ...................... 62 NAT Requirement As the First Network Interface .... 63 What’s Next? ...................................... 635. Modeling Multimachine Clusters .................... 65 Running Multiple Virtual Machines ................. 66 Controlling Multiple Machines ..................... 68 Communication Between Machines .................... 69 Host-Only Networks ............................. 69 Bridged Networks ............................... 70 Real Example: MySQL ............................... 70 What’s Next? ...................................... 726. Boxes ............................................. 73 Why Boxes? ........................................ 73 Box Format ........................................ 74 Basic Box Management with Vagrant ................. 75 Creating New Boxes from an Existing Environment ... 76 Creating New Boxes from Scratch ................... 78 Creating the VirtualBox Machine ................ 78 Configuring the Operating System ............... 79 Installing VirtualBox Guest Additions .......... 80 Additional Software ............................ 80 Minimizing the Final Box Size .................. 81 Packaging It Up ................................ 81 Setting Vagrantfile Defaults ................... 82 What’s Next? ...................................... 837. Extending Vagrant with Plug-Ins ................... 85 Extensible Features ............................... 85 Managing Vagrant Plug-Ins ......................... 86 Plug-In Development Basics ........................ 87 Plug-In Definition ............................. 87 Plug-In Components ............................. 89 Error Handling ................................. 90 Vagrant Internals .............................. 91 A Basic Plug-In Development Environment ........... 91 Developing a Custom Command ....................... 94 Component ...................................... 94 Implementation ................................. 95 Working with the Virtual Machine ............... 96 Working with Multimachine Environments ......... 99 Parsing Command-Line Options .................. 100 Adding New Configuration Options ................. 101 Component ..................................... 101 Implementation ................................ 102 Accessing the Configuration ................... 103 Configuration Merging ......................... 104 Validation .................................... 107 Adding a Custom Provisioner ...................... 107 Component ..................................... 108 Implementation ................................ 108 Provisioner Configuration ..................... 110 Configuring the Machine ....................... 112 Modifying Existing Vagrant Behavior .............. 113 Component ..................................... 113 Implementation ................................ 114 Useful Keys in the Action Environment ......... 116 Learning More ................................. 117 Other Plug-In Components ......................... 118 Packaging the Plug-In ............................ 118A. Vagrant Environmental Variables .................. 121B. Vagrant Configuration Reference .................. 125C. Troubleshooting and Debugging .................... 133Index ............................................... 135

Список книг

Mitchell Hashimoto - Vagrant: Up and Running - 2013 (155, ISBN 978-1-449-33583-0), PDF (eBook)
[only-soft.org].t29299.torrent
Торрент: Зарегистрирован   [ 2015-07-11 21:20 ]

3 KB

Статус: проверено
Скачан: 2 раз
Размер: 7 MB
Оценка: 
(Голосов: 0)
Поблагодарили: 0  Спасибо
Mitchell Hashimoto - Vagrant: Up and Running [2013, PDF, ENG] скачать торрент бесплатно и без регистрации
[Профиль] [ЛС]
Показать сообщения:    
Ответить на тему

Текущее время: Сегодня, в 12:30

Часовой пояс: GMT + 4



Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете голосовать в опросах
Вы не можете прикреплять файлы к сообщениям
Вы можете скачивать файлы