RHCSA - EX200 RHCSA DAY - 04 RHCSA Trainer Ali Aydemir CISCO, - - PowerPoint PPT Presentation

rhcsa ex200
SMART_READER_LITE
LIVE PREVIEW

RHCSA - EX200 RHCSA DAY - 04 RHCSA Trainer Ali Aydemir CISCO, - - PowerPoint PPT Presentation

RHCSA RHCSA - EX200 RHCSA DAY - 04 RHCSA Trainer Ali Aydemir CISCO, CCIE #47287 SP/RS, CCSI#35413 AVAYA, ACE-Fx #169 HUAWEI, HCDP RHCSA DAY - 04 RHCSA RHCSA Timetable Day AM Lunch PM -Essential File Management -Installing RHEL


slide-1
SLIDE 1

RHCSA DAY - 04

RHCSA

RHCSA - EX200

slide-2
SLIDE 2

RHCSA DAY - 04

RHCSA

Trainer

Ali Aydemir

CISCO, CCIE #47287 SP/RS, CCSI#35413 AVAYA, ACE-Fx #169 HUAWEI, HCDP

slide-3
SLIDE 3

RHCSA DAY - 04

RHCSA

RHCSA Timetable

Day AM Lunch PM 1

  • Installing RHEL Server
  • Using Essential Tools
  • Essential File Management
  • ToolsWorking with Text Files
  • Connecting to a RHEL Server

2

  • User and Group Management
  • Permissions Management
  • Configuring Networking
  • Process Management
  • Working with Virtual Machines

3

  • Installing Software Packages
  • Scheduling Tasks
  • Configuring Logging
  • Managing Partitions
  • Managing LVM Logical Volumes

4

  • Basic Kernel Management
  • Configuring a Basic Apache

Server

  • Managing and Understanding

the Boot Procedure

  • Essential Boot Procedure

Troubleshooting 5

  • Managing SELinux
  • Configuring a Firewall
  • Configuring Remote Mounts

and FTP

  • Configuring Time Services
slide-4
SLIDE 4

RHCSA DAY - 04

RHCSA

Chapter 16: Basic Kernel Management

slide-5
SLIDE 5

5 RHCSA DAY - 04

RHCSA

Chapter 16 Objectives

  • The following topics are covered in this chapter:
  • Understanding the Role of the Linux Kernel
  • Working with Kernel Modules
  • Updating the Linux Kernel
  • The following RHCSA exam objectives are covered in this

chapter:

  • Update the kernel package appropriately to ensure a bootable system
slide-6
SLIDE 6

6 RHCSA DAY - 04

RHCSA

Basic Kernel Management

  • The Linux kernel is the heart of the Linux operating system.

It takes care of many things, including hardware

  • management. In this chapter, you learn all you need to

know about the Linux kernel from an RHCSA perspective. In fact, you even learn a bit more.

  • This chapter includes information about topics that are not
  • n the current list of RHCSA objectives. I think it is good to

know about these topics anyway. Any serious Linux administrator should be able to deal with issues related to the topics discussed in this chapter.

slide-7
SLIDE 7

7 RHCSA DAY - 04

RHCSA

Understanding the Role of the Linux Kernel

slide-8
SLIDE 8

8 RHCSA DAY - 04

RHCSA

Understanding the use of Kernel Threads and Drivers

slide-9
SLIDE 9

9 RHCSA DAY - 04

RHCSA

Understanding the use of Kernel Threads and Drivers

slide-10
SLIDE 10

10 RHCSA DAY - 04

RHCSA

Analyzing What the Kernel Is Doing

slide-11
SLIDE 11

11 RHCSA DAY - 04

RHCSA

Analyzing What the Kernel Is Doing

slide-12
SLIDE 12

12 RHCSA DAY - 04

RHCSA

Analyzing What the Kernel Is Doing

slide-13
SLIDE 13

13 RHCSA DAY - 04

RHCSA

Analyzing What the Kernel Is Doing

slide-14
SLIDE 14

14 RHCSA DAY - 04

RHCSA

Working with Kernel Modules

  • In the old days of Linux, kernels had to be compiled to

include all drivers that were required to support computer

  • hardware. Other specific functionality needed to be

compiled into the kernel as well.

  • Since the release of Linux kernel 2.0 in the mid 1990s,

kernels are no longer compiled but modular. A modular kernel consists of a relatively small core kernel and provides driver support through modules that are loaded when required. Modular kernels are very efficient, as only those modules that really are needed are included.

slide-15
SLIDE 15

15 RHCSA DAY - 04

RHCSA

Understanding Hardware Initialization

slide-16
SLIDE 16

16 RHCSA DAY - 04

RHCSA

Understanding Hardware Initialization

slide-17
SLIDE 17

17 RHCSA DAY - 04

RHCSA

Managing Kernel Modules

slide-18
SLIDE 18

18 RHCSA DAY - 04

RHCSA

Managing Kernel Modules

slide-19
SLIDE 19

19 RHCSA DAY - 04

RHCSA

Managing Kernel Modules

slide-20
SLIDE 20

20 RHCSA DAY - 04

RHCSA

Managing Kernel Modules

slide-21
SLIDE 21

21 RHCSA DAY - 04

RHCSA

Managing Kernel Modules

slide-22
SLIDE 22

22 RHCSA DAY - 04

RHCSA

Managing Kernel Modules

slide-23
SLIDE 23

23 RHCSA DAY - 04

RHCSA

Exercise 16.1 Managing Kernel Modules from the Command Line

slide-24
SLIDE 24

24 RHCSA DAY - 04

RHCSA

Checking Driver Availability for Hardware Devices

slide-25
SLIDE 25

25 RHCSA DAY - 04

RHCSA

Checking Driver Availability for Hardware Devices

slide-26
SLIDE 26

26 RHCSA DAY - 04

RHCSA

Managing Kernel Module Parameters

slide-27
SLIDE 27

27 RHCSA DAY - 04

RHCSA

Exercise 16.2 Loading Kernel Modules with Parameters

slide-28
SLIDE 28

28 RHCSA DAY - 04

RHCSA

Exercise 16.2 Loading Kernel Modules with Parameters

slide-29
SLIDE 29

29 RHCSA DAY - 04

RHCSA

Upgrading the Linux Kernel

slide-30
SLIDE 30

30 RHCSA DAY - 04

RHCSA

Summary

slide-31
SLIDE 31

31 RHCSA DAY - 04

RHCSA

Define Key Terms

  • Define the following key terms:
  • kernel,
  • module,
  • dmesg,
  • udev,
  • sysfs,
  • proc
slide-32
SLIDE 32

32 RHCSA DAY - 04

RHCSA

Lab 16.1

slide-33
SLIDE 33

33 RHCSA DAY - 04

RHCSA

Chapter 17: Configuring a Basic Apache Server

slide-34
SLIDE 34

34 RHCSA DAY - 04

RHCSA

Chapter 17 Objectives

  • The following topics are covered in this chapter:
  • Configuring a Basic Apache Server
  • Understanding Apache Configuration files
  • Creating Apache Virtual Hosts
  • The following RHCSA exam objectives are covered in this

chapter:

  • No RHCSA exam objectives relate directly to Apache
slide-35
SLIDE 35

35 RHCSA DAY - 04

RHCSA

Configuring a Basic Apache Server

slide-36
SLIDE 36

36 RHCSA DAY - 04

RHCSA

Installing the Required Software

slide-37
SLIDE 37

37 RHCSA DAY - 04

RHCSA

Identifying the Main Configuration File

slide-38
SLIDE 38

38 RHCSA DAY - 04

RHCSA

Identifying the Main Configuration File

slide-39
SLIDE 39

39 RHCSA DAY - 04

RHCSA

Exercise 17.1 Setting Up a Basic Web Server

slide-40
SLIDE 40

40 RHCSA DAY - 04

RHCSA

Exercise 17.1 Setting Up a Basic Web Server

slide-41
SLIDE 41

41 RHCSA DAY - 04

RHCSA

Understanding Apache Configuration Files

slide-42
SLIDE 42

42 RHCSA DAY - 04

RHCSA

Understanding Apache Configuration Files

slide-43
SLIDE 43

43 RHCSA DAY - 04

RHCSA

Creating Apache Virtual Hosts

slide-44
SLIDE 44

44 RHCSA DAY - 04

RHCSA

Creating Apache Virtual Hosts

slide-45
SLIDE 45

45 RHCSA DAY - 04

RHCSA

Exercise 17.2 Installing Apache Virtual Hosts

slide-46
SLIDE 46

46 RHCSA DAY - 04

RHCSA

Exercise 17.2 Installing Apache Virtual Hosts

slide-47
SLIDE 47

47 RHCSA DAY - 04

RHCSA

Exercise 17.2 Installing Apache Virtual Hosts

slide-48
SLIDE 48

48 RHCSA DAY - 04

RHCSA

Exercise 17.2 Installing Apache Virtual Hosts

slide-49
SLIDE 49

49 RHCSA DAY - 04

RHCSA

Summary

slide-50
SLIDE 50

50 RHCSA DAY - 04

RHCSA

Define Key Terms

  • Define the following key terms:
  • DocumentRoot,
  • virtual hosts,
  • chroot
slide-51
SLIDE 51

51 RHCSA DAY - 04

RHCSA

Lab 17.1

slide-52
SLIDE 52

52 RHCSA DAY - 04

RHCSA

Chapter 18: Managing and Understanding the Boot Procedure

slide-53
SLIDE 53

53 RHCSA DAY - 04

RHCSA

Chapter 18 Objectives

  • The following topics are covered in this chapter:
  • Working with Systemd
  • Working with GRUB 2
  • The following RHCSA exam objectives are covered in this

chapter:

  • Start and stop services and configure services to start automatically at

boot

  • Configure systems to boot into a specific target automatically
  • Modify the system bootloader
slide-54
SLIDE 54

54 RHCSA DAY - 04

RHCSA

Managing and Understanding the Boot Procedure

slide-55
SLIDE 55

55 RHCSA DAY - 04

RHCSA

Working with Systemd

slide-56
SLIDE 56

56 RHCSA DAY - 04

RHCSA

Understanding Systemd

slide-57
SLIDE 57

57 RHCSA DAY - 04

RHCSA

Understanding Systemd

slide-58
SLIDE 58

58 RHCSA DAY - 04

RHCSA

Understanding Service Units

slide-59
SLIDE 59

59 RHCSA DAY - 04

RHCSA

Understanding Service Units

slide-60
SLIDE 60

60 RHCSA DAY - 04

RHCSA

Understanding Service Units

slide-61
SLIDE 61

61 RHCSA DAY - 04

RHCSA

Understanding Service Units

slide-62
SLIDE 62

62 RHCSA DAY - 04

RHCSA

Understanding Service Units

slide-63
SLIDE 63

63 RHCSA DAY - 04

RHCSA

Understanding Target Units

slide-64
SLIDE 64

64 RHCSA DAY - 04

RHCSA

Understanding Target Units

slide-65
SLIDE 65

65 RHCSA DAY - 04

RHCSA

Understanding Target Units

slide-66
SLIDE 66

66 RHCSA DAY - 04

RHCSA

Understanding Wants

slide-67
SLIDE 67

67 RHCSA DAY - 04

RHCSA

Managing Units Through Systemd

slide-68
SLIDE 68

68 RHCSA DAY - 04

RHCSA

Exercise 18.1 Managing Units with systemctl

slide-69
SLIDE 69

69 RHCSA DAY - 04

RHCSA

Exercise 18.1 Managing Units with systemctl

slide-70
SLIDE 70

70 RHCSA DAY - 04

RHCSA

Managing Units with systemctl

slide-71
SLIDE 71

71 RHCSA DAY - 04

RHCSA

Managing Units with systemctl

slide-72
SLIDE 72

72 RHCSA DAY - 04

RHCSA

Managing Units with systemctl

slide-73
SLIDE 73

73 RHCSA DAY - 04

RHCSA

Managing Systemd Targets

slide-74
SLIDE 74

74 RHCSA DAY - 04

RHCSA

Managing Systemd Targets

slide-75
SLIDE 75

75 RHCSA DAY - 04

RHCSA

Isolating Targets

slide-76
SLIDE 76

76 RHCSA DAY - 04

RHCSA

Isolating Targets

slide-77
SLIDE 77

77 RHCSA DAY - 04

RHCSA

Exercise 18.2 Isolating Targets

slide-78
SLIDE 78

78 RHCSA DAY - 04

RHCSA

Setting the Default Target

slide-79
SLIDE 79

79 RHCSA DAY - 04

RHCSA

Working with GRUB 2

slide-80
SLIDE 80

80 RHCSA DAY - 04

RHCSA

Understanding GRUB 2

slide-81
SLIDE 81

81 RHCSA DAY - 04

RHCSA

Understanding GRUB 2

slide-82
SLIDE 82

82 RHCSA DAY - 04

RHCSA

Understanding GRUB 2

slide-83
SLIDE 83

83 RHCSA DAY - 04

RHCSA

Modifying Default GRUB 2 Boot Options

slide-84
SLIDE 84

84 RHCSA DAY - 04

RHCSA

Modifying Default GRUB 2 Boot Options

slide-85
SLIDE 85

85 RHCSA DAY - 04

RHCSA

Exercise 18.3 Applying Modifications to GRUB2

slide-86
SLIDE 86

86 RHCSA DAY - 04

RHCSA

Summary

slide-87
SLIDE 87

87 RHCSA DAY - 04

RHCSA

Define Key Terms

  • Define the following key terms:
  • unit,
  • wants,
  • target,
  • systemd,
  • dependencies,
  • kernel,
  • boot loader,
  • GRUB
slide-88
SLIDE 88

88 RHCSA DAY - 04

RHCSA

Lab 18.1

  • Make sure that the firewalld service is started on boot. Also

make sure that the iptables service can never be started at the same time.

  • Change your GRUB 2 boot configuration so that you will

see boot messages upon startup.

slide-89
SLIDE 89

89 RHCSA DAY - 04

RHCSA

Chapter 19: Essential Boot Procedure Troubleshooting

slide-90
SLIDE 90

90 RHCSA DAY - 04

RHCSA

Chapter 19 Objectives

  • The following topics are covered in this chapter:
  • Understanding the RHEL 7 Boot Procedure
  • Passing Kernel Boot Arguments
  • Using a Rescue Disk
  • Fixing Common Issues
  • Recovering Access to a Virtual Machine
  • The following RHCSA exam objectives are covered in this

chapter:

  • Boot systems into different targets manually
  • Interrupt the boot process in order to gain access to a system
slide-91
SLIDE 91

91 RHCSA DAY - 04

RHCSA

Troubleshooting the Boot Procedure

slide-92
SLIDE 92

92 RHCSA DAY - 04

RHCSA

Understanding the RHEL 7 Boot Procedure

slide-93
SLIDE 93

93 RHCSA DAY - 04

RHCSA

Understanding the RHEL 7 Boot Procedure

slide-94
SLIDE 94

94 RHCSA DAY - 04

RHCSA

Understanding the RHEL 7 Boot Procedure

slide-95
SLIDE 95

95 RHCSA DAY - 04

RHCSA

Boot Phase Configuration and Troubleshooting Overview

slide-96
SLIDE 96

96 RHCSA DAY - 04

RHCSA

Passing Kernel Boot Arguments

slide-97
SLIDE 97

97 RHCSA DAY - 04

RHCSA

Accessing the Boot Prompt

slide-98
SLIDE 98

98 RHCSA DAY - 04

RHCSA

Accessing the Boot Prompt

slide-99
SLIDE 99

99 RHCSA DAY - 04

RHCSA

Accessing the Boot Prompt

slide-100
SLIDE 100

100 RHCSA DAY - 04

RHCSA

Starting a Troubleshooting Target

slide-101
SLIDE 101

101 RHCSA DAY - 04

RHCSA

Exercise 19.1 Exploring troubleshooting targets.

slide-102
SLIDE 102

102 RHCSA DAY - 04

RHCSA

Using a Rescue Disk

slide-103
SLIDE 103

103 RHCSA DAY - 04

RHCSA

Restoring System Access Using a Rescue Disk

slide-104
SLIDE 104

104 RHCSA DAY - 04

RHCSA

Restoring System Access Using a Rescue Disk

slide-105
SLIDE 105

105 RHCSA DAY - 04

RHCSA

Restoring System Access Using a Rescue Disk

slide-106
SLIDE 106

106 RHCSA DAY - 04

RHCSA

Exercise 19.2 Using the Rescue Option

slide-107
SLIDE 107

107 RHCSA DAY - 04

RHCSA

Exercise 19.2 Using the Rescue Option

slide-108
SLIDE 108

108 RHCSA DAY - 04

RHCSA

Exercise 19.2 Using the Rescue Option

slide-109
SLIDE 109

109 RHCSA DAY - 04

RHCSA

Reinstalling GRUB Using a Rescue Disk

slide-110
SLIDE 110

110 RHCSA DAY - 04

RHCSA

Re-Creating the Initramfs Using a Rescue Disk

slide-111
SLIDE 111

111 RHCSA DAY - 04

RHCSA

Fixing Common Issues

slide-112
SLIDE 112

112 RHCSA DAY - 04

RHCSA

Reinstalling GRUB 2

slide-113
SLIDE 113

113 RHCSA DAY - 04

RHCSA

Fixing the Initramfs

slide-114
SLIDE 114

114 RHCSA DAY - 04

RHCSA

Recovering from File System Issues

slide-115
SLIDE 115

115 RHCSA DAY - 04

RHCSA

Recovering from File System Issues

slide-116
SLIDE 116

116 RHCSA DAY - 04

RHCSA

Resetting the Root Password

slide-117
SLIDE 117

117 RHCSA DAY - 04

RHCSA

Resetting the Root Password

slide-118
SLIDE 118

118 RHCSA DAY - 04

RHCSA

Resetting the Root Password

slide-119
SLIDE 119

119 RHCSA DAY - 04

RHCSA

Summary

slide-120
SLIDE 120

120 RHCSA DAY - 04

RHCSA

Define Key Terms

  • Define the following key terms:
  • target,
  • GRUB,
  • initramfs,
  • dracut
slide-121
SLIDE 121

121 RHCSA DAY - 04

RHCSA

Lab 19.1

slide-122
SLIDE 122

122 RHCSA DAY - 04

RHCSA

Chapter 20: Using Kickstart

slide-123
SLIDE 123

123 RHCSA DAY - 04

RHCSA

Chapter 20 Objectives

  • The following topics are covered in this chapter:
  • Setting Up an Installation Server
  • Setting Up a TFTP and DHCP Server for PXE Boot
  • Creating a Kickstart File
  • The following RHCSA exam objectives are covered in this

chapter:

  • Installing Red Hat Enterprise Linux automatically using Kickstart
slide-124
SLIDE 124

124 RHCSA DAY - 04

RHCSA

Using Kickstart

slide-125
SLIDE 125

125 RHCSA DAY - 04

RHCSA

Setting Up an Installation Server

slide-126
SLIDE 126

126 RHCSA DAY - 04

RHCSA

Configuring a Network Server as Installation Server

slide-127
SLIDE 127

127 RHCSA DAY - 04

RHCSA

Exercise 20.1 Setting Up the Network Installation Server

slide-128
SLIDE 128

128 RHCSA DAY - 04

RHCSA

Exercise 20.1 Setting Up the Network Installation Server

slide-129
SLIDE 129

129 RHCSA DAY - 04

RHCSA

Setting Up a TFTP and DHCP Server for PXE Boot

slide-130
SLIDE 130

130 RHCSA DAY - 04

RHCSA

Setting Up a TFTP and DHCP Server for PXE Boot

slide-131
SLIDE 131

131 RHCSA DAY - 04

RHCSA

Setting Up a TFTP and DHCP Server for PXE Boot

slide-132
SLIDE 132

132 RHCSA DAY - 04

RHCSA

Setting Up a TFTP and DHCP Server for PXE Boot

slide-133
SLIDE 133

133 RHCSA DAY - 04

RHCSA

Setting Up a TFTP and DHCP Server for PXE Boot

slide-134
SLIDE 134

134 RHCSA DAY - 04

RHCSA

Configuring DHCP for PXE Boot

slide-135
SLIDE 135

135 RHCSA DAY - 04

RHCSA

Configuring DHCP for PXE Boot

slide-136
SLIDE 136

136 RHCSA DAY - 04

RHCSA

Configuring DHCP for PXE Boot

slide-137
SLIDE 137

137 RHCSA DAY - 04

RHCSA

Creating the TFTP PXE Server Content

slide-138
SLIDE 138

138 RHCSA DAY - 04

RHCSA

Exercise 20.2 Configuring the TFTP Server for PXE Boot

slide-139
SLIDE 139

139 RHCSA DAY - 04

RHCSA

Exercise 20.2 Configuring the TFTP Server for PXE Boot

slide-140
SLIDE 140

140 RHCSA DAY - 04

RHCSA

Exercise 20.2 Configuring the TFTP Server for PXE Boot

slide-141
SLIDE 141

141 RHCSA DAY - 04

RHCSA

Exercise 20.2 Configuring the TFTP Server for PXE Boot

slide-142
SLIDE 142

142 RHCSA DAY - 04

RHCSA

Exercise 20.2 Configuring the TFTP Server for PXE Boot

slide-143
SLIDE 143

143 RHCSA DAY - 04

RHCSA

Exercise 20.2 Configuring the TFTP Server for PXE Boot

slide-144
SLIDE 144

144 RHCSA DAY - 04

RHCSA

Creating a Kickstart File

slide-145
SLIDE 145

145 RHCSA DAY - 04

RHCSA

Using a Kickstart File to Perform an Automated Installation

slide-146
SLIDE 146

146 RHCSA DAY - 04

RHCSA

Using a Kickstart File to Perform an Automated Installation

slide-147
SLIDE 147

147 RHCSA DAY - 04

RHCSA

Exercise 20.3 Performing a Virtual Machine Network Installation Using a Kickstart File

slide-148
SLIDE 148

148 RHCSA DAY - 04

RHCSA

Exercise 20.3 Performing a Virtual Machine Network Installation Using a Kickstart File

slide-149
SLIDE 149

149 RHCSA DAY - 04

RHCSA

Modifying the Kickstart File with system- config-kickstart

slide-150
SLIDE 150

150 RHCSA DAY - 04

RHCSA

Modifying the Kickstart File with system- config-kickstart

slide-151
SLIDE 151

151 RHCSA DAY - 04

RHCSA

Modifying the Kickstart File with system- config-kickstart

slide-152
SLIDE 152

152 RHCSA DAY - 04

RHCSA

Modifying the Kickstart File with system- config-kickstart

slide-153
SLIDE 153

153 RHCSA DAY - 04

RHCSA

Modifying the Kickstart File with system- config-kickstart

slide-154
SLIDE 154

154 RHCSA DAY - 04

RHCSA

Modifying the Kickstart File with system- config-kickstart

slide-155
SLIDE 155

155 RHCSA DAY - 04

RHCSA

Modifying the Kickstart File with system- config-kickstart

slide-156
SLIDE 156

156 RHCSA DAY - 04

RHCSA

Modifying the Kickstart File with system- config-kickstart

slide-157
SLIDE 157

157 RHCSA DAY - 04

RHCSA

Making Manual Modifications to the Kickstart File

slide-158
SLIDE 158

158 RHCSA DAY - 04

RHCSA

Making Manual Modifications to the Kickstart File

slide-159
SLIDE 159

159 RHCSA DAY - 04

RHCSA

Making Manual Modifications to the Kickstart File

slide-160
SLIDE 160

160 RHCSA DAY - 04

RHCSA

Making Manual Modifications to the Kickstart File

slide-161
SLIDE 161

161 RHCSA DAY - 04

RHCSA

Making Manual Modifications to the Kickstart File

slide-162
SLIDE 162

162 RHCSA DAY - 04

RHCSA

Summary

slide-163
SLIDE 163

163 RHCSA DAY - 04

RHCSA

Define Key Terms

  • Define the following key terms:
  • xinetd,
  • tftp,
  • installation server,
  • Kickstart,
  • anaconda
slide-164
SLIDE 164

164 RHCSA DAY - 04

RHCSA

Lab 20.1

slide-165
SLIDE 165

Q&A