Different Methods of Sharing a Vagrant
Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or
Already have an account? Sign In »

Video Transcription
00:00
Hello, My name is Jasmine Jackson and our courses intro to vagrant and in this lesson we will discuss favorite share. Let's get started
00:10
The learning objective for this video
00:13
is we will learn the definition of a great share and the different molds a vagrant share less begin So the definition of vagrant share
00:24
vagrants here
00:26
allows the user to share their vagrant environment to foster collaboration. The caveat with vagrant share is that it does not come with the vagrant system package
00:38
You would need to install vagrant share
00:41
independently and the command to do that is vagrant plug in install vagrant share
00:48
and then when you're ready to use vagrant share that you will use the command vagrant share
00:55
Also another caveat for vagrant share to work you need to install another piece of software
01:03
called Norc Norc creates a public you are l to share your vagrant machine
01:11
So without Norc you cannot use vagrant share that had that is a nup date with vagrant You need the Norc software along with the vagrant share plug in to actively use vagrant share
01:30
the different most of acreage share.
01:33
There are three primary modes and the good thing is you can combine modes so that's good. The first is http share and what that mold does is it creates a euro that you can give anyone and essentially this your l
01:51
well route directly into your vagrant machine.
01:55
The good thing about this mode is the recipient does not need vagrant to be installed to view your vagrant machine.
02:05
The second mode is
02:07
ssh share So secure socket share
02:10
and this allows S s h access to your vagrant machine and the command to do this is vagrant vagrant connect
02:21
They're stairs s S H
02:23
and this mode is useful for pair programming debugging etcetera. Finally, the last mode is general share and this allows anyone access to your vagrant machine by way of an exposed port.
02:42
And again, the command to use this
02:46
mode is vagrant connect on the remote computer
02:51
And again, this mode is useful for anyone wanting to remote into a vagrant machine as if they were using a computer on a local area network.
03:04
So again, we have three modes. The http share the secure socket share in the general share and the good thing about these molds is you could combine each of them you can do http share followed by a general share.
03:23
You could combine moulds, which is good.
03:27
So now
03:28
we have a quick quiz. True or false, a user can combine vagrant share modes. Is this true, or is this false?
03:38
I will give you a couple of seconds and then I will provide my answer. Let's start now.
03:44
And the answer is but Bob
03:47
True. I just mentioned this right before this question, but yes, ah user can combine the different most of vagrant share. So the answer is true.
04:00
So in summary in this video we discussed the definition of vagrant share and the different molds of vagrants share. So now end of lecture quiz. And the question is what are the different modes of sharing a vagrant machine? A http, sheer
04:17
be ssh Here, See
04:20
general share D h t t p in networks here or e a B and C
04:29
So
04:30
I will give you a couple of seconds and I will come back with my answer. Let's start now.
04:34
And the answer is but far
04:40
e
04:41
A B and C So the different most of vagrant share our http sheer where, uh public. Your l is created and you give that you Earl to the recipient. The good thing about this mode is that the recipient does not need
05:00
vagrant to be installed on their machine.
05:02
Then the second mode is ssh share or secure socket share. And this allows for the recipient to connect to your
05:15
vagrant machine. And this is good for pair of programming and debugging purposes. And then the final
05:24
mode is general share. And with this,
05:28
the recipient will connect to the vagrant machine as if they was connecting to a computer on a local area network or a land. So the answer is E A B and C. So this is our final lecture for the chorus and
05:45
we have two more demos. The first demo will show how to install Norc on our machine. And then the final demo was show how to use
05:58
http shares who create
06:00
public your l so we can share our favorite machine. So I hope you have enjoyed this course and I hope to see you in another class. Have a good day. Bye.
Up Next
Similar Content