1
00:00:00,600 --> 00:00:06,340
Now we will see how we have set up the system c10 in our case, a virtual machine.

2
00:00:06,360 --> 00:00:08,470
What are the different configuration settings?

3
00:00:08,940 --> 00:00:15,870
So again, we first check the hostname dnsdomainname, then with the hostnamectl command set

4
00:00:15,870 --> 00:00:16,340
hostname.

5
00:00:16,350 --> 00:00:20,690
We set the name to c10.example.com, then we logged out.

6
00:00:21,090 --> 00:00:24,410
So when again when we logged in.

7
00:00:24,660 --> 00:00:29,670
So it was showing the name C10 and we verify with the hostname, dnsdomainname command.

8
00:00:30,090 --> 00:00:36,330
It was showing the hostname as c10.example.com and dnsdomainname as example.

9
00:00:36,330 --> 00:00:36,620
com.

10
00:00:37,140 --> 00:00:46,380
And initially the host file is have the only entry regarding localhost and we disable the firewall

11
00:00:46,650 --> 00:00:50,670
setting networkManager and then we flush the rules.

12
00:00:50,670 --> 00:00:56,550
We install the new iptables-service package, as we discussed in the case of master system.

13
00:00:56,550 --> 00:01:01,410
Same process we have done in C10 also and C20 also.

14
00:01:01,860 --> 00:01:07,560
Then we run this service, iptables save command, and then we check the sestatus.

15
00:01:07,980 --> 00:01:13,300
It is disabled and how we disable it by making changes in /etc.

16
00:01:13,320 --> 00:01:15,370
/sysconfig/selinux.

17
00:01:15,780 --> 00:01:20,130
So selinux here, the default value when you install it is enforcing.

18
00:01:20,490 --> 00:01:23,250
We change it from enforcing to disable.

19
00:01:24,540 --> 00:01:32,100
Then we check the ipaddress, initially network adapter was NAT because we wanted to install the packages

20
00:01:32,280 --> 00:01:39,840
and when we checked the address, it was showing 192.168.142.137 because

21
00:01:39,840 --> 00:01:41,490
it was allocated dynamically.

22
00:01:42,390 --> 00:01:51,600
And then if we want to check the file in which we can make the changes and why it was getting the address dynamically,

23
00:01:52,110 --> 00:01:59,430
the configuration file is you are in /etc/sysconfig/network-scripts directory the name of the file

24
00:01:59,430 --> 00:02:08,310
is ifcfg-ens33 and it is showing the bootprotocol dhcp that mean address is automatically obtained

25
00:02:08,520 --> 00:02:12,660
due to this settings, later on we are going to make changes in this setting.

26
00:02:13,800 --> 00:02:20,970
Then we install the certain packages by using yum -q mean quite mode.

27
00:02:21,330 --> 00:02:22,560
install wget.

28
00:02:23,380 --> 00:02:27,220
git, elinks, curl and lynx these three browsers

29
00:02:28,130 --> 00:02:34,480
So if it is not style, it is going to ask for the confirmation we are going to press y.

30
00:02:34,820 --> 00:02:42,830
And if it is already installed, we will get the message and you can verify by using this rpm.

31
00:02:42,830 --> 00:02:46,030
Command also rpm -q elinks, you can verify.

32
00:02:47,930 --> 00:02:56,140
Then we allocated one static address by making changes in which file /etc/sysconfig/network-scripts,

33
00:02:56,570 --> 00:03:04,850
ifcfg-ens33, for making changes you can use vi editor or nano editor, whatever

34
00:03:04,850 --> 00:03:06,500
editor, you are comfortable.

35
00:03:07,130 --> 00:03:14,690
So in this, we changed the bootprotocol from dhcp to static and then now we made the entry ipaddress

36
00:03:14,690 --> 00:03:20,830
is equal to 172.24.0.10 and that netmask is 255.255.0.0.

37
00:03:21,790 --> 00:03:24,700
And then the power off the system.

38
00:03:25,370 --> 00:03:25,740
Why?

39
00:03:25,760 --> 00:03:34,220
Because we want to change the network adapter setting from NAT to your bridge, we change that

40
00:03:34,220 --> 00:03:34,820
settings.

41
00:03:36,050 --> 00:03:39,380
Then we verified whether that setting is okay or not.

42
00:03:39,380 --> 00:03:40,210
Network bridge.

43
00:03:40,640 --> 00:03:45,660
It is now showing network bridge adapter at setting network bridge.

44
00:03:46,460 --> 00:03:54,530
And when we run the command ip a s ens33, it is showing us the address 172.24.0.10 and we

45
00:03:54,530 --> 00:04:01,730
made one entry in host file also 172.24.0.10 and the name of the system.

46
00:04:01,880 --> 00:04:04,520
And that is the entry that we made.

47
00:04:05,240 --> 00:04:07,910
So that is our C10 system.

48
00:04:08,120 --> 00:04:14,000
Now we will verify whether our system is according to the setting that we have discussed or not.

49
00:04:14,180 --> 00:04:15,860
Again, these are optional video.

50
00:04:16,670 --> 00:04:24,500
If you already know how to install the packages, how to set up that type of lab that we discussed

51
00:04:24,800 --> 00:04:28,970
in the lab setup video, then you can skip this video.
