Download Red Hat Linux System Administration I – Concepts

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Process management (computing) wikipedia , lookup

Computer terminal wikipedia , lookup

Linux adoption wikipedia , lookup

Security-focused operating system wikipedia , lookup

Smallfoot wikipedia , lookup

DNIX wikipedia , lookup

Acorn MOS wikipedia , lookup

Windows NT startup process wikipedia , lookup

Spring (operating system) wikipedia , lookup

RSTS/E wikipedia , lookup

MTS system architecture wikipedia , lookup

OS 2200 wikipedia , lookup

Plan 9 from Bell Labs wikipedia , lookup

Commodore DOS wikipedia , lookup

CP/M wikipedia , lookup

Burroughs MCP wikipedia , lookup

Computer file wikipedia , lookup

Comparison of command shells wikipedia , lookup

VS/9 wikipedia , lookup

Unix security wikipedia , lookup

Transcript
Red Hat Linux System Administration I – Concepts,
Utilities, Installation and Commands
Course ID
RHL100
Course Description
Students are quickly shown the underlying concepts and designs of Linux systems. Content and
Labs are designed specifically for non-Linux administrators wishing to quickly become familiar
with the installation, file system concepts, process management, basic scripting, printing, and a
host of standard administration commands and utilities. The objective of this class is to help
attendees develop significant conceptual and technical abilities related to administration of a
Linux host in just a few days. This course is applicable to any version of Linux and is complaint
to the Red Hat SA1 course, RHEL 6.3 and prepares students for the RHCE exam.
Prerequisites
Basic computer skills are required. Some experience using any PC operating system, including
Windows or Mac, is needed.
Audience
Linux administrators
Duration
4 days
Course Content
Basic Linux Overview








Overview ‘UNIX’ compliant Operating Systems (OS)
Outline the many features and architectural advantages
A brief but important step back into UNIX History and Principles
A tour of the open source developments: GNU Project, FSF, and the GPL
Where did Linux Begin, Its’ Origins and Its’ Benefits
How does Red Hat Linux Differ from other Linux Offerings
Recommended Hardware Requirements
Linux Provides The X Window System with Multiple GUI Desktops




Installation concepts and tips
Practice Logging Into The System Using GUI and Text Modes
Work with the GUI and text based help systems
Installing as a workstation and a web server
A Quick GUI Tour of Linux















Discover The Many Components of the Linux User Interface
Installation as a server or a workstation, or both
Understand The Significance of Local Logins and Users
Understand The Concepts of Design and Examine the Linux File system
Why Are There So Many Command Line Shells
How to 'Run' Commands
What Do Command Options Do To Commands
Understand How To Get Help: man Pages and Other Utilities
Beginner Commands To Know: date, and cal (Calendar)
Be Aware That Not All Commands Have Options And Syntax Varies
How To Change Your Password Using The ‘passwd’ Command
Understanding the Conceptual Design and Usage of Virtual Consoles
Customize, Create and Terminate terminal windows on the desktop
Work with 2 Separate Terminal Windows Simultaneously
Use the man pages to find the syntax to change the date output to ‘dd/mm/yy’
The Basics of Working With Files In Any Shell












Understanding The Current Working Directory
What Is A File Name
What Are Absolute and Relative Pathnames
Where Is The Home Directory
What Are System Directories Used For
How Do You Change To A Different Directory
How To List Directory Contents
Understand How To Check For Free Space On Your Disk
How To Copy, Move and Rename Files and Directories
Which Commands Create and Remove Directory Structures
Concepts of and How To Determine File ‘Content’ Type
Basics of Viewing Text Files






Quick Intro to Editing Text Files
General Overview of Filename Pattern Matching
Practice File and Directory Operations
Create Graphic and Text Files
Viewing Various File Formats in GUI File Manager
Working with Various File Formats In Terminal Window
Concepts Of Users and Groups










What Are User Accounts
What Are Group Account ID’s
Red Hat Linux Security Model Isolates Users and Their Group ID
Understand Role of root User and Other System Users and Groups
Display User Information With Various Commands – id, who, w, users
What If You Needed To Change Your Identity?
How Do You Change File Ownership?
How To Display All User Account Information
What Happens When You Change Your Password
Displaying and modifying certain User Information that is only changed by the ‘owner’
using ‘id’, ‘chfn’, ‘chsh’, ‘w’, ‘who’
File Access Permissions













Define Basic File Security ‘Permissions’
Understand The 3 Permission Groups
Learn How To Modify File Permissions
Understand How To Pre-Set New File Permission Settings
File Security
Examining Permissions on Files and Directories
File Permission Types
User Permission Categories
Default File Permissions
Changing Access Permissions
Special Permission Types and Their Usage
Displaying and Changing File Permissions On Any File
Using a GUI File Manager and Navigator To Change Permissions
The Linux File System and Installation












Linux File Hierarchy Concepts
ext2/ext3 Filesystem Details
Creating and Managing Hard and Soft Links
Mounting Removable Media Like Floppies
Finding and ‘Processing’ Files Any Where On The System
File Compression and Archiving Utilities zip, unzip and tar
Installation requirements and concepts
Create links to bizarre binary files with better local names
Uncompress A Set of Lab Files
Find all large compressed html files and decompress them to local directories
Unzip a Windows created zipped archive
Install as a workstation and install as a web server
The bash Shell



















The bash ‘Heritage’ is From The Bourne and C Shells
What are Shell and Environment Variables
Which Command is Executed?
How To Use Command Recall
Discover Command-Line Expansion
Protecting Command Line Arguments from Expansion
How To Deal With Command Return Values
Command ‘Aliases’
How To Create Shell Functions
Why Use The Startup and Shutdown Scripts
Determining The Login Shells Available
Command History Tricks
Command Completion and Editing Tricks
Configuring the bash Shell
Practice using command recall with and without editing
Practice using the command completion feature when working with long file names
Create a command within a command
Create a few DOS equivalent command aliases, then delete them
Shutdown and reboot your machine
X Window System GNOME & KDE Desktops























The X Window System
The X Protocol
The GNOME and KDE Desktop Environment
Original X Environment
Window Managers
Switching Desktop Environments
Mouse Configuration
Copying and Pasting in X
Starting X
GUI Terminals and Editors
Nautilus: the GNOME File Browser
GNOME Desktop Applications
Web Browsers and Mail Clients
GNOME Office Applications
OpenOffice.org Applications
Image Utilities
Audio Applications
KDE Applications
X Customization
Customize Gnome Desktop Icons, Start Menu Options, Task Bar Options
Configure Similar Options in KDE
Save a screen shot of your customization
Put screen shot into a web page
Standard I/O and Pipes









Redirecting Input and Output
Overwriting and Appending
Redirecting Standard Error
Redirecting Both Standard Output and Error
Sending Unwanted Output to /dev/null
Using Pipes to Connect Processes
Create a text based contact name and phone number list
Creating Text Files From Command Outputs
Adding System Information to Text Files

Discard File System Errors From The List Command
Introduction to String Processing Tools














Counting Words, Lines and Characters Using wc
Sorting ‘Rows’ of Records by Any Field Using sort
Printing Lines of Files With Specific Strings Within Them Using grep
Printing Selected Columns and Fields Using cut
Rearranging Columns and Fields Using cut
Other String Processing Tools Using join, tee
Determining Differences Between Files Using diff,cmp
Spell-checking Files Using spell
Formatting Text Using pr
Count how many user accounts there are other than root
Count the number of errors generated from a command
Save the error information separately from the saved output information
Add your name, blank lines and the current date in ‘mm/dd/yy’ format
Re-arrange the output from a list command so only file name, size and permissions are
displayed.
String Processing with Regular Expressions













Understand basic ‘Pattern Matching’ using a ‘Regular Expression’ (RE)
Searching for RE Patterns in Files using ‘grep’
RE characters for Wildcards
RE characters for Modifiers
RE characters for Anchors
Combining Multiple Regular Expressions In One Request
Modifying Streams of Data Using ‘sed’
Searching Multiple Files For The Same RE
You Need More? Use Extended Regular Expressions
Using Extended RE Patterns Within sed, egrep, awk
Select all the link files out of the /bin and /usr/bin directories
Select All binary files that contain dog and cat in them, upper or lower case
Select all files from bin directories that have ‘HOWTO’ followed by ‘dog or cat’ strings in
their names as well
Introduction to Processes


















How to Define a Process in Memory
How Processes Are Started
Understanding Process Ancestry and States
Viewing Your Processes or All Processes
Sending Terminating Signals to Processes
Starting multiple processes in a Terminal Window
Suspending a Process
Switching To Any Suspended Process
Listing and Resuming Background and Suspended Jobs
Altering Process Scheduling Priority using ‘nice’
Running a Process in the Foreground or Background
What Happens With Compound Commands: sequencing, pipelines
Display User and All Processes
Start multiple processes from a command prompt
Switch between these processes from the command line
Suspend and Terminate Other Processes
Start, Switch and Terminate GUI based Processes
Use a GUI Tool to Display, Change and Terminate Processes
Using the vi and vim Editors














What Do I Need A Text Editor For?
Starting vi or vim
Three Modes of vi and vim
The 10 Commandments of vi
Cursor Movement
Entering and Leaving Insert Mode
Changing, Deleting, Yanking, and Putting Text
Undoing Last or All Changes
Quitting without Saving or Saving and Exiting
Filtering Text through Linux Commands
Searching, Replacing, and Regular Expressions
Configuring vi and vim
Expanding your Vocabulary of vi commands
Using vi to create and modify a web page (text file)


Add Graphics and Other File Types To Web Page
Creating and Editing A Contact List File
Basics of 'bash' Shell Scripting
















What is A Shell Script
Essential Scripting Basics
Creating a Simple Shell Script
Making Scripts Executable
Generating Output From Your Script
Handling Input From The User or Command Line
Establishing an Exit Status For Any Script
Conditional Execution Based On Exit Status
Forever or Specific Number of Iteration Loops
Breaking Out of Loops
Using Positional Parameters
Create a contacts file
Create an add routine for the contact file
Create a search routine for the contact file
Create a deletion routine for the contact file
Creating a backup of a file before using the vi editor
Essentials of Printing







Printing in Red Hat Linux
Printer Control Usage
Printing From Applications
Printing Utilities For BSD and Sys5 Users
Adding A Header and Offset To Print Job With pr
Queuing up a few print jobs, deleting selected print jobs
Using help or man to find how to create multiple copies with a the command line
Fundamentals of Using eMail



Understand Email Topology
Discover The Variety of Email Clients Available
Implement Email Delivery via POP and IMAP





How To Utilize Email Filtering
Why and How To Use Fetchmail
Setting up your email for remote access
Sending and Receiving eMail to and from other hosts
Using a terminal oriented client
Basic Networking Overview














How To Determine Connectivity to Another Host
Discover Hidden Information About Routes and Interfaces
Learn How To List the Route to a Particular Host
Understand Host Name Translation To IP Address Services
How to List DNS Records
Display Domain Contacts
How To Transfer Files Across the Network
Carefully Check the Status of Network Ports
Utilize The Secure Shell Remote Access Service
Test connectivity to a partner machine
Send and Retrieve a file to and from the partner machine
List the DNS service IP addresses for partner and classroom machines
Display the Port Status of Partner and Classroom Machines
Secure Shell Into Your Partner and Classroom Machine
Intro To System Tools







Terminal Configuration
Getting Information About Your System
Scheduling a Process to Execute Later
Scheduling Periodic Processes
RPM Package Manager Queries
System Administrator Duties
Work with these System Tools to schedule weekly backups, monthly reports, daily
cleanup and reminder notice