1
00:00:00,570 --> 00:00:07,980
Let us see how we have configured the C20 system, what are the different configuration settings again

2
00:00:09,150 --> 00:00:14,480
Initially when we installed that VMs the hostname, it was showing localhost localdomain.

3
00:00:14,670 --> 00:00:17,710
Nothing was visible in dnsdomainname.

4
00:00:18,030 --> 00:00:22,020
Then we changed the name with the hostnamectl commands, set-hostname.

5
00:00:22,310 --> 00:00:24,960
c20.example.com.

6
00:00:24,960 --> 00:00:31,770
Then we logout and it is showing that the name of our system is C20 with the hostname.

7
00:00:32,160 --> 00:00:35,400
We verified whether name was given properly or not.

8
00:00:35,640 --> 00:00:40,560
C20.example.com, dnsdomainname example.com and initial.

9
00:00:40,560 --> 00:00:45,330
The host file will have only the host localhost entries.

10
00:00:46,530 --> 00:00:49,040
Then we disable the firewall network.

11
00:00:49,050 --> 00:00:49,490
manager.

12
00:00:49,890 --> 00:00:58,860
Then we made changes install one iptables packages because we have disabled this firewalld services

13
00:00:58,860 --> 00:01:02,440
we wanted to enable the another service iptables-services.

14
00:01:03,150 --> 00:01:10,200
So in your case, if it is not installed, it will ask for the confirmation you have to press y.

15
00:01:10,440 --> 00:01:15,210
If it is already installed, it will give the message, then you are going to flush the rule.

16
00:01:15,360 --> 00:01:18,410
Then we'll save with iptables save command.

17
00:01:18,420 --> 00:01:24,630
And with a iptables list, you can verify that our firewall is effectively disabled or not.

18
00:01:25,050 --> 00:01:34,680
By running this command, it will show that the policy by default policies accept, then we check the status

19
00:01:34,680 --> 00:01:38,040
of selinux, sestatus, it is in disabled.

20
00:01:38,040 --> 00:01:46,770
How we disabled by making changes in /etc/sysconfig/selinux file by default here the setting is enforcing.

21
00:01:46,770 --> 00:01:48,420
We change it to disabled.

22
00:01:49,440 --> 00:01:52,350
Then we check the IP addresses and network adapters settings.

23
00:01:52,350 --> 00:01:59,200
initially it is NAT because we want to install the packages and IP address given was 192.1

24
00:01:59,220 --> 00:02:02,610
68.142.138.

25
00:02:03,270 --> 00:02:12,960
How the system obtained the address because by default the configuration setting of our

26
00:02:12,960 --> 00:02:21,240
land card or network adapter card are stored in which file it is in /etc/sysconfig/network-scripts.

27
00:02:21,600 --> 00:02:29,100
Ifcfg-ens33 and the setting is dhcp that mean obtain automatically then install the packages

28
00:02:29,100 --> 00:02:37,440
wget, git, elinks, curl and your lynx package.

29
00:02:37,830 --> 00:02:45,330
And when asking for the confirmation we said yes, if it is already installed we are going to

30
00:02:45,600 --> 00:02:47,630
get this message.

31
00:02:47,630 --> 00:02:49,260
that already installed.

32
00:02:49,440 --> 00:02:53,640
And you can verify it with rpm query command also.

33
00:02:54,120 --> 00:03:01,950
So we can see that your git packages is instaaled curl is installed everything is installed.

34
00:03:02,700 --> 00:03:10,850
Then we change the IP address of this system to 172.24.0.20 and mask to 255.255.0.0.

35
00:03:11,130 --> 00:03:15,000
And we change the bootprotocol from dhcp to static.

36
00:03:15,510 --> 00:03:22,350
Then we power off the system and we made the adapter settings from NAT to Bridge.

37
00:03:23,100 --> 00:03:31,110
Then we verified whether it is bridge and with ip a s ens33 command.

38
00:03:31,110 --> 00:03:34,230
We verify the address whether it is okay or not.

39
00:03:34,710 --> 00:03:42,150
So it is showing 172.24.0.20 and again in host file we made entry by using vi editor

40
00:03:42,630 --> 00:03:43,440
172.

41
00:03:43,440 --> 00:03:47,150
24.0.20 c20.example.com.

42
00:03:47,640 --> 00:03:51,480
So that is how we configured your c20 system.
