1
00:00:00,560 --> 00:00:07,530
Let us verify our master system is having the setting, as we have discussed, so in

2
00:00:07,530 --> 00:00:14,640
our case, we will go to, our, these three systems are there Master c10 and c20.

3
00:00:14,860 --> 00:00:21,030
So what we are going to do, we will go to the master system and we will check this command hostname,

4
00:00:21,670 --> 00:00:25,390
and we can see that it is master.example.com.

5
00:00:25,770 --> 00:00:32,280
Then with dnsdomainname, we can check what is our domain name.

6
00:00:32,280 --> 00:00:33,660
It is example.com.

7
00:00:34,230 --> 00:00:38,460
Then we can check the entries in /etc/hosts file.

8
00:00:41,310 --> 00:00:47,920
So the settings are there 172.24.0.1, and the name of the system is there.

9
00:00:48,480 --> 00:00:57,870
Then we can verify the IP address, ip a s with ens33, whether it is having the proper

10
00:00:57,870 --> 00:01:01,550
address or not, 172.24.0.1 is there.

11
00:01:02,160 --> 00:01:11,940
And then we are going to check whether our sestatus it is disabled and we can verify that by using

12
00:01:11,940 --> 00:01:12,450
that file.

13
00:01:12,450 --> 00:01:15,870
Also /etc/sysconfig/selinux

14
00:01:17,220 --> 00:01:24,200
so it is going to show you whether it is in disable state or not.

15
00:01:24,450 --> 00:01:33,870
So selinux is in disabled and regarding iptables, whether our firewall is allowing

16
00:01:33,870 --> 00:01:35,010
all traffic or not.

17
00:01:35,010 --> 00:01:44,040
We can use this command iptables -L, and then we can check with our main packages regarding

18
00:01:44,040 --> 00:01:44,520
Apache.

19
00:01:44,530 --> 00:01:45,690
They are installed or not.

20
00:01:46,020 --> 00:01:51,930
query httpd we will find that that package is installed.

21
00:01:52,290 --> 00:02:00,300
Then we will check openssl it is available or not then mod.

22
00:02:03,060 --> 00:02:11,550
ssl so we can verify these all and the other packages also can be verify, in our

23
00:02:11,550 --> 00:02:11,860
case.

24
00:02:12,480 --> 00:02:15,230
This lab is properly ready.

25
00:02:15,450 --> 00:02:21,170
That means with rpm command, you can check all the things and we have checked the IP addresses also.

26
00:02:21,540 --> 00:02:29,110
And what was the file in which we have made the changes that we showed you that also it is the /etc

27
00:02:29,130 --> 00:02:36,680
sysconfig/network-scripts and the file name is ifcfg.

28
00:02:37,560 --> 00:02:48,450
ens33, so here you will see that the entries are static, bootprotocol static and IP addresses is 172.24

29
00:02:48,450 --> 00:02:57,090
.0.1 and netmask is this and if we are going to check the settings, what are the machine settings, we

30
00:02:57,090 --> 00:02:58,650
will find that it is bridge.

31
00:02:58,650 --> 00:03:01,760
that is we wanted initially it was NAT.

32
00:03:01,770 --> 00:03:05,010
So we changed the setting to bridge.

33
00:03:05,280 --> 00:03:13,080
that mean the system in our case is according to what we have specified, you can check and verify each and

34
00:03:13,080 --> 00:03:15,750
every package, whether it is installed or not.

35
00:03:15,900 --> 00:03:23,310
If it is not, then with the yum install the name of the package, you can install that package.

36
00:03:23,730 --> 00:03:30,090
So in our case system configuration settings are according to what we have discussed.
