GL906 - Building RPMs and Shell Scripting Basics

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:
  1. Shell Basics
    1. Role of Command Shell
    2. Communication Channels
    3. File Redirection
    4. Piping Commands Together
    5. Filename Matching
    6. File Globbing and Wildcard Patterns
    7. Brace Expansion
    8. Shell and Environment Variables
    9. Key Environment Variables
    10. Which and Type
    11. General Quoting Rules
    12. Nesting Commands
    Lab Tasks
    1. Redirection and Pipes
    2. Wildcard File Matching
    3. Shell Variables
    4. Shell Meta-Characters
    5. Command Substitution
  2. Managing RPMs
    1. Managing Software
    2. RPM Features
    3. RPM Architecture
    4. RPM Package Files
    5. Working With RPMs
    6. Source RPMs
    7. Using Source RPMs
    8. Compiling/Installing from Source
    9. Manually Installed Shared Libraries
    10. Rebuilding Source RPM Packages
    Lab Tasks
    1. Managing Software with RPM
    2. Querying the RPM Database
    3. Installing Software via RPM & Source and Rebuilding SRPMs
  3. Creating RPMs
    1. Creating New RPMs
    2. Patching Software
    3. Revising a Package
    4. Creating Support Files
    5. Typical SysV Init Script (legacy)
    6. systemd unit files
    7. Creating Menu Entries
    8. The Spec file
    9. Using Macros
    10. The Header Stanza
    11. Prep, Build, and Install
    12. The Files Section
    13. Optional Script Section(s)
    14. The Changelog Section
    15. Putting it all together...
    16. Advanced Packaging
    17. Building Packages
    18. Dealing With RPM & Yum Digest Changes
    19. Digitally Signing Packages
    20. Other RPM Resources
    Lab Tasks
    1. Updating RPMs for New Software Releases
    2. Creating a New RPM Package
    3. Digital Signatures and RPM
  4. Introduction to Shell Scripting
    1. Shell Script Strengths and Weaknesses
    2. Example Shell Script
    3. Positional Parameters
    4. Input & Output
    5. Doing Math
    6. Comparisons with test
    7. Exit Status
    8. Conditional Statements
    9. Flow Control: case
    10. The for Loop
    11. The while and until Loops
    Lab Tasks
    1. Writing a Shell Script
  1. Command Shells
    1. Shells
    2. Identifying the Shell
    3. Changing the Shell
    4. Configuration Files
    5. Script Execution
    6. Shell Prompts
    7. Bash: Bourne-Again Shell
    8. Bash: Configuration Files
    9. Bash: Command Line History
    10. Bash: Command Editing
    11. Bash: Command Completion
    12. Bash: "shortcuts"
    13. Bash: prompt
    14. Setting Resource Limits via ulimit
    Lab Tasks
    1. Linux Shells
    2. Bash History
    3. Aliases
    4. Bash Login Scripts
    5. The Z Shell
Upcoming GL906 Classes
No classes currently scheduled.
Request this class
Don't see what you're looking for? Check our schedule or make a request.