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
The learning objective for this video
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
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
You would need to install vagrant share
independently and the command to do that is vagrant plug in install vagrant share
and then when you're ready to use vagrant share that you will use the command vagrant share
Also another caveat for vagrant share to work you need to install another piece of software
called Norc Norc creates a public you are l to share your vagrant machine
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
the different most of acreage share.
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
well route directly into your vagrant machine.
The good thing about this mode is the recipient does not need vagrant to be installed to view your vagrant machine.
ssh share So secure socket share
and this allows S s h access to your vagrant machine and the command to do this is vagrant vagrant connect
They're stairs s S H
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.
And again, the command to use this
mode is vagrant connect on the remote computer
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.
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.
You could combine moulds, which is good.
we have a quick quiz. True or false, a user can combine vagrant share modes. Is this true, or is this false?
I will give you a couple of seconds and then I will provide my answer. Let's start now.
And the answer is but Bob
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.
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
general share D h t t p in networks here or e a B and C
I will give you a couple of seconds and I will come back with my answer. Let's start now.
And the answer is but far
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
vagrant to be installed on their machine.
Then the second mode is ssh share or secure socket share. And this allows for the recipient to connect to your
vagrant machine. And this is good for pair of programming and debugging purposes. And then the final
mode is general share. And with this,
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
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
http shares who create
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.