Starting a Vagrant Box
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
Already have an account? Sign In »
2 hours 51 minutes
Hello. My name is Jasmine Jackson In our courses Intro to Vagrant. And in this video I will show you a demo on how to start our pre configured vagrant machine are in boo to trustee 64 machine. So let's begin.
So the learning objectives for this video are we will learn how to start our pre configured
Let's start with the demo, okay? And our previous lecture we added our pre configured machine using the command vagrant and it and in the name of the pre configured machine which was Mobutu trustee 64.
And as you can see, we received a massive stating that are vagrant. FAO has been placed in the directory
and we're now ready to vagrant up our first machine.
So now we're going to enter the command, vagrant
up and press enter to start our machine.
And now we're importing that machine and it's currently downloading were at 90 90%
we have the up to date version and are the name of our machine. Is vagrant default
followed by some numbers
and our machine is booting
and remember, the user name and password are both vagrants
and normally the first time you start a machine, this message of the insecure key detected would normally come up and vagrant will generate a new key
for your machine. So now we're booted and ready. So we're good.
So now if we go to our virtualization software in this case, I'm using virtual box because that's the only provider that the blue to trustee 64 machine will work. You will see that were in Our vagrant machine has a state of running,
which means it has started. So if we double click
and for the user name and password, if we answer vagrant,
you can see we are in our machine and the way we can see that is because on the command prompt it says vagrant at vagrant boom boom to trustee 64. And remember, our machine is the only go to trusty 64 machine
and we were able to log on with the user name and password of both
So let's recap
and our last lecture. As I said, we added our pre configure box using the vagrant and Nick Command. Remember, the vagrant innit command automatically creates the vagrant file, which is the most important file in vagrant as it specifies the configuration of your vagrant machine.
Next to start our machine, we answered the command favorite up
and we had to download our machine and then
get our name here as well as for the machine to boot. We had an insecure key. So vagrant generated a new key
and reconnected to the machine using our new key. And then we were up and ready. We were booted and ready.
Next we went to our virtual virtualization software, which in this case is virtual box. And we see that our vagrant machine is in a state of running, which means it is powered on.
We double clicked on our machine, which brought us to a long and prompt. And we entered the user name and password of vagrant for
both user name and password. And we were able to log on.
And we knew that we log on successfully because at the command prompt, we saw vagrant at vagrant in boot to Trustee 64. And remember, our pre configure machine is
trusty Mobutu trustee 64.
we were able to start our machine and log in successfully. Let's go back to the lecture. So in summary in this video we discussed how to start a vagrant machine.
And in our next lecture, we would discuss secure sockets and how to manually install software
in vagrant. So I can't wait to see you in that video. Have a good day. Bye.