This video demonstrates the installation of virtual box and vagrant for people using Santo's or Red
Hat systems.
The first thing you want to do is make sure that your in the directory where you're going to download
the installation files.
For me that's in my downloads directory my home directory.
And the easiest way I can get there is to use the cd command with a till the forward slash downloads
and then now what I'm going to do is go to the Web site here and be sure to use the links that are in
the exercise or project notes because they may change over time.
So when they go here I want to download virtual box on the Sentosa rail system and then I'll just click
this to download it and I want to save the file
Kate.
Now that my file is saved I'll go back to my terminal and if I perform and at last I can see that it's
their root privileges are required to install software.
So I'm just going to switch to the root user with you.
I'm not going to use a dash because I don't want Rood's entire environment and I don't want to be moved
into root's home directory.
I want to stay in my user accounts home directory.
So I'm just using SU providing the root password and now I'm going to type virtual box store run and
this way no matter what version of virtual box you're doing if it uses this format this particular command
will work of course you could just use tab completion or what have you type it all out.
Either one is fine.
So just run SH followed by the installation file for virtual box and hit enter
kit reported that virtual box has been installed successfully.
We can test this by running the virtual box command will do that here.
And that started the Virtual Box manager so it looks like we're all good.
I'll go ahead and close out of this and we'll continue on to the next step which is installing vagrant
going to go back to the Web site and navigate to the vagrant directory we're using Santos.
I'm going to download the file here to save it.
Now return to the terminal and use young local install dash y to just say yes to all the questions we're
going to get and then specify the name of the file.
OK.
We run the vagrant command we can confirm if it got installed successfully or not we'll run vagrant
and we get output so it looks like we're good to go.
I'm going to exit out of my root shell since I'm done with the installation.
And now you are ready to continue with the rest of the course because you have vagrant and virtual box
installed.