Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Tutorial

Intro

Vagrant is a tool that easily set up an environment that looks similar to the actual working environment.


Use

To use vagrant, you should first find your desired virtual environment from here.

To start your environment, you should use the following command.

vagrant init ubuntu/trusty64

It may take several minutes if the enviroment is first used.


Vagrant Config Instructions

  • config.vm.box - Operating System

  • config.vm.provider - Virtual Box

  • config.vm.network - How you host sees your box

  • config.vm.synced_folder - How you access files in your computer

  • config.vm.provision - what we want setup


Basic Commands

If Vagrantfile is not present, you have to init vagrant by:

vagrant init `ubuntu/trusty64`

If Vagrantfile is present, just run:

vagrant up
vagrant resume
vagrant suspend
vagrant destroy
vagrant ssh

TODO:

Can use it to test ansible-playbook

About

Vagrant demo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages