Vagrant Quick Start: Virtualized Development Environments
4.4 (296 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
29,289 students enrolled

Vagrant Quick Start: Virtualized Development Environments

An introduction to setting up and managing development server virtual machines using Vagrant, Virtual Box, and Linux
Bestseller
4.4 (296 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
29,289 students enrolled
Created by Jason Taylor
Last updated 8/2017
English
English
Current price: $11.99 Original price: $19.99 Discount: 40% off
2 days left at this price!
30-Day Money-Back Guarantee
This course includes
  • 2 hours on-demand video
  • 1 article
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to Udemy's top 3,000+ courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Create automatic, reliable, repeatable, easy to use, and versioned development environments
  • Write provisioning scripts to automatically setup Vagrant managed environments

  • Solve the development box setup problem

Course content
Expand all 52 lectures 02:03:57
+ Introduction
3 lectures 05:27

An introduction to the basics of this course, including the target audience, understanding Vagrant, learning core concepts, installing software, and the main quick start portion.

Preview 01:23

A quick overview of the approach taken in this course, where most videos are step-by-step examples supplemented by slides and illustrations for theory. The command line will also be a focus, and students should have a basic understanding of how a terminal works before starting this course.

Preview 02:03

A quick explanation of what Vagrant is, which is an automation tool that helps keep virtual machines organized, sets up networking between the host and virtual computer, and a variety of other tasks done by Vagrant scripts.

Preview 02:01
+ Quick Installation
3 lectures 15:29

A guide to what the streamlined approach of the next two platform specific installation lectures will cover and how.

Preview 01:08

A quick guide to the tools we need to install on Windows for this course, including Git for Windows, Notepad++, VirtualBox, and Vagrant.

Preview 07:41

A quick guide to the tools we need to install on Mac for this course, including Git from Apple, TextMate 2, VirtualBox, and Vagrant.

Quick Install Process for Mac OS X
06:40
+ Vagrant Quick Start By Example
9 lectures 17:27

An overview of the topics we will cover in this section, including working with Vagrant, starting and stopping Vagrant, and using Git with Vagrant.

Preview 00:19

Reading information from the Vagrant website in order to get a better sense of what types of things we will do in this course.

Preview 01:09

Initializing our Git repository on our local system that we will use with Vagrant for the rest of this course.

Vagrant Website and Documentation
02:10

Initializing our Vagrant project with Ubuntu using Precise 64 from Hashicorp.

Vagrant Project Initialization with Ubuntu 12 (Precise)
02:51

Running our basic Vagrant configuration in order to set up our initial virtual machine and reviewing the contents of the output command to see what Vagrant is actually doing when we use it to set this up.

Running the Vagrant Project
03:07

Accessing our newly created Ubuntu virtual machine through SSH on the command line.

Accessing the Vagrant Virtual Machine
02:20

Stopping, halting, and starting our Vagrant machine with the respective vagrant commands. Halting will pause the setup, stopping will fully free up resources, and starting will boot the machine back up the way we had it.

Suspending, Stopping and Removing Vagrant Virtual Machines
02:19

Using the "vagrant up" command to Relaunch our virtual machine, then the "vagrant reload" command to show what to do if you need to restart your vagrant based virtual machine.

Reloading Vagrant Virtual Machines
01:30

Cleaning up by adding changes to our Git repository and ignoring files we don't wish to version with our ".gitignore".

Vagrant Project Cleanup
01:42
+ Vagrant Boxes
8 lectures 17:37

An overview of the topics covered in this section, including other Vagrant boxes, setting up and customizing Vagrant Boxes, and saving and copying Vagrant boxes.

Preview 00:27

Using the website "vagrantbox.es" to find some vagrant boxes that have been pre-screened to be useful, then adding one based on CentOS 7.

Finding Boxes on Vagrantbox.es
02:08

Initializing out CentOS  7 Vagrant Box, showing it off, and then destroying it to clean up what we don't need.

Vagrantbox.es Example with CentOS 7
03:32

Creating a new Vagrant Box based on Ubuntu Trusty64 from the Hashicorp website.

Hashicorp Atlas and Example with Ubuntu 14.04 LTS
03:45

Returning to our quick start project to update the Vagrant Box loaded to be the Ubuntu one that we just located on Hashicorp.

Updating Quick Start Project with Ubuntu 14.04 LTS
01:33

Updating programs within our Vagrant Box, as well as installing new programs from the Ubuntu apt-get service.

Updating a Vagrant Virtual Machine
01:50

Saving the changes we made updating the operating system to a new custom vagrant box using the package command.

Saving Box Changes with Package
02:12

Updating the quick start project to use the Package we just created instead of starting from scratch every time we restart Vagrant.

Updating the Quick Start Project with a Custom Box
02:10
+ Vagrant Provisioning
5 lectures 12:36

An overview of what we will cover in this section, including provisioning a Tomcat 8 server using Bash shell scripting.

Provisioning Overview
00:41

Reverting our project back to the base Trusty64 package and reloading it, as well as updating our .gitignore.

Setup Provisioning
02:04

Updating our base Trusty64 Vagrant Box on our local system to the most up to date version.

Updating a Vagrant Box
01:16

Using a bash shell script to create a provisioning script to update programs on our Vagrant Box and install several programs, and linking that provisioning script to run when we start up our Vagrant Box. As well, we can run the provisioning script on an active system.

Bash Shell Provisioning Start
03:56

Updating our provisioning script to install and properly configure Tomcat with the defaults onto our local install of the Ubuntu server.

Updating Bash Shell Provisioning for Tomcat 8
04:39
+ Conclusion
2 lectures 04:20

Saving all of our changes within Git and then publishing them onto GitHub.

Update GitHub with Project Changes
03:58

A review of what has been covered within this course, including what Vagrant is good for, the development systems it can be used for, and a reassessment that this is a beginner course that can be followed up with more complex courses.

Review and Final Words
00:22
+ Bonus: Windows Full Install
8 lectures 24:42

A guide to the programs that will be installed in this section, including Git for windows, Notepad++, VirtualBox, and Vagrant.

Windows Full Install Overview
01:11

Installing the versioning software Git for Windows onto our local Windows System.

Git for Windows Install
04:57

Getting help on commands we are going to be using in this course by using the "git help" command to detail how to use things.

Git for Windows Help
01:15

Setting up the minimal configuration needed by Git to get our Git for Windows setup working.

Git for Windows Configuration
03:22

Installing the text editor Notepad++ onto our local Windows system.

Notepad++ Install
05:23

Integrating our text editor Notepad++ with our install of Git for Windows.

Notepad++ Git Integration
04:45

Installing the virtual machine software VirtualBox from Oracle onto our local Windows system.

VirtualBox Installation
02:20

Installing the portable virtual box imaging system Vagrant onto our local Windows system.

Vagrant Installation
01:29
+ Bonus: Mac OS X Full Installation
13 lectures 21:30

A guide to the programs that will be installed in this section, including Git from Apple, TextMate 2, Git Prompt, VirtualBox, and Vagrant.

Mac OS X Full Installation Overview
01:10

Updating the security within our Mac system in order to allow installing software not from the Apple App store.

Mac OS X Security Update
01:22

Setting up our Mac OS X terminal to work best for this course.

Mac OS X Terminal
01:04

Installing the versioning software, Git, on our local system using the command line utility provided by Apple.

Apple Git
01:11

Getting help on commands we are going to be using in this course by using the "git help" command to detail how to use things.

Git Help
01:07

Setting up the minimal configuration needed by Git to get our Git setup working.

Git Configuration
02:27

Installing the text editor TextMate 2 on our local Mac OS system.

TextMate 2 Installation
02:02

Configuring TextMate 2 to be more usable throughout the rest of this course.

TextMate 2 Configuration
01:17

Configuring TextMate 2 to integrate closely with our installation of Git.

TextMate 2 Git Integration
01:26

Updating our terminal prompt to be more usable throughout this section by using a script.

Git Prompt on Mac OS X
03:39

Installing the virtual machine software VirtualBox from Oracle onto our local Mac OS system.

VirtualBox Install
02:02

Installing the extension pack in order to give us more functionality within our Virtual Boxes.

VirtualBox Extention Pack
01:06

Installing the portable virtual box imaging system Vagrant onto our local Mac OS system.

Vagrant Installation
01:37
+ Bonus: Special Offers
1 lecture 06:24
Bonus: Exclusive Student Discounts
06:24
Requirements
  • An interest in learning about virtualizing development systems
  • Basic computer skills, intermediate experience recommended
  • Ability to install software (admin rights)
  • Modern Mac / Windows computer (within last 5 years), 64-bit operating system recommended
  • Recommended: Virtualization chipset support (VT-x, etc)
  • Recommended: Experience using the command line or shell terminal
  • Recommended: Exposure to desktop virtualization (VirtualBox, VMWare Player/Workstation, Parallels, etc)
Description

This is an introductory course on Vagrant designed to show how to setup local development environments using Vagrant and related tools.

Course Outline

Introduction provides an overview for the course, cover the core concepts for Vagrant, how to get the course materials.

Quick Installation provides streamlined, fast instructions on how to setup Vagrant, VirtualBox, and other tools needed for the rest of the course on both Windows and Mac platforms. See the Bonus section for full installation processes.

Quick Start walks through the basics of using Vagrant and how to version control (using Git) a project using Vagrant.

Boxes covers how to find, manage and use Vagrant boxes.

Provisioning covers how to write shell provisioners to automatically install software when Vagrant first runs or on demand. Students write a real shell script to provision Tomcat in their Vagrant managed virtual machines.

Conclusion has some final thoughts on Vagrant.

Bonus! sections provide comprehensive, step-by-step installation processes for both Windows and Mac OS X.

Course Features

Presentations provide audio/video training of conceptual ideas in each major area or introduction of new concepts.

Screencasts provide a video of the instructor's computer system with any actions, commands, or screens displayed and narrated. There are several hours of screencat video content -- it makes up the vast majority of the course.

Several attachments throughout the course provide supplemental information, illustrations, or other reference material.

Who this course is for:
  • Software Engineers, developers, and programmers
  • DevOps, IT Operations, Development Support
  • Freelancers
  • IT Managers
  • Anyone who hates "It works on my machine!"