舉報(bào)

會員
Hands-On DevOps with Vagrant
Hands-OnDevOpswithVagrantteachesyouhowtouseVagrantasapowerfulDevOpstoolandgivesanoverviewofhowitfitsintotheDevOpslandscape.YouwilllearnhowtoinstallVirtualBoxandVagrantinWindows,macOS,andLinux.YouwillthenmoveontounderstandingVagrantcommands,discoveringitsboxesandVagrantCloud.Aftergettingtogripswiththebasics,thenextsetofchaptershelpsyoutounderstandhowtoconfigureVagrant,alongwithnetworking.Youwillexploremultimachine,followedbystudyinghowtocreatemultipleenvironmentsandthecommunicationbetweenthem.Inadditiontothis,youwillcoverconceptssuchasVagrantpluginsandfilesyncing.Thelastsetofchaptersprovidesinsightsintoprovisioningshellscripts,alsoguidingyouinhowtouseVagrantwithconfigurationmanagementtoolssuchasChef,Ansible,Docker,Puppet,andSalt.Bytheendofthisbook,youwillhavegraspedVagrant’sfeaturesandhowtousethemforyourbenefitwiththehelpoftipsandtricks.
最新章節(jié)
- Leave a review - let other readers know what you think
- Other Book You May Enjoy
- Summary
- General
- Multi-machine
- Code deployment
品牌:中圖公司
上架時間:2021-07-16 17:30:02
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Leave a review - let other readers know what you think 更新時間:2021-07-16 17:44:40
- Other Book You May Enjoy
- Summary
- General
- Multi-machine
- Code deployment
- Hardware specification
- Boxes
- Status
- Saving a snapshot
- Testing a Vagrantfile
- Vagrant cheat sheet
- Output control
- Execute runners
- Execute states
- Master options
- Minion options
- Install options
- Salt options available within Vagrant
- Provisioning Vagrant with Salt
- Syntax and example
- Salt states
- Runners
- Returners
- Renderer
- Grains
- State
- Execution
- Modules
- Salt Minion
- Salt Master
- Understanding Salt
- Salt - Using Salt to Provision a Vagrant Box
- Summary
- Provisioning with Puppet agent
- Provisioning with Puppet apply
- Provisioning with Puppet
- Syntax
- Puppet Manifest example and syntax
- Options
- Puppet agent
- Options
- Puppet apply
- Puppet apply and Puppet agent
- Desired state
- Apply
- Catalogs
- Compile
- Manifest
- Resources
- Understanding Puppet
- Puppet - Using Puppet to Provision a Vagrant Box
- Summary
- post_install_provisioner
- restart
- deamonize
- auto_assign_name
- args
- cmd
- image
- run
- pull_images
- args
- build_image
- Images
- Docker-specific configuration in Vagrant
- Using Docker to provision a Vagrant machine
- search
- start
- stop
- run
- pull
- Basic usage – running a container
- Using the Docker Hub to find Docker images
- Service
- Registry
- Images
- Containers
- Key components of Docker
- Understanding Docker
- Docker - Using Docker with Vagrant
- Summary
- Using Chef Client to provision a Vagrant machine
- Using Chef Solo to provision a Vagrant machine
- Installing Chef on macOS
- Provisioning Vagrant with Chef
- Search
- Chef Supermarket
- File distributors
- Extensions
- Attribute values
- Templates
- Recipes
- Chef Cookbook
- Understanding Chef
- Chef - Using Chef to Provision a Vagrant Box
- Summary
- Ansible Playbooks
- Provisioner – Ansible local
- Provisioner – Ansible
- Additional Ansible options
- Provisioning Vagrant using Ansible on the guest machine
- Provisioning Vagrant using Ansible on the host machine
- Provisioning Vagrant using Ansible
- Installing Ansible on macOS High Sierra (version 10.13)
- Installing Ansible
- Understanding Ansible
- Ansible - Using Ansible to Provision a Vagrant Box
- Summary
- Script argument – array
- Script argument – string
- Script arguments
- External scripts
- Inline Scripts
- Vagrant Shell provisioner
- Directory
- Single file
- Vagrant provisioning with a file
- Vagrant provisioning commands
- Basic usage of Vagrant provisioning
- Understanding configuration management
- Introduction to Vagrant provisioning
- Shell Scripts - Provisioning
- Summary
- Synced folders with NFS
- Synced folders with RSync
- Synced folders with basic usage
- Setting up synced folders
- Vagrant file-syncing
- Uninstalling a Vagrant plugin
- Installing a Vagrant plugin
- Finding installing and using a Vagrant plugin
- Vagrant plugin commands and subcommands
- Installing a Vagrant plugin from a known gem source
- Installing a Vagrant plugin from a local file
- Vagrant plugin installation methods
- Managing Vagrant plugins
- bundler
- Gem
- The anatomy of a Vagrant plugin
- Understanding Vagrant plugins
- Exploring Vagrant Plugins and Syncing Files
- Summary
- MySQL configuration
- Nginx and PHP configuration
- db.sh
- web.sh
- Web server and database setup with Vagrant multi-machine
- multi-machine SSH
- Vagrant multi-machine shell provisioning
- web.sh
- lb.sh
- Load balancing with Vagrant multi-machine
- An introduction to Vagrant multi-machine
- Multi-Machine
- Summary
- Network bridge
- Static IP
- DHCP
- Public networking
- IPv6
- Static IP
- DHCP
- Private networking
- Port-forwarding notes
- Port-forwarding
- Networking in Vagrant
- Summary
- Troubleshooting a Vagrantfile
- WinSSH settings (config.ssh and config.winssh)
- WinRM settings (config.winrm)
- Other Vagrantfile settings
- Vagrant settings (config.vagrant)
- Vagrant SSH configuration (config.ssh)
- Vagrant machine configuration (config.vm)
- Vagrantfile options
- Vagrantfile syntax
- Creating a Vagrantfile
- Understanding Vagrantfiles
- Configuring Vagrant Using a Vagrantfile
- Summary
- Enterprise solutions for Vagrant boxes
- Creating a Vagrant box
- Uploading a Vagrant box to the Vagrant cloud
- Installing a Vagrant box found on the Vagrant Cloud – Part 2 Install
- Installing a Vagrant box found on the Vagrant Cloud – Part 1 Search
- Vagrant Cloud website
- Understanding the Vagrant Cloud
- Vagrant Cloud
- Box versioning
- Deleting all versions of a box
- Deleting a specific version of a box
- How to delete a Vagrant box
- A file path or URL to a box in a specific catalog
- Shorthand/alias to box file
- Direct URL to box file
- How to install a Vagrant box
- Box information
- Box metadata
- Box file
- Vagrant box file anatomy
- Understanding Vagrant boxes
- Discovering Vagrant Boxes - Vagrant Cloud
- Summary
- Troubleshooting
- A typical Vagrant workflow using commands
- Options /flags
- The powershell command
- Options/flags
- The ssh-config command
- Options/flags
- The ssh command
- Options/flags
- The rsync-auto command
- Options/flags
- The rsync command
- Options/flags
- The rdp command
- Options/flags
- The docker-run command
- Options/flags
- The docker-logs command
- Options / flags
- The docker-exec command
- Application-specific Vagrant commands and sub-commands
- Options/flags
- The validate command
- Options/flags
- The up command
- Options/flags
- The suspend command
- Options/flags
- The status command
- Options/flags
- The resume command
- Options/flags
- The reload command
- Options/flags
- The push command
- Options/flags
- The provision command
- Options/flags
- The port command
- Options/flags
- The init command
- Options/flags
- The halt command
- Options/flags
- The destroy command
- sub-commands
- The box command
- Day-to-day Vagrant commands and sub-commands
- Options/flags
- The cap command
- sub-commands
- The plugin command
- Options/flags
- The provider command
- sub-commands
- The snapshot command
- Options/flags
- The package command
- Options/flags
- The login command
- Vagrant's configuration commands and sub-commands
- Options/flags
- The global-status command
- Options/flags
- The version command
- The help command
- Options/flags
- The list-commands command
- General Vagrant commands and sub-commands
- A brief note on formatting commands
- Vagrant commands in depth
- Vagrant command overview
- Command Line-Interface - Vagrant Commands
- Summary
- Installing Vagrant on macOS 10.13.3
- Installing VirtualBox on Mac OS 10.11.3
- CPU architecture
- System version
- Prerequisites
- Installing VirtualBox and Vagrant on macOS
- Installing Vagrant on Ubuntu 16.04
- Installing VirtualBox on Ubuntu 16.04
- CPU architecture
- System version
- Prerequisites
- Installing VirtualBox and Vagrant on Linux
- Installing Vagrant on Windows 10
- Installing VirtualBox on Windows 10
- CPU architecture
- System version
- Prerequisites
- Installing VirtualBox and Vagrant on Windows
- Installing VirtualBox and Vagrant
- Summary
- Using Vagrant as a day-to-day DevOps tool
- Vagrant and DevOps
- Current state of development within DevOps
- Vagrant for DevOps
- What is DevOps?
- What is VirtualBox?
- Design team
- Operations team
- Development team
- Advantages of Vagrant
- Plugins
- Provisioning
- Networking
- Boxes
- Vagrantfile
- Vagrant features
- Understanding Vagrant
- Getting started with Vagrant and DevOps
- Introduction
- Reviews
- Get in touch
- Conventions used
- Download the color images
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewer
- About the author
- Contributors
- Packt.com
- Why subscribe?
- Packt Upsell
- Dedication
- Hands-On DevOps with Vagrant
- Copyright and Credits
- Title Page
- 封面
- 封面
- Title Page
- Copyright and Credits
- Hands-On DevOps with Vagrant
- Dedication
- Packt Upsell
- Why subscribe?
- Packt.com
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Conventions used
- Get in touch
- Reviews
- Introduction
- Getting started with Vagrant and DevOps
- Understanding Vagrant
- Vagrant features
- Vagrantfile
- Boxes
- Networking
- Provisioning
- Plugins
- Advantages of Vagrant
- Development team
- Operations team
- Design team
- What is VirtualBox?
- What is DevOps?
- Vagrant for DevOps
- Current state of development within DevOps
- Vagrant and DevOps
- Using Vagrant as a day-to-day DevOps tool
- Summary
- Installing VirtualBox and Vagrant
- Installing VirtualBox and Vagrant on Windows
- Prerequisites
- System version
- CPU architecture
- Installing VirtualBox on Windows 10
- Installing Vagrant on Windows 10
- Installing VirtualBox and Vagrant on Linux
- Prerequisites
- System version
- CPU architecture
- Installing VirtualBox on Ubuntu 16.04
- Installing Vagrant on Ubuntu 16.04
- Installing VirtualBox and Vagrant on macOS
- Prerequisites
- System version
- CPU architecture
- Installing VirtualBox on Mac OS 10.11.3
- Installing Vagrant on macOS 10.13.3
- Summary
- Command Line-Interface - Vagrant Commands
- Vagrant command overview
- Vagrant commands in depth
- A brief note on formatting commands
- General Vagrant commands and sub-commands
- The list-commands command
- Options/flags
- The help command
- The version command
- Options/flags
- The global-status command
- Options/flags
- Vagrant's configuration commands and sub-commands
- The login command
- Options/flags
- The package command
- Options/flags
- The snapshot command
- sub-commands
- The provider command
- Options/flags
- The plugin command
- sub-commands
- The cap command
- Options/flags
- Day-to-day Vagrant commands and sub-commands
- The box command
- sub-commands
- The destroy command
- Options/flags
- The halt command
- Options/flags
- The init command
- Options/flags
- The port command
- Options/flags
- The provision command
- Options/flags
- The push command
- Options/flags
- The reload command
- Options/flags
- The resume command
- Options/flags
- The status command
- Options/flags
- The suspend command
- Options/flags
- The up command
- Options/flags
- The validate command
- Options/flags
- Application-specific Vagrant commands and sub-commands
- The docker-exec command
- Options / flags
- The docker-logs command
- Options/flags
- The docker-run command
- Options/flags
- The rdp command
- Options/flags
- The rsync command
- Options/flags
- The rsync-auto command
- Options/flags
- The ssh command
- Options/flags
- The ssh-config command
- Options/flags
- The powershell command
- Options /flags
- A typical Vagrant workflow using commands
- Troubleshooting
- Summary
- Discovering Vagrant Boxes - Vagrant Cloud
- Understanding Vagrant boxes
- Vagrant box file anatomy
- Box file
- Box metadata
- Box information
- How to install a Vagrant box
- Direct URL to box file
- Shorthand/alias to box file
- A file path or URL to a box in a specific catalog
- How to delete a Vagrant box
- Deleting a specific version of a box
- Deleting all versions of a box
- Box versioning
- Vagrant Cloud
- Understanding the Vagrant Cloud
- Vagrant Cloud website
- Installing a Vagrant box found on the Vagrant Cloud – Part 1 Search
- Installing a Vagrant box found on the Vagrant Cloud – Part 2 Install
- Uploading a Vagrant box to the Vagrant cloud
- Creating a Vagrant box
- Enterprise solutions for Vagrant boxes
- Summary
- Configuring Vagrant Using a Vagrantfile
- Understanding Vagrantfiles
- Creating a Vagrantfile
- Vagrantfile syntax
- Vagrantfile options
- Vagrant machine configuration (config.vm)
- Vagrant SSH configuration (config.ssh)
- Vagrant settings (config.vagrant)
- Other Vagrantfile settings
- WinRM settings (config.winrm)
- WinSSH settings (config.ssh and config.winssh)
- Troubleshooting a Vagrantfile
- Summary
- Networking in Vagrant
- Port-forwarding
- Port-forwarding notes
- Private networking
- DHCP
- Static IP
- IPv6
- Public networking
- DHCP
- Static IP
- Network bridge
- Summary
- Multi-Machine
- An introduction to Vagrant multi-machine
- Load balancing with Vagrant multi-machine
- lb.sh
- web.sh
- Vagrant multi-machine shell provisioning
- multi-machine SSH
- Web server and database setup with Vagrant multi-machine
- web.sh
- db.sh
- Nginx and PHP configuration
- MySQL configuration
- Summary
- Exploring Vagrant Plugins and Syncing Files
- Understanding Vagrant plugins
- The anatomy of a Vagrant plugin
- Gem
- bundler
- Managing Vagrant plugins
- Vagrant plugin installation methods
- Installing a Vagrant plugin from a local file
- Installing a Vagrant plugin from a known gem source
- Vagrant plugin commands and subcommands
- Finding installing and using a Vagrant plugin
- Installing a Vagrant plugin
- Uninstalling a Vagrant plugin
- Vagrant file-syncing
- Setting up synced folders
- Synced folders with basic usage
- Synced folders with RSync
- Synced folders with NFS
- Summary
- Shell Scripts - Provisioning
- Introduction to Vagrant provisioning
- Understanding configuration management
- Basic usage of Vagrant provisioning
- Vagrant provisioning commands
- Vagrant provisioning with a file
- Single file
- Directory
- Vagrant Shell provisioner
- Inline Scripts
- External scripts
- Script arguments
- Script argument – string
- Script argument – array
- Summary
- Ansible - Using Ansible to Provision a Vagrant Box
- Understanding Ansible
- Installing Ansible
- Installing Ansible on macOS High Sierra (version 10.13)
- Provisioning Vagrant using Ansible
- Provisioning Vagrant using Ansible on the host machine
- Provisioning Vagrant using Ansible on the guest machine
- Additional Ansible options
- Provisioner – Ansible
- Provisioner – Ansible local
- Ansible Playbooks
- Summary
- Chef - Using Chef to Provision a Vagrant Box
- Understanding Chef
- Chef Cookbook
- Recipes
- Templates
- Attribute values
- Extensions
- File distributors
- Chef Supermarket
- Search
- Provisioning Vagrant with Chef
- Installing Chef on macOS
- Using Chef Solo to provision a Vagrant machine
- Using Chef Client to provision a Vagrant machine
- Summary
- Docker - Using Docker with Vagrant
- Understanding Docker
- Key components of Docker
- Containers
- Images
- Registry
- Service
- Using the Docker Hub to find Docker images
- Basic usage – running a container
- pull
- run
- stop
- start
- search
- Using Docker to provision a Vagrant machine
- Docker-specific configuration in Vagrant
- Images
- build_image
- args
- pull_images
- run
- image
- cmd
- args
- auto_assign_name
- deamonize
- restart
- post_install_provisioner
- Summary
- Puppet - Using Puppet to Provision a Vagrant Box
- Understanding Puppet
- Resources
- Manifest
- Compile
- Catalogs
- Apply
- Desired state
- Puppet apply and Puppet agent
- Puppet apply
- Options
- Puppet agent
- Options
- Puppet Manifest example and syntax
- Syntax
- Provisioning with Puppet
- Provisioning with Puppet apply
- Provisioning with Puppet agent
- Summary
- Salt - Using Salt to Provision a Vagrant Box
- Understanding Salt
- Salt Master
- Salt Minion
- Modules
- Execution
- State
- Grains
- Renderer
- Returners
- Runners
- Salt states
- Syntax and example
- Provisioning Vagrant with Salt
- Salt options available within Vagrant
- Install options
- Minion options
- Master options
- Execute states
- Execute runners
- Output control
- Vagrant cheat sheet
- Testing a Vagrantfile
- Saving a snapshot
- Status
- Boxes
- Hardware specification
- Code deployment
- Multi-machine
- General
- Summary
- Other Book You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-07-16 17:44:40