Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Vagrant Tutorial: Basic Workflow

Step 1- Download and Install VirtualBox

https://www.virtualbox.org/wiki/Downloads

Step 2- Download and Install Vagrant

https://www.vagrantup.com/downloads

Step 3 – Add a Box uRL to Vagrant


- Box == os image
- https://www.vagrantbox.es/
- https://app.vagrantup.com/

$ mkdir centos7
$ cd centos7
$ vagrant box add centos7 https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box
$ vagrant box list 

Step 4 – Creating a VM


$ vagrant init centos7

Step 5 – Starting a VM & Access


$ vagrant up
$ vagrant ssh
Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x