1
00:00:00,090 --> 00:00:02,670
All right, time to get into the fun part.

2
00:00:02,670 --> 00:00:06,240
To go over how to configure virtualization.

3
00:00:06,240 --> 00:00:08,039
Now what's so ironic is that,

4
00:00:08,039 --> 00:00:09,570
we're using a virtual machine

5
00:00:09,570 --> 00:00:11,820
to create another virtual machine.

6
00:00:11,820 --> 00:00:13,380
So we're going to walk through really quick

7
00:00:13,380 --> 00:00:14,213
and just go through

8
00:00:14,213 --> 00:00:15,630
how to install a virtual machine,

9
00:00:15,630 --> 00:00:20,630
and use the CentOS 7 version of VM manager.

10
00:00:21,120 --> 00:00:21,953
And we're just going to go through

11
00:00:21,953 --> 00:00:23,730
some configurations for this.

12
00:00:23,730 --> 00:00:26,160
Now this is going to be very lengthy here.

13
00:00:26,160 --> 00:00:28,020
And I have mine installed already.

14
00:00:28,020 --> 00:00:31,020
So just make sure you type everything in correctly.

15
00:00:31,020 --> 00:00:32,009
And also remember,

16
00:00:32,009 --> 00:00:33,930
if you're following before,

17
00:00:33,930 --> 00:00:36,420
make sure you disable your internal repo,

18
00:00:36,420 --> 00:00:37,860
or a local repo.

19
00:00:37,860 --> 00:00:40,290
So it won't look for that in the default.

20
00:00:40,290 --> 00:00:43,470
You can find all these repositories that are remote.

21
00:00:43,470 --> 00:00:45,070
Okay? So we'll get started here.

22
00:01:06,270 --> 00:01:07,470
All right, it's pretty lengthy.

23
00:01:07,470 --> 00:01:08,520
Let's give this a go.

24
00:01:16,860 --> 00:01:17,693
Okay.

25
00:01:19,770 --> 00:01:21,120
Again, as I said earlier,

26
00:01:21,120 --> 00:01:23,100
I have all these packages installed.

27
00:01:23,100 --> 00:01:23,933
But for you, it's going to go

28
00:01:23,933 --> 00:01:25,770
to download everything.

29
00:01:25,770 --> 00:01:27,780
But just make sure you copy everything correctly

30
00:01:27,780 --> 00:01:29,640
that I typed in earlier.

31
00:01:29,640 --> 00:01:32,040
So we wanted to go and start the KVM service.

32
00:01:32,040 --> 00:01:32,873
Okay.

33
00:01:33,720 --> 00:01:35,193
System control.

34
00:01:43,590 --> 00:01:45,990
All right. Then we'll enable this as well,

35
00:01:45,990 --> 00:01:49,323
to make it persist through reboots.

36
00:01:58,920 --> 00:02:00,300
I did the last command just to see

37
00:02:00,300 --> 00:02:03,270
if the KVM is running in the Linux kernel module.

38
00:02:03,270 --> 00:02:04,590
Sometimes you'll get that information.

39
00:02:04,590 --> 00:02:06,030
Sometimes you won't,

40
00:02:06,030 --> 00:02:08,250
on depending on the virtual machine

41
00:02:08,250 --> 00:02:10,289
or processor you're using.

42
00:02:10,289 --> 00:02:12,060
But we're going to continue.

43
00:02:12,060 --> 00:02:13,050
All right, next we're going to go ahead

44
00:02:13,050 --> 00:02:15,450
and create the virtual machine.

45
00:02:15,450 --> 00:02:17,730
Okay. Make sure you have a ISO

46
00:02:17,730 --> 00:02:21,510
of the CentOS 7 in a root folder.

47
00:02:21,510 --> 00:02:22,950
So don't put it in your home directory,

48
00:02:22,950 --> 00:02:24,840
'cause you incur some errors.

49
00:02:24,840 --> 00:02:26,670
So make sure you have it in,

50
00:02:26,670 --> 00:02:28,080
something in the route directory.

51
00:02:28,080 --> 00:02:29,580
So the system can access it.

52
00:02:29,580 --> 00:02:31,200
'Cause it doesn't matter if you change your permissions,

53
00:02:31,200 --> 00:02:33,690
it still will not allow you to install

54
00:02:33,690 --> 00:02:36,243
if it's under your home directory.

55
00:02:44,670 --> 00:02:45,903
So many processes.

56
00:02:48,630 --> 00:02:52,353
Memory's going to be 248 megabytes.

57
00:02:53,790 --> 00:02:56,670
This is the location in the drive

58
00:02:56,670 --> 00:02:57,820
where your ISO file is.

59
00:03:10,985 --> 00:03:14,818
It's going to give this a 12 gigabyte hard drive.

60
00:03:17,490 --> 00:03:19,203
Variant's on the rhel7,

61
00:03:21,833 --> 00:03:25,510
'cause CentOS is a rhel7 product.

62
00:03:27,510 --> 00:03:28,343
Okay.

63
00:03:32,250 --> 00:03:35,520
All right, we're going to save this install.

64
00:03:35,520 --> 00:03:36,920
We'll come back to it later.

65
00:03:44,250 --> 00:03:45,083
Okay.

66
00:03:46,230 --> 00:03:48,600
Now, next we're going to import a VM

67
00:03:48,600 --> 00:03:51,570
by using the Gooey virtual machine manager.

68
00:03:51,570 --> 00:03:56,190
Okay? So we're going to go here, system tools.

69
00:03:56,190 --> 00:03:57,630
And it'll be towards the bottom here.

70
00:03:57,630 --> 00:03:59,580
Virtual machine manager.

71
00:03:59,580 --> 00:04:01,130
All right, enter your password.

72
00:04:02,490 --> 00:04:04,190
Okay, so we have our test VM here.

73
00:04:06,675 --> 00:04:07,508
We're just going to go ahead

74
00:04:07,508 --> 00:04:10,083
and create a new virtual machine.

75
00:04:10,950 --> 00:04:14,223
Okay? We're going to import existing disk image.

76
00:04:16,140 --> 00:04:16,973
Browse.

77
00:04:18,540 --> 00:04:20,640
Okay, now we're going to do local.

78
00:04:20,640 --> 00:04:25,640
And now I'm using the Ubuntu latest version ISO image.

79
00:04:26,640 --> 00:04:29,010
All right, and I have that under my images folder.

80
00:04:29,010 --> 00:04:31,500
Remember that's under the root.

81
00:04:31,500 --> 00:04:34,713
So root, images, ubuntu iso.

82
00:04:36,090 --> 00:04:37,863
All right, go forward here.

83
00:04:40,890 --> 00:04:41,723
Yes.

84
00:04:43,470 --> 00:04:45,873
I said this to at least 2048.

85
00:04:47,010 --> 00:04:47,843
Okay.

86
00:04:49,470 --> 00:04:53,820
Ubuntu-vm2.

87
00:04:53,820 --> 00:04:54,920
So I have one already.

88
00:04:56,340 --> 00:04:57,960
All right.

89
00:04:57,960 --> 00:04:58,910
All right, restart.

90
00:05:07,800 --> 00:05:10,200
Okay, we're just going to try out Ubuntu.

91
00:05:10,200 --> 00:05:11,350
Install it all the way.

92
00:05:19,920 --> 00:05:21,270
Okay.

93
00:05:21,270 --> 00:05:22,950
Now this looks a little bit more colorful

94
00:05:22,950 --> 00:05:26,010
than the CentOS 7 that we're used to.

95
00:05:26,010 --> 00:05:27,630
Again, things are very similar.

96
00:05:27,630 --> 00:05:31,083
Check out the settings and network settings.

97
00:05:32,280 --> 00:05:33,423
Again, very similar.

98
00:05:34,440 --> 00:05:36,090
Background settings, change the picture.

99
00:05:36,090 --> 00:05:39,630
But I like the little Jaguar.

100
00:05:39,630 --> 00:05:40,950
I love dark mode.

101
00:05:40,950 --> 00:05:42,480
Change that around.

102
00:05:42,480 --> 00:05:45,960
Now, some things you should be familiar with.

103
00:05:45,960 --> 00:05:48,150
How to look up logs, right?

104
00:05:48,150 --> 00:05:50,880
So in this flavor of Ubuntu,

105
00:05:50,880 --> 00:05:52,803
we're just got to type it in, okay?

106
00:05:54,060 --> 00:05:54,930
And since we installed it,

107
00:05:54,930 --> 00:05:55,950
it's not going to have

108
00:05:55,950 --> 00:05:58,140
all of the information that we need,

109
00:05:58,140 --> 00:06:00,690
but this is how you would reach it.

110
00:06:00,690 --> 00:06:03,813
Okay? So we have important application logs,

111
00:06:04,800 --> 00:06:07,683
security logs, hardware logs, system logs.

112
00:06:08,970 --> 00:06:13,970
And also, another way to pull up different software.

113
00:06:16,461 --> 00:06:19,353
The software store, the Ubuntu Software.

114
00:06:24,060 --> 00:06:26,220
'Cause you know, previously we used YUM rules

115
00:06:26,220 --> 00:06:27,720
dealing with CentOS 7.

116
00:06:27,720 --> 00:06:32,720
And for Ubuntu, we deal with APT or dpkg.

117
00:06:32,970 --> 00:06:34,170
But you can also just go here

118
00:06:34,170 --> 00:06:35,820
just like a regular Gooey,

119
00:06:35,820 --> 00:06:36,900
and just whatever you need,

120
00:06:36,900 --> 00:06:38,790
click, download.

121
00:06:38,790 --> 00:06:41,580
See what's currently installed on the system.

122
00:06:41,580 --> 00:06:44,040
And feel free to play with this Ubuntu.

123
00:06:44,040 --> 00:06:46,260
Again, it's very rich in features,

124
00:06:46,260 --> 00:06:49,830
and a lot different than typical Windows and MacOS.

125
00:06:49,830 --> 00:06:52,680
But hey, that's why we're here,

126
00:06:52,680 --> 00:06:54,180
to get different perspectives.

127
00:06:56,940 --> 00:06:57,773
Okay.

128
00:06:58,980 --> 00:07:00,480
Also just a note,

129
00:07:00,480 --> 00:07:01,770
when I installed this,

130
00:07:01,770 --> 00:07:04,830
I had to use the virtual box itself,

131
00:07:04,830 --> 00:07:07,590
because my specific machine doesn't support

132
00:07:07,590 --> 00:07:09,900
virtualization inside of virtualization.

133
00:07:09,900 --> 00:07:11,400
So if you run into that issue,

134
00:07:11,400 --> 00:07:13,350
just create another virtual machine

135
00:07:13,350 --> 00:07:15,810
and install Ubuntu directly on that.

136
00:07:15,810 --> 00:07:18,450
Now, if you are working with a server directly,

137
00:07:18,450 --> 00:07:20,040
you wouldn't have any issues

138
00:07:20,040 --> 00:07:23,700
with using the virtual manager that's inside of Linux.

139
00:07:23,700 --> 00:07:25,080
But since you're using a virtual machine

140
00:07:25,080 --> 00:07:26,370
inside of a virtual machine,

141
00:07:26,370 --> 00:07:28,320
you're going to need special type of processor

142
00:07:28,320 --> 00:07:31,020
and different type of settings configured,

143
00:07:31,020 --> 00:07:34,290
in order to have that type of virtualization nesting.

144
00:07:34,290 --> 00:07:36,330
So there's something to keep in mind.

145
00:07:36,330 --> 00:07:37,320
All right, we went over

146
00:07:37,320 --> 00:07:40,920
how to configure virtualization using KVM settings.

147
00:07:40,920 --> 00:07:42,420
A little bit how the virtual machine manager

148
00:07:42,420 --> 00:07:44,070
looks inside of Linux.

149
00:07:44,070 --> 00:07:46,650
and how to play around with different distributions,

150
00:07:46,650 --> 00:07:48,300
more specifically Ubuntu.

151
00:07:48,300 --> 00:07:49,260
And we just played around

152
00:07:49,260 --> 00:07:51,180
with a few features for that.

153
00:07:51,180 --> 00:07:52,830
So thank you for sticking with this lesson,

154
00:07:52,830 --> 00:07:54,880
and I'll see you in the next walkthrough.

