Você está na página 1de 217

Comprehensive, hands-on t raining t hat solves real-world

problems

Red Hat Syst em


Administ ration I

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY O N E

DAY T W O

DAY T H R E E

Working
wit h Text
Files
Local
Users and
Groups

Processe
s
(cont inue
d)
Service
s

Managing
Files

Permission
s

OpenSS
H

Get t ing
Help

Processe
s

Log
s

Int roduct i
on
Command
Line

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY F O U R
Net workin
g
Archiving
Files
Soft war
e
Package
s

DAY F I V E
File
System
Virt ualizin
g
Systems
Revie
w

DAY O N E

In t r oduct io n

Introductio
n

Command
Line
Managing

Welcome to Class

Course Objectives
and Str uct ure

Orient ation to
Classroom Network

Internationalization

Files Getting
Help
RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

W elco m e t o Class

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Co u rse Objectiv es and S t r uct u re

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY O N E

DAY T W O

DAY T H R E E

Working
wit h Text
Files
Local
Users and
Groups

Processe
s
(cont inue
d)
Service
s

Managing
Files

Permission
s

OpenSS
H

Get t ing
Help

Processe
s

Log
s

Int roduct i
on
Command
Line

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY F O U R
Net workin
g
Archiving
Files
Soft war
e
Package
s

DAY F I V E
File
System
Virt ualizin
g
Systems
Revie
w

Or ien t a t io n t o Classr oom N e t wo rk

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

In t e rnationali za t io n

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY O N E
Introductio
n
Command
Line

Chapt e r 1:
Accessing the
Command Line

Using the Local

Console Using the

Desktop Using the


BASH Shell

Managing
Files Getting
Help
RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To login to a Linux system and run simple commands


using the shell.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Use Bash shell synt ax to enter commands at a Linux


console. Launch applications in a GNOME desktop
environment .
Use Bash features to run commands from a shell
prompt using fewer keystrokes.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

A ccessing t h e Co m m a n d - L i n e
U sing t h e Local Console

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
Local Console A ccess Te rm s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

A ccessing t h e Co m m a n d - L i n e
U sing t h e D esk t op

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

E xecuting Com man ds


U sing t h e B A S H S hell

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
B A S H Comm ands and Keyboa rd
S h o rt cu ts

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
A ccessing t h e Co m m a n d Line

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY O N E
Introductio
n

Chapt e r 2 :
Managing Files From
the Command Line

The Linux File System

Hierarchy Locating Files by

Line

Name

Managing

Command

Files Getting
Help
RH124-RHEL7-en-120140606

Managing Files
Using CommandLine Tools
Matching File Names Using
Path Name Expansion

Copyright 2014 Red


Hat, Inc.

Goal:

To copy, move, create, delete, and organize files while


working from the Bash shell prompt .

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Identify the purpose for import ant directories on


a Linux system.
Specify files using absolute and relative path
names. Create, copy, move, and remove files and
directories using command-line utilities.
Match one or more file names using shell
expansion as argument s to shell commands.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

T he Linux File Sy st e m H i e ra rchy

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
File Sy st e m H i e ra rchy

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Loca t i n g File s by N a m e

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
Loca t in g File s and D i rect o ries

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Managing File s U sing Co m m a n d - L i n e Tools

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Co m m a n d - L i n e File Ma n ag em e nt

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

M a tching File N a m es U sing


Pa t h N a m e E xpansion

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
Pa t h N a m e E xpansion

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
Managing File s w i t h S hell E xpansion

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY O N E
Introductio
n

Chapt e r 3 :
Get ting Help in Red
Hat Ent erprise Linux

Command

Line

Managing

Files Getting

Reading Document ation


Using man Command
Reading Document ation
Using pinfo Command
Reading Documentat ion in
/usr/share/doc
Getting Help From Red
Hat

Help
RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To resolve problems by using on-line help systems and


Red Hat support utilities.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Use the man Linux manual


reader. Use the pinfo GNU
Info reader.
Use the Red Hat Package
Manager (RPM) package
documentation.
Use the redhat-support-tool
command.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Reading Docu m e nt at i o n U sing


m a n Co m m a n d

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
U sing t h e m a n Co m m a n d

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Reading Docu m e nt a t io n
U sing pinfo Co m m a n d

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Reading Docu m e nt a t io n
U sing pinfo Co m m a n d

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
U sing t h e pinfo Co m m a n d

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Reading Docu m e nt a t i o n
in / usr/ sh a re/ doc

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
V iewing Package Docu m e nt a t i o n

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Get t in g Help F r o m Red H a t

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Cr ea t i n g and V iewing an S oS Repo rt

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
V iewing and P r in t in g Help Docu m e nt at i o n

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY T W O
Working
with Text
Files
Local
Users and
Groups
Permission
s
Processes

RH124-RHEL7-en-120140606

Chapt e r 4 :
Creating, Viewing,
and Editing Text
Files

Redirect ing Output to a


File or Program

Editing Text Files from the


Shell Prompt
Editing Text Files
wit h a Graphical
Editor

Copyright 2014 Red


Hat, Inc.

Goal:

To create, view, and edit text files from command


output or in an editor.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Redirect the text output of a program to a file or to


another program.
Edit existing text files and create new files from t he
shell
prompt with a text editor.
Copy text from a graphical window to a text file using
a text editor running in the graphical environment .

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Redirectin g Ou t p u t t o a File or P r o g ra m

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
I / O Redirect io n and P ipelines

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Editing Tex t File s f r o m t h e S hell P r om pt

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Editing File s w i t h V i m

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Editing Tex t File s w i t h a G raphical Ed i tor

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Copying Tex t B et ween W indows

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
Cr eat in g, V iewing, and, Editing Tex t File s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY T W O
Working
with Text
Files
Local
Users and
Groups
Permission
s
Processes

Chapt e r 5 :
Managing Local
Linux Users and
Groups

Users and Groups

Gaining Superuser

Access

Managing Local User


Account s Managing Local
Group Account s Managing
User Passwords

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To manage local Linux users and groups and


administer local password policies.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Explain the role of users and groups on a Linux


system and how they are understood by the
computer.
Run commands as the superuser to administer a Linux
system. Create, modify, lock, and delete locally defined
user account s.
Create, modify, and delete locally defined group
account s.
Lock account s manually or by set ting a passwordaging policy in the shadow password file.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

U se rs and G roups

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
U se r and G roup Concept s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Gaining S u p e ruse r A ccess

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
R unning Com mands as r oot

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Managing Local U se r A ccount s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Cr ea t i n g U se rs U sing
Co m m a n d - l in e Tools

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Managing Local G roup A ccount s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Managing G roups U sing
Co m m a n d - l in e
Tools

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Managing U se r Passwo rds

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Managing U se r Passwo rd A ging

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
Managing Local Linux U se rs and G roups

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY T W O
Working
with Text
Files
Local
Users and
Groups
Permission
s
Processe
s

RH124-RHEL7-en-120140606

Chapt e r 6 :
Controlling Access t o
Files with Linux File
System Permissions

Linux File System


Permissions

Managing File System


Permissions from the
Command Line

Managing Default
Permissions and File
Access

Copyright 2014 Red


Hat, Inc.

Goal:

To set Linux file system permissions on files and


interpret the security effect s of different permission
set tings.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Explain how the Linux file permissions model


works. Change the permissions and ownership
of files using command-line tools.
Configure a directory in which newly created files
are automatically writ able by members of the group
which owns
the directory, using special permissions and default
umask settings.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Linux File Sy st e m P e rmissions

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
In t e rp retin g File and D i rect o ry
P e rmissi
ons

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Managing File Sy st e m P e rmissions f r o m t h e


Co m m a n d Line

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Managing File S ecu ri t y f r o m t h e
Co m m a n d Line

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Managing D efa u l t P e rmissions


and File A ccess

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Cont r olling N ew File P e rmissions
and Ow n e rship

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
Cont r olling A ccess t o File s w i t h Linux File
Sy st e m P e rmissions

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY T W O
Working
with Text
Files
Local
Users and
Groups
Permission
s
Processes

RH124-RHEL7-en-120140606

Chapt e r 7 :
Monitoring and
Managing Linux
Processes

Processes

Controlling

Jobs Killing
Processes
Monitoring
Process
Activity

Copyright 2014 Red


Hat, Inc.

Goal:

To evaluate and control processes running on a


Red Hat Enterprise Linux system.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

List and interpret basic information about processes


running on the system.
Control processes in the shell's session using bash job
control.
Terminate and control processes using signals.
Monitor resource usage and system load due to
process activity.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r ocesses

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
P r ocesses

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Cont r olling J o b s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
B ackg round and Fo re g round
P r ocesse
s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Killing P r ocesses

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Killing P r ocesses

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

M o n i to ring P r ocess A ct i v i ty

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
M o n i to ring P r ocess A ct i v i ty

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
M o n i to ring and Managing Linux P r ocesses

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY T H R E E
Processe
s

Chapt e r 8 :
Controlling Services
and Daemons

Services

OpenSS
H Logs

RH124-RHEL7-en-120140606

Ident ifying
Automatically Started
System Processes
Controlling System
Services

Copyright 2014 Red


Hat, Inc.

Goal:

To control and monitor net work services and system


daemons using systemd.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

List system daemons and net work services st arted by


systemd service and socket unit s.
Control system daemons and network
services using systemctl.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Ident i f ying A u to m a t ica ll y S t a r t ed Sy st e m


P r ocesses

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Ident i f y t h e st a tus of sy st em d u n i ts

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Cont r olling Sy st e m S e r vices

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
U sing sy st e m ct l t o Ma n a g e
S e r vices

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
Cont r olling S e r vices and D aemons

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY T H R E E
Processe
s

Chapt e r 9 :
Configuring and
Securing OpenSSH
Service

Services

OpenSS

H Logs

Accessing the Remote


Command Line with
SSH
Configuring SSH Keybased Authentication
Customizing SSH
Service Configuration

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To configure secure command-line access on remote


systems using OpenSSH.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Log into a remote system using ssh to run commands


from a shell prompt .
Set up ssh to allow secure password-free logins by
using a
private authentication key file.
Customize sshd configuration to restr ict direct logins
as root or to disable password-based authentication.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

A ccessing t h e Re m ot e Co m m a n d Line
with SSH

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
A ccessing t h e Re m ot e
Co m m a n d Line

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Conf iguring S S H Key -b ased A ut he n tic a t i o n

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
U sing S S H Key -b ased A uth e n tic a t i o n

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Cust omizing S S H S e rvice Conf igura t io n

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Rest r ict in g S S H Logins

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
Conf iguring and S ecu ring
OpenSS H
S e rvice

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY T H R E E
Processe
s
Services
OpenSS
H Logs

Chapt e r 10:
Analyzing and
St oring Logs

System Log

Architect ure Reviewing

Syslog Files

Reviewing systemd
Journal Entr ies
Preserving the systemd
Journal Maint aining
Accurate Time

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To locate and accurately interpret relevant system log


files for troubleshooting purposes.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Describe the basic syslog architect ure in Red Hat


Enterprise Linux 7.
Interpret entr ies in relevant syslog files to
troubleshoot problems or review system st atus.
Find and interpret log entries in the systemd
journal to
troubleshoot problems or review system st atus.
Configure systemd-journald to store it s journal on
disk rather than in memory.
Maint ain accurate time synchronization and t ime
zone configuration to ensure correct timest amps in
system logs.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Sy st e m Log A rch i tect u re

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
Sy st e m Logging Component s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Reviewing Sy slog File s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Finding Log E nt r ies

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Reviewing sy st em d J o u rnal E nt r ies

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Finding Event s w i t h journalct l

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r ese r ving t h e sy st em d J o u rnal

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Conf igure a P e rsist ent
sy st e m d J o u rnal

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Ma i n t aining A ccu ra te T i m e

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
A djust in g Sy st e m T i m e

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
A n a l yzing and S t o ring Logs

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY F O U R
Networking
Archiving Files
Software

Chapt e r 11:
Managing Red Hat
Linux Ent erprise
Net working
Net working Concept s
Validating Net work

Packages

Configuration Configuring
Net working with nmcli Editing
Network Configuration Files
Configuring host names and
Name Resolution

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To configure basic IPv4 networking on Red Hat


Enterprise Linux systems.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Explain fundament al concept s of computer


net working. Test and review current network
configuration with basic utilities.
Manage network settings and devices with
nmcli and Net workManager.
Modify network set tings by editing the
configuration files. Configure and test system
hostname and name resolution.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

N e t wo rking Concept s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
N e t wo rking Concept s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

V alidating N e t wo rk Conf igura t i o n

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
E xamining N e t wo rk Conf igura t i o n

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Conf iguring N e t wo rking w i t h n m cli

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Conf iguring N e t wo rking w i t h n m cli

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Editing N e t wo rk Conf igura t i o n File s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Editing N e t wo rk Conf igura t i o n File s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Conf iguring host n a m e s and N a m e Resolution

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Conf iguring host n a m e s
and N a m e Resolution

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
Managing Red H a t E nt e rp rise Linux
N e t wo rking

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY F O U R
Networking
Archiving Files
Software
Packages

Chapt e r 12:
Archiving and
Copying Files
Bet ween Syst ems

Managing Compressed
t ar Archives

Copying Files Between


Systems Securely
Synchronizing Files
Bet ween Systems
Securely

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To archive and copy files from one system to


another.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Use tar to create new compressed archive files and


ext ract files from existing archive files.
Copy files securely to or from a remote system
running sshd.
Securely synchronize t he content s of a local file or
directory with a remote copy.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Managing Co m p ressed t a r A rchives

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
B acking U p and Rest o ring File s F r o m
a t a r A rchive

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Copying File s B et ween Sy st ems S ecu rely

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Copying File s Ove r t h e N e t wo rk
W i t h scp

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Synch ronizing File s B et ween


Sy st em s S ecu rely

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Syn ch ronizing T wo D i rect o ries
S ecu rely w i t h
r sync

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
A rchiving and Copying File s
B et ween Sy st em s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY F O U R
Networking
Archiving Files

Chapt e r 13:
Inst alling and
Updating Sof tware
Packages

Software

Packages

RPM Software Packages


and YUM

Managing Software
Updates with yum

Enabling yum
Software
Copyright Repositories
2014 Red

RH124-RHEL7-en-120140606

At t aching Systems to
Subscriptions for
Software Updates

Hat, Inc.

Goal:

To download, install, update, and manage sof tware


packages from Red Hat and YUM package
repositories.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Register systems with your Red Hat account and


entitle t hem to software updates for installed
product s.
Explain what an RPM package is and how RPM
packages are used to manage software on a Red Hat
Enterprise Linux system.
Find, inst all, and update sof tware packages using
the yum command.
Enable and disable use of Red Hat or third-party
YUM
repositories.
Examine and install downloaded sof tware package
files.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

A t t aching Sy st em s t o S ubscr iptions for


S of t wa re U p d a tes

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
Red H a t S ubscr iptio n Ma na g em e nt

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

R P M S of t wa re Packages and Y u m

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
R P M S of t wa re Packages

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Managing S of t wa re U p d a tes w i t h y u m

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Inst alling and U pdating S of t wa re
with yum

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

E nabling y u m S of t wa re Reposi t o ries

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
E nabling S of t wa re Reposi t o ries

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

E xamining R P M Package File s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
W o rking w i t h R P M Package File s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
Inst alling and U pdating
S of t wa re
Packages

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY F I V E
File System

Chapt e r 1 4 :
Accessing Linux
File Syst ems

Virt ualized

Identifying File Systems


and Devices

Systems
Review
Review

Mounting and Unmounting


File Systems

Making Links between


Files Locating Files on the
System

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To access and inspect exist ing file systems on a


Red Hat Enterprise Linux system.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Identify the file system


hierarchy. Access the content s
of file systems.
Use hard links and symlinks to make multiple
names. Search for files on mounted file
systems.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Iden t i f ying File Sy st em s and D evices

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
Iden t i f ying File Sy st em s and D evices

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Mo u nt in g and U nmounti n g File Sy st em s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Mo u nt in g and U nmounti n g
File
Sy st em s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Making Links B et ween File s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Making Links B et ween File s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Loca t i n g File s on t h e Sy st e m

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

P r actic e:
Loca t i n g File s on t h e Sy st e m

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Lab:
A ccessing Linux File Sy st ems

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY F I V E
File System
Virt ualized
Systems Review

Chapt e r 1 5 :
Using Virt ualized
Syst ems

Managing a Local
Virt ualization Host
Installing a New Virt ual
Machine

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To create and use Red Hat Enterprise Linux virt ual


machines with Kernel-based Virt ual Machine (KVM)
and libvirt .

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv es:

Install a Red Hat Enterprise Linux system as a host for


running virt ual machines.
Perform an interactive install of Red Hat Enterprise
Linux on a virt ual machine.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Managing a Local V ir t ualiza t i o n H ost

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Quiz:
Managing a Local V ir t ualiza t io n H ost

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Inst alling a N ew V ir t ual M a chine

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Fil
e

Virtual Machine
Key

minimal Virtual
N achine

View Send

RED HAT ENERPRISE LINUX 7.0


INSTALLAION

INSTALLATION
SUMNARY

LOCALIZATI
ON
DATE & TINE
Arner/cas7/Vew York tiin
ezone
LANGUAGE
SUPPORT
English (Lltea 5
tates)

KEYBOA
RD

English
(U5)

SOFTWARE

SYSTEN
NETWORK & HOSTNAME
j /red (eth0) cornectea

RH124-RHEL7-en-1
-20140606

Copyright 2014 Red


Ht, InC.

redh

Fil
e

Virtual
Machine

View
Key

Se nd

minimal Virtual
N achine

CONFIGURATI
ON

RED HA ENERPRISE LINUX 7.0


INSALLAION

USER
SETTINGS

lnstallinq setup (2/


3 19)

RH124-RHEL7-en-1
-20140606

Copyright 2014 Red Ht,


lnC.

redh

P r actic e:
Inst alling a N ew V ir t ual M a chine

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Chapt e r Test :
U sing V ir t uali zed Sy st em s

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

DAY F I V E
File System
Virt ualized

Chapt e r 16:
Comprehensive
Review

Systems
Review
Review

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Goal:

To practice and demonstrate knowledge and skills


learned in Red Hat System Administration I.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Objectiv e:

Review course chapters to reinforce knowledge


and skills.

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

Co m p rehensiv e Review of
Sy st e m A dminist r a t io n I

RH124-RHEL7-en-120140606

Copyright 2014 Red


Hat, Inc.

RH124-RHEL7-en-1-20140606

Copyright 2014 Red Hat, Inc.

Você também pode gostar