1
00:00:03,300 --> 00:00:09,900
This video demonstrates the installation of virtual box and vagrant for people using Santo's or Red

2
00:00:09,900 --> 00:00:11,900
Hat systems.

3
00:00:11,950 --> 00:00:16,710
The first thing you want to do is make sure that your in the directory where you're going to download

4
00:00:16,710 --> 00:00:18,190
the installation files.

5
00:00:18,270 --> 00:00:21,000
For me that's in my downloads directory my home directory.

6
00:00:21,090 --> 00:00:27,420
And the easiest way I can get there is to use the cd command with a till the forward slash downloads

7
00:00:27,920 --> 00:00:34,260
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

8
00:00:34,260 --> 00:00:38,010
the exercise or project notes because they may change over time.

9
00:00:38,190 --> 00:00:45,870
So when they go here I want to download virtual box on the Sentosa rail system and then I'll just click

10
00:00:45,960 --> 00:00:49,260
this to download it and I want to save the file

11
00:00:52,720 --> 00:00:53,200
Kate.

12
00:00:53,230 --> 00:00:58,330
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

13
00:00:58,330 --> 00:01:02,570
their root privileges are required to install software.

14
00:01:02,590 --> 00:01:05,680
So I'm just going to switch to the root user with you.

15
00:01:05,780 --> 00:01:10,330
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

16
00:01:10,330 --> 00:01:11,530
into root's home directory.

17
00:01:11,530 --> 00:01:14,060
I want to stay in my user accounts home directory.

18
00:01:14,170 --> 00:01:22,600
So I'm just using SU providing the root password and now I'm going to type virtual box store run and

19
00:01:22,600 --> 00:01:28,000
this way no matter what version of virtual box you're doing if it uses this format this particular command

20
00:01:28,000 --> 00:01:32,470
will work of course you could just use tab completion or what have you type it all out.

21
00:01:32,470 --> 00:01:33,400
Either one is fine.

22
00:01:33,400 --> 00:01:37,750
So just run SH followed by the installation file for virtual box and hit enter

23
00:01:41,060 --> 00:01:44,870
kit reported that virtual box has been installed successfully.

24
00:01:44,950 --> 00:01:47,950
We can test this by running the virtual box command will do that here.

25
00:01:52,320 --> 00:01:55,600
And that started the Virtual Box manager so it looks like we're all good.

26
00:01:55,590 --> 00:02:00,330
I'll go ahead and close out of this and we'll continue on to the next step which is installing vagrant

27
00:02:00,840 --> 00:02:07,700
going to go back to the Web site and navigate to the vagrant directory we're using Santos.

28
00:02:07,860 --> 00:02:14,740
I'm going to download the file here to save it.

29
00:02:14,850 --> 00:02:22,560
Now return to the terminal and use young local install dash y to just say yes to all the questions we're

30
00:02:22,560 --> 00:02:26,210
going to get and then specify the name of the file.

31
00:02:29,580 --> 00:02:29,930
OK.

32
00:02:29,940 --> 00:02:34,640
We run the vagrant command we can confirm if it got installed successfully or not we'll run vagrant

33
00:02:37,470 --> 00:02:39,830
and we get output so it looks like we're good to go.

34
00:02:39,960 --> 00:02:43,650
I'm going to exit out of my root shell since I'm done with the installation.

35
00:02:43,860 --> 00:02:49,410
And now you are ready to continue with the rest of the course because you have vagrant and virtual box

36
00:02:49,410 --> 00:02:50,150
installed.
