Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Vagrant从入门到精通
Highest Rated
Rating: 4.7 out of 5(48 ratings)
253 students

Vagrant从入门到精通

使用Vagrant自动化您的Local开发测试环境
Created byPeng Xiao
Last updated 7/2023
Chinese (Simplified)
Chinese (Simplified) [Auto],

What you'll learn

  • 什么是Vagrant?
  • 使用创建VM(Virtual Machine)
  • Vagrant的网络设置
  • Vagrant Box的基本操作
  • Vagrant 插件Plugin

Course content

5 sections34 lectures4h 20m total length
  • Vagrant Introduction12:35
  • 视频播放器设置0:36
  • Vagrant installation5:09
  • Create your first Vagrant host with Hyper-V12:35
  • Create your first Vagrant host with VirtualBox2:38
  • 国内下载Vagrant Box慢怎么办?3:16
  • Vagrant的基本操作10:00
  • Vagrant ssh-config for VirtualBox1:09
  • 课外阅读:hyper-v和virtualbox到底谁的性能好?0:01

Requirements

  • 一台PC(windows or Mac)

Description

Vagrant是hashicorp这家公司的产品,这家公司主要做数据中心PAAS和虚拟化,其名下大名鼎鼎的产品有Consul、Vault、Nomad、Terraform。他们的产品都是基于Open Source的。

Vagrant 实际上一套虚拟机管理工具,基于 Ruby 开发,底层支持 VirtualBox、VMware 甚至 AWS、Docker 等作为虚拟化系统。我们可以通过 Vagrant 封装一个 Linux 的开发环境,分发给团队成员。成员可以在自己喜欢的桌面系统(Mac/Windows/Linux)上开发程序,代码却能统一在封装好的环境里运行,“代码在我机子上运行没有问题”这种说法将成为历史。

Vagrant 本身并没有能力创建虚拟机,它是调用一些虚拟化工具来创建,如 VirtualBox, VMWare。


本课程的主要内容:

  • Vagrant的介绍和安装

  • Vagrant的快速上手

  • Vagrant Box简介

  • 如何写Vagrantfile

  • Vagrant的网络

  • Vagrant的provisioning


课程以实际demo为主,通过实际操作来展示Vagrant的基本功能和使用。

Who this course is for:

  • Software Engineer软件开发工程师
  • DevOps Engineer工程师