Comprehensive, hands-on training that solves real-world problems
RHCE Certification Lab
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
DAY D AO YNONE E
DAY TWO
Introduction
SELinu& $ermissions
Service ManageMent and oot !roubleshooting
Configuring Maria' 'atabases
DAT YHREE $roviding Remote loc# Storage
Configuring Lin# )ggregation and ridging
Managing
*riting ash
I$v( "etwor#ing
Scripts
"etwor# $ort Securit%
RH299-RHEL7-en-1-20141208
DAY FOUR
Copyright © 2014 Red Hat, Inc.
DAY ONE
Introduction
Introduction Service Management . oot !roubleshooting
●
*elcome
●
Course +bectives and
"etwor# $ort Securit% ●
●
RH299-RHEL7-en-1-20141208
Structure Classroom "etwor# Internationaliation
Copyright © 2014 Red Hat, Inc.
Welcome to Class
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Course Objectives and tructure
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Orientation to Classroom Net!or"
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Internationali#ation
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
DAY D AO YNONE E
DAY TWO
Introduction
SELinu& $ermissions
Service ManageMent and oot !roubleshooting
Configuring Maria' 'atabases
DAT YHREE $roviding Remote loc# Storage
Configuring Lin# )ggregation and ridging
Managing
*riting ash
I$v( "etwor#ing
Scripts
"etwor# $ort Securit%
RH299-RHEL7-en-1-20141208
DAY FOUR
Copyright © 2014 Red Hat, Inc.
DAY ONE Service Management . oot !roubleshooting "etwor# $ort Securit%
ervice $ana%ement and &oot Troubles'ootin% ●
●
●
●
●
●
RH299-RHEL7-en-1-20141208
Identif%ing )utomaticall% Started S%stem $rocesses Controlling S%stem Services Linu& oot $rocess Repairing Common oot Issues Repairing /ile S%stem Issues at oot Repairing oot Loader Issues
Copyright © 2014 Red Hat, Inc.
(oal)
!o control and monitor s%stem daemons and troubleshoot the Red Hat Enterprise Linu& boot process0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Objectives)
●
●
●
●
●
●
List s%stem daemons and networ# services started b% the s%stemd service and soc#et units0 Control s%stem daemons and networ# services using s%stemctl0 'escribe the Red Hat Enterprise Linu& boot process0 Repair common boot issues0 Repair file s%stem issues at boot0 Repair boot loader problems0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Identi*+in% Automaticall+ tarted +stem ,rocesses
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Identi*+ t'e tatus o* s+stemd Units
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Controllin% +stem ervices
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Usin% s+stemctl to $ana%e ervices
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
T'e Red Hat Enter-rise .inu/ &oot ,rocess
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) electin% a &oot Tar%et
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Re-airin% Common &oot Issues
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Resettin% a .ost root ,ass!ord
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Re-airin% File +stem Issues at &oot
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Re-airin% &oot ,roblems
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Re-airin% &oot .oader Issues
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
.ab) Controllin% ervices and ,ractice) Daemons Re-airin% a &oot .oader ,roblem
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
.ab) Controllin% ervices and Daemons
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
DAY ONE Service Management . oot !roubleshooting "etwor# $ort Securit%
Net!or" ,ort ecurit+ ●
Managing /irewalld
●
Managing Rich Rules
●
●
RH299-RHEL7-en-1-20141208
Mas1uerading and $ort /orwarding )dding Custom firewalld 2ones and Services
Copyright © 2014 Red Hat, Inc.
(oal)
!o permit and reect access to networ# services using advanced SELinu& and firewalld filtering techni1ues0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Objectives) ●
●
●
●
Review firewalld concepts and management commands covered in previous courses0 Configure more comple& firewall configurations using firewalld3s support for 4rich language rules04 'escribe and implement "etwor# )ddress !ranslation 5")!60 Customie and create predefined firewalld services and ones to simplif% configuration0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
$ana%in% Fire!alld
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Con*i%urin% a Fire!all
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
$ana%in% Ric' Rules
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Writin% Custom Rules
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
$as0ueradin% and ,ort For!ardin%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) For!ardin% a ,ort
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Addin% Custom *ire!alld 1ones and ervices
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Con*i%ure a Custom Fire!all
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
.ab) Net!or" ,ort ecurit+
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
DAY TWO SELinu& Maria'
E.inu/ ,ermissions ●
●
●
●
●
●
RH299-RHEL7-en-1-20141208
Enabling and Monitoring SELinu& Changing SELinu& Modes Changing SELinu& Conte&ts Changing SELinu& ooleans Managing SELinu& $ort Labeling !roubleshooting SELinu&
Copyright © 2014 Red Hat, Inc.
(oal)
!o manage the Securit% Enhanced Linu& 5SELinu&6 behavior of a s%stem to #eep it secure in case of a networ# service compromise0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Objectives)
●
●
●
●
●
●
E&plain the basics of SELinu& permissions0 Change SELinu& modes with setenforce0 Change file conte&ts with semanage and restorecon0 Manage SELinu& booleans with setsebool0 Ensure networ# ports have the correct SELinu& t%pe so that services are able to bind to them0 E&amine logs and use sealert to troubleshoot SELinu& violations0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Enablin% and $onitorin% ecurit+ En'anced .inu/ 2E.inu/3
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
4ui#) E.inu/ Conce-ts
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
C'an%in% E.inu/ $odes
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) C'an%in% E.inu/ $odes
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
C'an%in% E.inu/ Conte/ts
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) C'an%in% E.inu/ Conte/ts
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
C'an%in% E.inu/ &ooleans
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) C'an%in% E.inu/ &ooleans
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
$ana%in% E.inu/ ,ort .abelin%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) $ana%in% E.inu/ ,ort .abelin%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Troubles'ootin% E.inu/
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Troubles'ootin% E.inu/
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
.ab) $ana%in% E.inu/ ecurit+
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
DAY TWO SELinu& Maria'
Con*i%urin% $ariaD& Databases ●
Installing Maria'
●
*or#ing with Maria'
●
'atabases Managing 'atabase 7sers and )ccess Rights
●
RH299-RHEL7-en-1-20141208
Creating and Restoring Maria' ac#ups
Copyright © 2014 Red Hat, Inc.
(oal)
!o provide a Maria' S8L database for use b% programs and database administrators0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Objectives)
●
●
●
●
Install Maria'0 Configure and administer Maria'0 Configure user and access rights0 ac# up and restore Maria' databases0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Installin% $ariaD&
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Installin% $ariaD&
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Wor"in% !it' $ariaD& Databases
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
4ui#) $ariaD& Commands
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
$ana%in% Database Users and Access Ri%'ts
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) $ana%in% Users
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Creatin% and Restorin% $ariaD& &ac"u-s
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Restorin% a $ariaD& Database *rom &ac"u-
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
.ab) Con*i%urin% $ariaD& Databases
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
DAY THREE Remote loc# Storage I$v( "etwor#ing
RH299-RHEL7-en-1-20141208
,rovidin% Remote &loc" tora%e ●
iSCSI Concepts
●
$roviding iSCSI !argets
●
)ccessing iSCSI Storage
Copyright © 2014 Red Hat, Inc.
(oal)
!o provide and use networ#ed iSCSI bloc# devices as remote dis#s0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Objectives)
●
●
●
E&plain at a high level how iSCSI is used to provide remote access to bloc# devices0 $rovide remote access using a local dis# as a L7" of an iSCSI storage target0 )ccess remote storage using an iSCSI initiator and prepare it for use0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
iCI Conce-ts
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
4ui#) iCI Conce-ts
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,rovidin% iCI Tar%ets
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) ,rovidin% iCI Tar%ets
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Accessin% iCI tora%e
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Accessin% iCI tora%e
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
.ab) ,rovidin% &loc"5based tora%e
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
DAY THREE Remote loc# Storage I$v( "etwor#ing
$ana%in% I,v6 Net!or"in% ●
●
●
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
(oal)
!o configure and troubleshoot basic I$v( networ#ing on Red Hat Enterprise Linu& s%stems0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Objectives)
●
●
●
Review how to configure I$v9 networ#ing in RHEL : E&plain the basic concepts of I$v( networ#ing and read and write condensed I$v( addresses Configure I$v( networ#ing using command-line tools and configuration files
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Revie! o* I,v7 Net!or"in% Con*i%uration
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Con*i%urin% I,v7 Net!or"in%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
I,v6 Net!or"in% Conce-ts
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
4ui#) Inter-retin% I,v6 Addresses
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
I,v6 Net!or"in% Con*i%uration
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Con*i%urin% I,v6 Net!or"in%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
.ab) $ana%in% I,v6 Net!or"in%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
DAY FOUR Lin# )ggregation and ridging *riting ash Scripts
RH299-RHEL7-en-1-20141208
Con*i%urin% .in" A%%re%ation and &rid%in% ●
Configuring "etwor# !eaming
●
Managing "etwor# !eaming
●
Configuring Software ridges
Copyright © 2014 Red Hat, Inc.
(oal)
!o configure and troubleshoot advanced networ# interface functionalit%, including bonding, teaming, and local software bridges0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Objectives)
●
●
●
7se networ# teaming to provide lin# redundanc% or higher throughput0 Manage a networ# team interface0 Manage local software bridges and associated interfaces0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Con*i%urin% Net!or" Teamin%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Con*i%urin% Net!or" Teamin%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
$ana%in% Net!or" Teamin%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) $ana%in% Net!or" Teamin%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Con*i%urin% o*t!are &rid%es
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Con*i%urin% o*t!are &rid%es
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
.ab) Con*i%urin% .in" A%%re%ation and &rid%in%
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
DAY FOUR Lin# )ggregation and ridging *riting ash Scripts
RH299-RHEL7-en-1-20141208
Writin% &as' &asics ●
ash Shell Scripting asics
Copyright © 2014 Red Hat, Inc.
(oal)
!o write simple, well-structured shell scripts using ash3s shell e&pansion features and for-loop construct0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
Objectives)
●
!o write simple shell scripts using ash0
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
&as' 'ell cri-tin% &asics
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
,ractice) Writin% &as' cri-ts
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
.ab) Writin% &as' cri-ts
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.
RH299-RHEL7-en-1-20141208
Copyright © 2014 Red Hat, Inc.