RHCSA

RHCSA - EX200

RHCSA DAY - 03 RHCSA

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

RHCSA DAY - 03 RHCSA RHCSA Timetable Day AM Lunch PM -Essential File Management -Installing RHEL Server 1 -- -ToolsWorking with Text Files -Using Essential Tools -Connecting to a RHEL Server -Configuring Networking -User and Group Management 2 -- -Process Management -Permissions Management -Working with Virtual Machines -Configuring Logging -Installing Software Packages 3 -- -Managing Partitions -Scheduling Tasks -Managing LVM Logical Volumes -Managing and Understanding -Basic Kernel Management the Boot Procedure 4 -Configuring a Basic Apache -- -Essential Boot Procedure Server Troubleshooting -Configuring Remote Mounts -Managing SELinux 5 -- and FTP -Configuring a Firewall -Configuring Time Services

RHCSA DAY - 03 RHCSA

Chapter 11:

Installing Software Packages

RHCSA DAY - 03 RHCSA Chapter 11 Objectives

. The following topics are covered in this chapter: • Managing Software with yum • Using yum • Managing Software Packages with RPM

. The following RHCSA exam objectives are covered in this chapter: • Install and update software packages from Red Hat Network, a remote repository, or from the local file system

RHCSA DAY - 03 5 RHCSA Managing Software

RHCSA DAY - 03 6 RHCSA Managing Software Packages with yum

RHCSA DAY - 03 7 RHCSA Understanding the Role of Repositories

RHCSA DAY - 03 8 RHCSA Understanding the Role of Repositories

RHCSA DAY - 03 9 RHCSA Specifying Which Repository to Use

RHCSA DAY - 03 10 RHCSA Specifying Which Repository to Use

RHCSA DAY - 03 11 RHCSA Specifying Which Repository to Use

RHCSA DAY - 03 12 RHCSA Specifying Which Repository to Use

RHCSA DAY - 03 13 RHCSA Specifying Which Repository to Use

RHCSA DAY - 03 14 RHCSA Understanding Repository Security

RHCSA DAY - 03 15 RHCSA Understanding Repository Security

RHCSA DAY - 03 16 RHCSA Understanding Repository Security

RHCSA DAY - 03 17 RHCSA Creating Your Own Repository

RHCSA DAY - 03 18 RHCSA Exercise 11.1 Creating Your Own Repository

RHCSA DAY - 03 19 RHCSA Exercise 11.1 Creating Your Own Repository

RHCSA DAY - 03 20 RHCSA Exercise 11.1 Creating Your Own Repository

RHCSA DAY - 03 21 RHCSA Using yum

RHCSA DAY - 03 22 RHCSA Using yum

RHCSA DAY - 03 23 RHCSA Using yum to Software Packages

RHCSA DAY - 03 24 RHCSA Using yum to Find Software Packages

RHCSA DAY - 03 25 RHCSA Using yum to Find Software Packages

RHCSA DAY - 03 26 RHCSA Getting Information About Packages

RHCSA DAY - 03 27 RHCSA Getting More Information About Packages

RHCSA DAY - 03 28 RHCSA Installing and Removing Software Packages

RHCSA DAY - 03 29 RHCSA Installing and Removing Software Packages

RHCSA DAY - 03 30 RHCSA Showing Lists of Packages

RHCSA DAY - 03 31 RHCSA Showing Lists of Packages

RHCSA DAY - 03 32 RHCSA Showing Lists of Packages

RHCSA DAY - 03 33 RHCSA Showing Lists of Packages

RHCSA DAY - 03 34 RHCSA Updating Packages

RHCSA DAY - 03 35 RHCSA Updating Packages

RHCSA DAY - 03 36 RHCSA Working with yum Package Groups

RHCSA DAY - 03 37 RHCSA Working with yum Package Groups

RHCSA DAY - 03 38 RHCSA Working with yum Package Groups

RHCSA DAY - 03 39 RHCSA Working with yum Package Groups

RHCSA DAY - 03 40 RHCSA Using yum History

RHCSA DAY - 03 41 RHCSA Using yum History

As you can see, action number 14 altered 80 packages and was used to install and update packages. To undo this action completely, yum history undo 14

RHCSA DAY - 03 42 RHCSA Exercise 11.2 Using yum for Package Management

RHCSA DAY - 03 43 RHCSA Managing Software Packages with rpm

RHCSA DAY - 03 44 RHCSA Managing Software Packages with rpm

RHCSA DAY - 03 45 RHCSA Understanding RPM Filenames

RHCSA DAY - 03 46 RHCSA Querying the RPM Database

RHCSA DAY - 03 47 RHCSA Querying RPM Package Files

RHCSA DAY - 03 48 RHCSA Using repoquery

RHCSA DAY - 03 49 RHCSA Exercise 11.3 Using RPM Queries

RHCSA DAY - 03 50 RHCSA Exercise 11.3 Using RPM Queries

RHCSA DAY - 03 51 RHCSA Summary

RHCSA DAY - 03 52 RHCSA Define Key Terms

. Define the following key terms: • yum, • repository, • dependency, • package, • Red Hat Network, • package groups, • dependency hell, • RPM

RHCSA DAY - 03 53 RHCSA Lab 11.1

RHCSA DAY - 03 54 RHCSA

Chapter 12:

Scheduling Tasks

RHCSA DAY - 03 55 RHCSA Chapter 12 Objectives

. The following topics are covered in this chapter: • Scheduling once-only future tasks with • Scheduling regular future tasks with cron

. The following RHCSA exam objectives are covered in this chapter: • Scheduling tasks using at and cron

RHCSA DAY - 03 56 RHCSA Scheduling Tasks

RHCSA DAY - 03 57 RHCSA Configuring cron to Automate Recurring Tasks

RHCSA DAY - 03 58 RHCSA Managing the cron Service

RHCSA DAY - 03 59 RHCSA Managing the cron Service

RHCSA DAY - 03 60 RHCSA Understanding cron Timing

RHCSA DAY - 03 61 RHCSA Understanding cron Timing

RHCSA DAY - 03 62 RHCSA Managing cron Configuration Files

RHCSA DAY - 03 63 RHCSA Managing cron Configuration Files

RHCSA DAY - 03 64 RHCSA Managing cron Configuration Files

RHCSA DAY - 03 65 RHCSA Managing cron Configuration Files

RHCSA DAY - 03 66 RHCSA Managing cron Configuration Files

RHCSA DAY - 03 67 RHCSA Managing cron Configuration Files

RHCSA DAY - 03 68 RHCSA Understanding the Purpose of anacron

RHCSA DAY - 03 69 RHCSA Understanding the Purpose of anacron

RHCSA DAY - 03 70 RHCSA Exercise 12.1 Running Scheduled Tasks Through cron

RHCSA DAY - 03 71 RHCSA Exercise 12.1 Running Scheduled Tasks Through cron

RHCSA DAY - 03 72 RHCSA Configuring at to Schedule Future Tasks

RHCSA DAY - 03 73 RHCSA Exercise 12.2 Scheduling Jobs with at

RHCSA DAY - 03 74 RHCSA Summary

RHCSA DAY - 03 75 RHCSA Define Key Terms

. Define the following key terms:

• cron, • anacron, • at

RHCSA DAY - 03 76 RHCSA Lab 12.1

RHCSA DAY - 03 77 RHCSA

Chapter 13:

Configuring Logging

RHCSA DAY - 03 78 RHCSA Chapter 13 Objectives

. The following topics are covered in this chapter: • Understand System Logging • Configuring rsyslogd • Rotating Log Files • Working with journald

. The following RHCSA exam objectives are covered in this chapter: • Locate and interpret system log files and journals

RHCSA DAY - 03 79 RHCSA Configuring Logging

RHCSA DAY - 03 80 RHCSA Understanding System Logging

RHCSA DAY - 03 81 RHCSA Understanding the Role of rsyslogd and journald

RHCSA DAY - 03 82 RHCSA Understanding the Role of rsyslogd and journald

RHCSA DAY - 03 83 RHCSA Understanding the Role of rsyslogd and journald

RHCSA DAY - 03 84 RHCSA Reading Log Files

RHCSA DAY - 03 85 RHCSA Reading Log Files

RHCSA DAY - 03 86 RHCSA Understanding Log File Contents

RHCSA DAY - 03 87 RHCSA Understanding Log File Contents

RHCSA DAY - 03 88 RHCSA Live Log File Monitoring

RHCSA DAY - 03 89 RHCSA Using logger

RHCSA DAY - 03 90 RHCSA Exercise 13.1 Using Live Log Monitoring and logger

RHCSA DAY - 03 91 RHCSA Exercise 13.1 Using Live Log Monitoring and logger

RHCSA DAY - 03 92 RHCSA Configuring rsyslogd

RHCSA DAY - 03 93 RHCSA Understanding rsyslogd Configuration Files

RHCSA DAY - 03 94 RHCSA Understanding Facilities, Priorities, and Log Destinations

RHCSA DAY - 03 95 RHCSA Understanding Facilities, Priorities, and Log Destinations

RHCSA DAY - 03 96 RHCSA Understanding Facilities, Priorities, and Log Destinations

RHCSA DAY - 03 97 RHCSA Exercise 13.2 Changing rsyslog.conf Rules

RHCSA DAY - 03 98 RHCSA Exercise 13.2 Changing rsyslog.conf Rules

RHCSA DAY - 03 99 RHCSA Rotating Log Files

man logrotate

RHCSA DAY - 03 100 RHCSA Rotating Log Files

RHCSA DAY - 03 101 RHCSA Rotating Log Files

RHCSA DAY - 03 102 RHCSA Working with journald

RHCSA DAY - 03 103 RHCSA Using journalctl to Find Events

RHCSA DAY - 03 104 RHCSA Using journalctl to Find Events

RHCSA DAY - 03 105 RHCSA Exercise 13.3 Discovering journalctl

RHCSA DAY - 03 106 RHCSA Exercise 13.3 Discovering journalctl

RHCSA DAY - 03 107 RHCSA Exercise 13.3 Discovering journalctl

RHCSA DAY - 03 108 RHCSA Preserving the systemd Journal

RHCSA DAY - 03 109 RHCSA Preserving the systemd Journal

RHCSA DAY - 03 110 RHCSA Exercise 13.4 Making the journald Journal Permanent

RHCSA DAY - 03 111 RHCSA Summary

RHCSA DAY - 03 112 RHCSA Define Key Terms

. Define the following key terms:

• journald, • journalctl, • rsyslogd, • facility, • priority, • destination, • log rotation

RHCSA DAY - 03 113 RHCSA Lab 13.1

RHCSA DAY - 03 114 RHCSA

Chapter 14:

Managing Partitions

RHCSA DAY - 03 115 RHCSA Chapter 14 Objectives

. The following topics are covered in this chapter: • Understanding MBR and GPT Partitions • Managing Partitions and File Systems • Mounting File Systems

. The following RHCSA exam objectives are covered in this chapter: • List, create, delete partitions on MBR and GPT disks • Configure systems to mount file systems at boot by universal unique ID (UUID) or • Add new partitions and logical volumes, and swap to a system non- destructively • Create, mount, unmount, and use vfat, Ext4, and xfs file systems

RHCSA DAY - 03 116 RHCSA Managing Partitions

RHCSA DAY - 03 117 RHCSA Understanding MBR and GPT Partitions

RHCSA DAY - 03 118 RHCSA Understanding the MBR Partitioning Scheme

RHCSA DAY - 03 119 RHCSA Understanding the Need for GPT Partitioning

RHCSA DAY - 03 120 RHCSA Understanding the Need for GPT Partitioning

RHCSA DAY - 03 121 RHCSA Understanding Storage Measurement Units

RHCSA DAY - 03 122 RHCSA Managing Partitions and File Systems

RHCSA DAY - 03 123 RHCSA Exercise 14.1 Creating MBR Partitions with

RHCSA DAY - 03 124 RHCSA Exercise 14.1 Creating MBR Partitions with fdisk

RHCSA DAY - 03 125 RHCSA Exercise 14.1 Creating MBR Partitions with fdisk

RHCSA DAY - 03 126 RHCSA Exercise 14.1 Creating MBR Partitions with fdisk

RHCSA DAY - 03 127 RHCSA Exercise 14.1 Creating MBR Partitions with fdisk

RHCSA DAY - 03 128 RHCSA Exercise 14.1 Creating MBR Partitions with fdisk

RHCSA DAY - 03 129 RHCSA Exercise 14.1 Creating MBR Partitions with fdisk

RHCSA DAY - 03 130 RHCSA Exercise 14.1 Creating MBR Partitions with fdisk

RHCSA DAY - 03 131 RHCSA Creating GPT Partitions with gdisk

RHCSA DAY - 03 132 RHCSA Exercise 14.2 Creating GPT Partitions with gdisk

RHCSA DAY - 03 133 RHCSA Exercise 14.2 Creating GPT Partitions with gdisk

RHCSA DAY - 03 134 RHCSA Exercise 14.2 Creating GPT Partitions with gdisk

RHCSA DAY - 03 135 RHCSA Exercise 14.2 Creating GPT Partitions with gdisk

RHCSA DAY - 03 136 RHCSA Exercise 14.2 Creating GPT Partitions with gdisk

RHCSA DAY - 03 137 RHCSA Creating File Systems

RHCSA DAY - 03 138 RHCSA Creating File Systems

RHCSA DAY - 03 139 RHCSA Creating File Systems

RHCSA DAY - 03 140 RHCSA Changing File System Properties

RHCSA DAY - 03 141 RHCSA Managing Ext4 File System Properties

RHCSA DAY - 03 142 RHCSA Managing Ext4 File System Properties

RHCSA DAY - 03 143 RHCSA Adding Swap Partitions

RHCSA DAY - 03 144 RHCSA Exercise 14.5 Creating a Swap Partition

RHCSA DAY - 03 145 RHCSA Adding Swap Files

RHCSA DAY - 03 146 RHCSA Mounting File Systems

RHCSA DAY - 03 147 RHCSA Manually Mounting File Systems

RHCSA DAY - 03 148 RHCSA Using Device Names, UUIDs, or Disk Labels

RHCSA DAY - 03 149 RHCSA Using Device Names, UUIDs, or Disk Labels

RHCSA DAY - 03 150 RHCSA Using Device Names, UUIDs, or Disk Labels

RHCSA DAY - 03 151 RHCSA Automating File System Mounts Through /etc/fstab

RHCSA DAY - 03 152 RHCSA Automating File System Mounts Through /etc/fstab

RHCSA DAY - 03 153 RHCSA Automating File System Mounts Through /etc/fstab

RHCSA DAY - 03 154 RHCSA Automating File System Mounts Through /etc/fstab

RHCSA DAY - 03 155 RHCSA Automating File System Mounts Through /etc/fstab

RHCSA DAY - 03 156 RHCSA Exercise 14.6 Mounting Partitions Through /etc/fstab

RHCSA DAY - 03 157 RHCSA Summary

RHCSA DAY - 03 158 RHCSA Define Key Terms

. Define the following key terms:

• BIOS, • MBR, • partition, • primary partition, • extended partition, • logical partition, • GPT, • mount, • umount, • UUID, • label, • Ext2, Ext3, Ext4, XFS, BtrFS,VFAT, • fstab

RHCSA DAY - 03 159 RHCSA Lab 14.1

RHCSA DAY - 03 160 RHCSA Lab 14.2

RHCSA DAY - 03 161 RHCSA

Chapter 15:

Managing LVM Logical Volumes

RHCSA DAY - 03 162 RHCSA Chapter 15 Objectives

. The following topics are covered in this chapter: • Understanding LVM • Creating LVM Logical Volumes • Resizing LVM Logical Volumes

. The following RHCSA exam objectives are covered in this chapter: • Create and remove physical volumes, assign physical volumes to volume groups, and create and delete logical volumes • Extend existing logical volumes

RHCSA DAY - 03 163 RHCSA Managing LVM Logical Volumes

RHCSA DAY - 03 164 RHCSA LVM Architecture

RHCSA DAY - 03 165 RHCSA LVM Architecture

RHCSA DAY - 03 166 RHCSA LVM Features

RHCSA DAY - 03 167 RHCSA Creating LVM Logical Volumes

RHCSA DAY - 03 168 RHCSA Creating LVM Logical Volumes

RHCSA DAY - 03 169 RHCSA Creating the Physical Volumes

RHCSA DAY - 03 170 RHCSA Exercise 15.1 Creating the Physical Volume

RHCSA DAY - 03 171 RHCSA Exercise 15.1 Creating the Physical Volume

RHCSA DAY - 03 172 RHCSA Exercise 15.1 Creating the Physical Volume

RHCSA DAY - 03 173 RHCSA Creating the Physical Volume

RHCSA DAY - 03 174 RHCSA Creating the Physical Volume

RHCSA DAY - 03 175 RHCSA Creating the Volume Groups

RHCSA DAY - 03 176 RHCSA Creating the Volume Groups

RHCSA DAY - 03 177 RHCSA Creating the Volume Groups

RHCSA DAY - 03 178 RHCSA Creating the Logical Volumes and File Systems

RHCSA DAY - 03 179 RHCSA Understanding LVM Device Naming

RHCSA DAY - 03 180 RHCSA Understanding LVM Device Naming

RHCSA DAY - 03 181 RHCSA Exercise 15.2 Creating the Volume Group and Logical Volumes

RHCSA DAY - 03 182 RHCSA Exercise 15.2 Creating the Volume Group and Logical Volumes

RHCSA DAY - 03 183 RHCSA LVM Management Essential

RHCSA DAY - 03 184 RHCSA Resizing LVM Logical Volumes

RHCSA DAY - 03 185 RHCSA Resizing Volume Groups

RHCSA DAY - 03 186 RHCSA Resizing Volume Groups

RHCSA DAY - 03 187 RHCSA Resizing Logical Volumes and File Systems

RHCSA DAY - 03 188 RHCSA Resizing Logical Volumes and File Systems

RHCSA DAY - 03 189 RHCSA Exercise 15.3 Resizing Logical Volumes

RHCSA DAY - 03 190 RHCSA Exercise 15.3 Resizing Logical Volumes

RHCSA DAY - 03 191 RHCSA Summary

RHCSA DAY - 03 192 RHCSA Define Key Terms

. Define the following key terms:

• PV, • physical volume, • VG, • volume group, • LV, • logical volume, • device mapper, • physical extent, • logical extent, • snapshot

RHCSA DAY - 03 193 RHCSA Lab 15.1

RHCSA DAY - 03 194 Q&A