WEBVTT

1
00:00.000 --> 00:04.090
So friends, one of the very first things that we have to do is we have to get a

2
00:04.090 --> 00:04.680
hold of

3
00:04.680 --> 00:07.040
Red Hat Enterprise Linux.

4
00:07.040 --> 00:11.040
This is the Linux distribution that we're going to be using in order to install

5
00:11.040 --> 00:11.680
Ansible.

6
00:11.680 --> 00:13.920
So with that said, let's just dive in.

7
00:13.920 --> 00:18.160
Now the first thing to say with respect to Red Hat Enterprise Linux is that you

8
00:18.160 --> 00:18.760
can actually

9
00:18.760 --> 00:22.860
run this and say for example a cloud environment, or if you so wish you could

10
00:22.860 --> 00:24.040
run this as a bare

11
00:24.040 --> 00:28.300
metal installation, pretty much meaning that you could just install it on your

12
00:28.300 --> 00:29.400
regular hardware,

13
00:29.400 --> 00:33.970
your laptop, your PC, whatever it may be, and run it just as a regular OS but
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

13
00:29.400 --> 00:33.970
your laptop, your PC, whatever it may be, and run it just as a regular OS but

14
00:33.970 --> 00:35.040
that is not

15
00:35.040 --> 00:38.480
the way that I'm going to recommend that you begin your lab process.

16
00:38.480 --> 00:42.360
Instead, I'm going to suggest that you make use of virtual machines.

17
00:42.360 --> 00:45.920
Now perhaps you happen to have some type of software on your computer already,

18
00:45.920 --> 00:46.240
maybe you're

19
00:46.240 --> 00:48.720
using something like say VirtualBox.

20
00:48.720 --> 00:52.520
And if you are, feel free to use that virtualization solution.

21
00:52.520 --> 00:56.280
In my case though, my personal favorite and the software that I'm going to

22
00:56.280 --> 00:57.040
recommend you

23
00:57.040 --> 00:58.960
use is VMware.

24
00:58.960 --> 01:02.200
So in this particular video, we're going to go through the installation of
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

24
00:58.960 --> 01:02.200
So in this particular video, we're going to go through the installation of

25
01:02.200 --> 01:03.200
getting VMware

26
01:03.200 --> 01:04.200
available to us.

27
01:04.200 --> 01:08.070
And then we're going to see how we can actually get a working copy of Red Hat

28
01:08.070 --> 01:09.120
Enterprise Linux

29
01:09.120 --> 01:11.360
in order to perform our labbing.

30
01:11.360 --> 01:15.120
So let's do with the first part of the problem and talk about VMware.

31
01:15.120 --> 01:19.150
Now the first thing to say is if you happen to be using a Windows machine as

32
01:19.150 --> 01:19.760
your host

33
01:19.760 --> 01:24.560
computer, what you should actually search for is VMware Workstation Player.

34
01:24.560 --> 01:28.490
And if we click on this link right here, notice this is the platform for

35
01:28.490 --> 01:30.040
running virtual machines
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

35
01:28.490 --> 01:30.040
running virtual machines

36
01:30.040 --> 01:31.960
on a Windows or Linux PC.

37
01:31.960 --> 01:35.320
So once again, even if your host machine happens to be a Linux machine and you

38
01:35.320 --> 01:35.640
want

39
01:35.640 --> 01:39.350
to run virtualization software on that machine, then just like with Windows,

40
01:39.350 --> 01:40.320
you would download

41
01:40.320 --> 01:41.920
VMware Workstation Player.

42
01:41.920 --> 01:44.840
Now notice it says you can buy a commercial license.

43
01:44.840 --> 01:48.040
We don't have to worry about that right here if we just scroll on down.

44
01:48.040 --> 01:50.960
We can actually try the player for free if we so wish.

45
01:50.960 --> 01:54.240
This is for non-commercial purposes for your own labbing, that type of thing.

46
01:54.240 --> 01:56.040
So if you're on Windows, click this link.

47
01:56.040 --> 01:59.650
If you happen to have a Linux machine as your host machine, you be click this

48
01:59.650 --> 02:00.560
one instead.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

48
01:59.650 --> 02:00.560
one instead.

49
02:00.560 --> 02:02.880
Now in my case, I happen to be using a Mac.

50
02:02.880 --> 02:05.680
So we have to download VMware Fusion.

51
02:05.680 --> 02:08.000
So in this case here, we click this link.

52
02:08.000 --> 02:13.500
Notice it says here that VMware Fusion 13 allows support for Intel or Apple

53
02:13.500 --> 02:14.040
Silicon,

54
02:14.040 --> 02:17.890
meaning that if you happen to have an older MacBook with an Intel processor,

55
02:17.890 --> 02:18.320
you can use

56
02:18.320 --> 02:19.320
this solution.

57
02:19.320 --> 02:23.990
Or if you happen to have one of these M1 or M2 MacBooks, the new ones, you can

58
02:23.990 --> 02:24.200
all

59
02:24.200 --> 02:26.600
also use VMware Fusion 13.

60
02:26.600 --> 02:30.880
So in this case here, what I'm going to do, given that I have an M1 MacBook, I
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

60
02:26.600 --> 02:30.880
So in this case here, what I'm going to do, given that I have an M1 MacBook, I

61
02:30.880 --> 02:31.160
'm going

62
02:31.160 --> 02:33.960
to click Register for a Personal Use License.

63
02:33.960 --> 02:38.120
Now it takes us to this page here, VMware Fusion Personal Use License.

64
02:38.120 --> 02:42.480
If you already have a VMware account, you can just select "I have an account."

65
02:42.480 --> 02:45.980
If you haven't got that account set up, you first want to create that account

66
02:45.980 --> 02:46.480
very, very

67
02:46.480 --> 02:47.480
important.

68
02:47.480 --> 02:49.640
So all you would do is click this link here.

69
02:49.640 --> 02:52.590
And what you're going to have to do is to provide some information about

70
02:52.590 --> 02:53.360
yourself, such

71
02:53.360 --> 02:54.680
as your email address.

72
02:54.680 --> 02:58.400
Now just be aware, you can't just put in some dummy email, make sure it is a

73
02:58.400 --> 02:59.600
real email,

74
02:59.600 --> 03:03.050
because you're going to have to click a verification link within that email in
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

74
02:59.600 --> 03:03.050
because you're going to have to click a verification link within that email in

75
03:03.050 --> 03:03.920
order to activate

76
03:03.920 --> 03:04.920
that account.

77
03:04.920 --> 03:07.520
So really make sure you can access that email when it pops in.

78
03:07.520 --> 03:10.460
Then if you scroll on down, you can give your name, your address, job title,

79
03:10.460 --> 03:10.920
that type

80
03:10.920 --> 03:11.920
of thing.

81
03:11.920 --> 03:13.400
Fill out the capture and agree to the terms.

82
03:13.400 --> 03:16.800
And once you have done that, you will get an email in your inbox and you can

83
03:16.800 --> 03:17.240
click the

84
03:17.240 --> 03:19.120
link to verify your account.

85
03:19.120 --> 03:22.440
Going back to this particular page, you can now select "I have an account."

86
03:22.440 --> 03:24.080
So let's click this link here.

87
03:24.080 --> 03:27.620
And all you would do would be to enter that email registered with this account

88
03:27.620 --> 03:28.040
and pop

89
03:28.040 --> 03:29.480
in your subsequent password.

90
03:29.480 --> 03:31.560
So I will just log into mine right now.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

90
03:29.480 --> 03:31.560
So I will just log into mine right now.

91
03:31.560 --> 03:32.560
Perfect.

92
03:32.560 --> 03:34.480
Now I've logged in if I just scroll on down.

93
03:34.480 --> 03:36.880
Now it takes me to my license information.

94
03:36.880 --> 03:40.910
Now over here, this is where the license key happens to be now, because I don't

95
03:40.910 --> 03:41.320
want to

96
03:41.320 --> 03:44.480
share my license with absolutely everyone that's watching this video.

97
03:44.480 --> 03:46.400
I have just obscured this.

98
03:46.400 --> 03:49.520
But once you have registered, you will have your own license key.

99
03:49.520 --> 03:51.960
So all you want to do is to copy that particular key.

100
03:51.960 --> 03:55.800
Once you have done that, we can now go and click "Manually Download."

101
03:55.800 --> 03:58.360
And then simply save the download.

102
03:58.360 --> 04:01.160
And when the download completes, just double click.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

102
03:58.360 --> 04:01.160
And when the download completes, just double click.

103
04:01.160 --> 04:04.650
Run through all the prompts in the installation wizard and when you are asked,

104
04:04.650 --> 04:05.360
simply supply

105
04:05.360 --> 04:08.480
and copy in your own personal license key.

106
04:08.480 --> 04:11.550
And once you've done that, you will be presented with an interface quite like

107
04:11.550 --> 04:12.000
this.

108
04:12.000 --> 04:15.190
There on the left hand side, I've got a whole bunch of virtual machines that I

109
04:15.190 --> 04:15.820
have created

110
04:15.820 --> 04:17.180
prior to this course.

111
04:17.180 --> 04:19.980
If you have a brand new installation, you will not expect to see these down the

112
04:19.980 --> 04:20.260
left

113
04:20.260 --> 04:22.020
hand side, don't worry about it.

114
04:22.020 --> 04:26.040
We're going to create our own Red Hat Enterprise Linux from scratch using this

115
04:26.040 --> 04:27.180
VMware software.

116
04:27.180 --> 04:30.520
So now we have access to our VMware virtualization solution.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

116
04:27.180 --> 04:30.520
So now we have access to our VMware virtualization solution.

117
04:30.520 --> 04:34.250
What we now want to do is to get our hands on a Red Hat Enterprise Linux image

118
04:34.250 --> 04:34.780
in order

119
04:34.780 --> 04:36.600
to create that real machine.

120
04:36.600 --> 04:38.560
So with that said, let's do it.

121
04:38.560 --> 04:42.520
So in order to get this ISO image, we need to create a Red Hat account.

122
04:42.520 --> 04:46.640
The first place I'm going to go to is to developers.retat.

123
04:46.640 --> 04:48.400
So let's click this link right here.

124
04:48.400 --> 04:52.830
Now in the top right, if I just click log in, what I can do is pass in my Red

125
04:52.830 --> 04:53.660
Hat account

126
04:53.660 --> 04:55.180
details right here.

127
04:55.180 --> 04:58.600
However, if you do not already have that Red Hat account, you would just go

128
04:58.600 --> 04:59.020
down to

129
04:59.020 --> 05:01.820
the bottom here and register for a Red Hat account.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

129
04:59.020 --> 05:01.820
the bottom here and register for a Red Hat account.

130
05:01.820 --> 05:05.180
So let's just click this link here and you will have to provide some basic

131
05:05.180 --> 05:06.140
login information

132
05:06.140 --> 05:08.340
such as your login ID.

133
05:08.340 --> 05:12.360
So choose a username, give it a password, fill in the personal information,

134
05:12.360 --> 05:13.020
your first

135
05:13.020 --> 05:15.260
name, last name, email that type of thing.

136
05:15.260 --> 05:18.700
Then accept the terms and choose create my accounts.

137
05:18.700 --> 05:22.490
Now once you actually have a valid Red Hat account, what I'm going to do is

138
05:22.490 --> 05:23.060
search for

139
05:23.060 --> 05:25.480
Red Hat Enterprise Linux downloads.

140
05:25.480 --> 05:27.680
So if you click this link right here.

141
05:27.680 --> 05:31.620
Now this part is important if you happen to have a regular Windows machine or
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

141
05:27.680 --> 05:31.620
Now this part is important if you happen to have a regular Windows machine or

142
05:31.620 --> 05:32.120
an older

143
05:32.120 --> 05:36.620
MacBook, basically if you happen to have an Intel processor, you can just

144
05:36.620 --> 05:37.700
select download

145
05:37.700 --> 05:39.740
rail at no cost right here.

146
05:39.740 --> 05:43.310
In my case though, because I'm using an M1 MacBook, similarly if you happen to

147
05:43.310 --> 05:43.740
be using

148
05:43.740 --> 05:48.120
an M2 MacBook, the newer one, anything Apple Silicon, you're going to have to

149
05:48.120 --> 05:48.700
get a very

150
05:48.700 --> 05:53.220
specific version of rail and that is the ARM version, the ARM architecture.

151
05:53.220 --> 05:56.300
As such, we are going to select more ways to try.

152
05:56.300 --> 05:59.300
So depending on what you have at home, choose whatever one is appropriate.

153
05:59.300 --> 06:01.460
In my case here, I'm going to click this link.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

153
05:59.300 --> 06:01.460
In my case here, I'm going to click this link.

154
06:01.460 --> 06:05.950
So if I just scroll on down right here, the one I want to get is Red Hat

155
06:05.950 --> 06:07.260
Enterprise Linux

156
06:07.260 --> 06:10.460
ISO for servers and workstations.

157
06:10.460 --> 06:14.710
So notice in my case here, I can choose the ARM 64 button, in fact you can also

158
06:14.710 --> 06:15.180
choose

159
06:15.180 --> 06:18.340
the regular Intel version if you so want from this page here too.

160
06:18.340 --> 06:22.030
Now when I click this particular link, if you aren't already logged in, it's

161
06:22.030 --> 06:22.500
going to

162
06:22.500 --> 06:23.980
prompt me to login.

163
06:23.980 --> 06:27.980
This is why it is very important that we have that Red Hat account created.

164
06:27.980 --> 06:32.140
So click the page, once you've logged in, you'll be presented with a download.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

164
06:27.980 --> 06:32.140
So click the page, once you've logged in, you'll be presented with a download.

165
06:32.140 --> 06:36.200
In my case here, I will just choose save and now I'm going to be downloading

166
06:36.200 --> 06:37.220
Red Hat Enterprise

167
06:37.220 --> 06:39.580
Linux with the ARM architecture.

168
06:39.580 --> 06:43.310
So now whilst that download, we will soon have access to Red Hat Enterprise

169
06:43.310 --> 06:44.140
Linux as well

170
06:44.140 --> 06:48.330
as our virtualization solution in VMware, what we now want to do is to begin

171
06:48.330 --> 06:48.900
setting

172
06:48.900 --> 06:50.460
up our lab environments.
