A custom course for managing and creating RPMs. Course includes topics for understanding the shell and shell scripting.
- Prerequisites:
Understanding of Linux basics
- Supported Distributions:
- Red Hat Enterprise Linux 7
- Course Outline:
-
- Shell Basics
- Role of Command Shell
- Communication Channels
- File Redirection
- Piping Commands Together
- Filename Matching
- File Globbing and Wildcard Patterns
- Brace Expansion
- Shell and Environment Variables
- Key Environment Variables
- Which and Type
- General Quoting Rules
- Nesting Commands
Lab Tasks
- Redirection and Pipes
- Wildcard File Matching
- Shell Variables
- Shell Meta-Characters
- Command Substitution
- Managing RPMs
- Managing Software
- RPM Features
- RPM Architecture
- RPM Package Files
- Working With RPMs
- Source RPMs
- Using Source RPMs
- Compiling/Installing from Source
- Manually Installed Shared Libraries
- Rebuilding Source RPM Packages
Lab Tasks
- Managing Software with RPM
- Querying the RPM Database
- Installing Software via RPM & Source and Rebuilding SRPMs
- Creating RPMs
- Creating New RPMs
- Patching Software
- Revising a Package
- Creating Support Files
- Typical SysV Init Script (legacy)
- systemd unit files
- Creating Menu Entries
- The Spec file
- Using Macros
- The Header Stanza
- Prep, Build, and Install
- The Files Section
- Optional Script Section(s)
- The Changelog Section
- Putting it all together...
- Advanced Packaging
- Building Packages
- Dealing With RPM & Yum Digest Changes
- Digitally Signing Packages
- Other RPM Resources
Lab Tasks
- Updating RPMs for New Software Releases
- Creating a New RPM Package
- Digital Signatures and RPM
- Introduction to Shell Scripting
- Shell Script Strengths and Weaknesses
- Example Shell Script
- Positional Parameters
- Input & Output
- Doing Math
- Comparisons with test
- Exit Status
- Conditional Statements
- Flow Control: case
- The for Loop
- The while and until Loops
Lab Tasks
- Writing a Shell Script
- Command Shells
- Shells
- Identifying the Shell
- Changing the Shell
- Configuration Files
- Script Execution
- Shell Prompts
- Bash: Bourne-Again Shell
- Bash: Configuration Files
- Bash: Command Line History
- Bash: Command Editing
- Bash: Command Completion
- Bash: "shortcuts"
- Bash: prompt
- Setting Resource Limits via ulimit
Lab Tasks
- Linux Shells
- Bash History
- Aliases
- Bash Login Scripts
- The Z Shell
|
Don't see what you're looking for? Check our
schedule
or make a request.
|