Linux System Administration

Course Details
Code: 55187
Tuition (USD): $2,595.00 $2,335.50 • Classroom (4 days)

This course gives you all the skills and information you need to pass the LFCS exam, one of the required components of the MCSA Linux on Azure certification. Youll learn how to administer Linux systems as it runs on Azure, including:- How to administer, configure and upgrade Linux systems running one of the three major Linux distribution families: Red Hat, SUSE, Debian/Ubuntu.- How to master the tools and concepts youll need to efficiently build and manage an enterprise Linux infrastructure.- How to use state-of-the-art system administration techniques in real-life scenarios via practical labs.- And more.

Skills Gained

  • Perform essential Linux commands such as installation, searches and manipulating files.
  • Operate running Linux systems by managing the boot process, scheduling jobs, updating the system, monitoring system performance and managing security.
  • Manage users and groups by adding/deleting/modifying, configuring LDAP and PAM, modifying user processes and resources.
  • Ensure network performance via configuration, monitoring, tunnelling and routing of traffic.
  • Configure services such as DNS, shares, SSH and SELinux/AppArmor as well as servers for DHCP and HTTP.
  • Manage system storage by using partitions, logical volumes, phsyical volumes, ACLs, quotas and clustering.

Who Can Benefit

This course is intended for System administrators and users who already have at least some basic exposure to Linux or another UNIX-based operating system constitute the target audience for this class. Anyone who is looking to acquire practical knowledge in the field of system administration in enterprise environments will save significant time by attending this course. It should also be considered a necessary step to be taken by anyone considering more advanced classes in our System Administration curriculum track. The concepts covered provide important building blocks for anyone looking to attend more advanced classes, in particular LFS311: Linux Network Management.

Prerequisites

  • Knowledge of the basic components of Linux.
  • Familiarity with text editors (emacs, VI).
  • Working knowledge of Bash scripting.
  • Attendees should already have prior exposure to a Linux or UNIX system and practical experience with the command line interface at a level that is equivalent to what is covered in our free LFS101x - Introduction to Linux course (available on edX.org). Basic tools such as text editors, file utilities and basic tasks are assumed to be well-understood prior to this course.

Course Details

Outline

Module 1: Introduction This module defines the organization responsible for Linux and explains how it promtes, protects, and advances Linux. Lessons

  • Linux Foundation
  • Linux Foundation Training
  • Linux Foundation Certifications
  • Laboratory Exercises, Solutions and Resources
  • E-Learning Course: LFS201
  • Distribution Details
Lab 1: Module 1 Labs
  • Conguring the System for sudo
After completing this module, students will be able to:
  • Describe the mission of The Linux Foundation and its role in the Linux and Open Source community.
  • Configure the system for safe use via the sudo command.
Module 2: Linux Filesystem Tree Layout This module explains how the Linux Filesystem is organized and points out the key directories and their roles. Lessons
  • One Big File System
  • Data Distinctions
  • FHS Linux Standard Directory Tree
  • root (/) directory
  • /bin
  • /boot
  • /dev
  • /etc
  • /home
  • /lib and /lib64
  • /media
  • /mnt
  • /opt
  • /proc
  • /sys
  • /root
  • /sbin
  • /srv
  • /tmp
  • /usr
  • /var
  • /run
Lab 1: Module 2 Labs
  • Change size of the default directories
  • Touring the /proc Filesystem
After completing this module, students will be able to:
  • Describe how the Linux Filesystem is set up.
  • Demonstrate knowledge of how the key directories work.
Module 3: Processes This module explains how to work with Linux processes. It begins with an overview of what processes are and how they work before procreding to illustrate how to create, monitor, prioritize and limit processes. Lessons
  • Programs and Processes
  • Process Limits
  • Creating Processes
  • Process States
  • Execution Modes
  • Daemons
  • niceness
  • Libraries
Lab 1: Module 3 Labs
  • Controlling Processes with ulimit
  • Examining System V IPC Activity
After completing this module, students will be able to:
  • Describe the role of processes in Linux and how they relate to programs.
  • Identify the different states processes can take.
  • Monitor and limit processes.
  • Set process priority using niceness values.
Module 4: Signals This module explains what signals are, the types of signals, and how to work with them on a Linux system. Lessons
  • Signals
  • Types of Signals
  • Kill and pkill
Lab 1: Module 4 Labs
  • Examining Signal Priorities and Execution
After completing this module, students will be able to:
  • Describe a signal and program them
Module 5: Package Management Systems This module explains how to work with the major package management systems used in Linux distributions. Covers both RPM and DKPG as well as the use of version control systems such as git. Lessons
  • Software Packaging Concepts
  • Why Use Packages?
  • Package Types
  • Available Package Management Systems
  • Packaging Tool Levels and Varieties
  • Package Sources
  • Creating Software Packages
  • Revision Control Systems
  • Available Source Control Systems
  • The Linux Kernel and git
Lab 1: Module 5 Labs
  • Version control with git
After completing this module, students will be able to:
  • Understand the role and function of package management systems.
Module 6: RPM This module explains in detail what Red Hat Package Manager is (RPM) and how to install and configure it on a Linux system. Lessons
  • RPM (Red Hat Package Manager
  • Package File Names
  • RPM Database and Helper Programs
  • Queries
  • Verifying Packages
  • Installing and Removing Packages
  • Updating, Upgrading and Freshening RPM Packages
  • Upgrading the Linux Kernel
  • rpm2cpio
Lab 1: Module 6 Labs
  • Using RPM
  • Rebuilding the RPM Database
After completing this module, students will be able to:
  • Understand and use RPM.
Module 7: dpkg This module explains in detail what Debian Package is (dpkg) and how to install and configure it on a Linux system. Lessons
  • DPKG (Debian Package)
  • Package File Names and Source
  • DPKG Queries
  • Installing/Upgrading/Uninstalling
Lab 1: Module 7 Labs
  • Using dpkg
After completing this module, students will be able to:
  • Understand and use dpkg
Module 8: yum This module explains how to use the major package installer yum. It also explains the role that package installers play in automating software management and dealing with dependencies. Lessons
  • Package Installers
  • Yum
  • Queries
  • Verifying Packages
  • Installing/Removing/Upgrading Packages
  • Additional yum Commands
  • dnf
Lab 1: Module 8 Labs
  • Basic yum commands
  • Using yum to find information about a package
  • Managing groups of packages with yum
  • Adding a new yum repository
After completing this module, students will be able to:
  • Describe the role that package installers play in managing the software update process.
  • Demonstrate proficiency with yum.
Module 9: zypper This module explains how to use the major package installer zypper. It also explains the role that package installers play in automating software management and dealing with dependencies. Lessons
  • Zipper
  • Queries
  • Installing/Removing/Upgrading Packages
  • Additional zypper Commands
Lab 1: Module 9 Labs
  • Basic zypper commands
  • Using zypper to find information about a package
After completing this module, students will be able to:
  • Describe the role that package installers play in managing the software update process.
  • Demonstrate proficiency with zypper.
Module 10: APT This module explains how to use the major package installer APT. It also explains the role that package installers play in automating software management and dealing with dependencies. Lessons
  • APT
  • apt
  • Queries
  • Installing/Removing/Upgrading Packages
  • Cleaning Up
Lab 1: Module 10 Labs
  • Basic APT commands
  • Using APT to find information about a package
  • Managing groups of packages using APT
After completing this module, students will be able to:
  • Describe the role that package installers play in managing the software update process.
  • Demonstrate proficiency with APT.
Module 11: System Monitoring This module explains how to monitor your Linux system and use tools to test it and report any issues. Lessons
  • System Monitoring
  • sar **
  • Network Monitoring
  • System Log Files
Lab 1: Module 11 Labs
  • Using stress
After completing this module, students will be able to:
  • Stress your Linux system and monitor results.
Module 12: Process Monitoring This module explains how to use tools and utilities on a Linux system to monitor system processes. Lessons
  • Process Monitoring
  • ps
  • pstree
  • top
Lab 1: Module 12 Labs
  • Processes
  • Monitoring Process States
After completing this module, students will be able to:
  • Monitor the performance of drives and file systems.
Module 13: Memory Monitoring and Usage This module explains how to use tools to monitor and tune memory on a Linux system. Lessons
  • This module explains how to use tools to monitor and tune memory on a Linux system.
Lab 1: Module 13 Labs
  • Invoking the OOM Killer
After completing this module, students will be able to:
  • Monitor and tune memory and us the out of memory killer
Module 14: I/O Monitoring and Tuning This module explains how to monitor input and output activity and tune I/O to obtain peak performance of a Linux system. Lessons
  • I/O Monitoring
  • iostat
  • iotop
  • ionice
Lab 1: Module 14 Labs
  • bonnie++
  • fs mark
After completing this module, students will be able to:
  • Benchmark the performance of drives and filesystems on a Linux machine.
Module 15: I/O Scheduling** This module explains what the I/O Scheduler does and the choices available. Lessons
  • I/O Scheduling
  • I/O Scheduler Choices
Lab 1: Module 15 Labs
  • Comparing I/O Schedulers
After completing this module, students will be able to:
  • Compare I/O schedulers and understand their use.
Module 16: Filesystems and the VFS This module explains how to work with Linux Filesystems, starting with the understanding that Linux treats everything as a file. It covers Virtual filesystem (VFS), Filesystem Usage and Attributes, Major types (ext4, XFS, btrfs) and how to create, format, mount, swap and repair Filesystems. Lessons
  • Filesystem Basics
  • Filesystem Concepts
  • Virtual Filesystem (VFS)
  • Available Filesystems
  • Journalling Filesystems
  • Special Filesystems
Lab 1: Module 16 Labs
  • The tmpfs Special Filesystem
After completing this module, students will be able to:
  • Create Filesystems.
  • Format Filesystems.
  • Mount Filesystems.
Module 17: Disk Partitioning This module explains how to work with disks in Linux by naming, partitioning and sizing them. Lessons
  • Common Disk Types
  • Disk Geometry
  • Partitioning
  • Partition Tables
  • Naming Disk Devices
  • SCSI Device Names
  • blkid and lsblk
  • Sizing up partitions
  • Backing Up and Restoring Partition Tables
  • Partition table editors
  • fdisk
Lab 1: Module 17 Labs
  • Using a file as a disk partition image
  • Partioning a Disk Image file
  • Using losetup and parted
  • Partitioning a real hard disk
After completing this module, students will be able to:
  • Partition disks.
  • Name disk drives.
  • Size partitions.
  • Edit partition tables.
Module 18: Filesystem Features: Attributes, Creating, Checking, Mounting This module expands on Module 17. It explains how to create, format, mount and check filesystems. Lessons
  • Extended Attributes
  • Creating and formatting lesystems
  • Checking and Repairing Filesystems
  • Mounting lesystems
  • NFS
  • Mounting at Boot and /etc/fstab
  • automount
Lab 1: Module 18 Labs
  • Working with file attributes
  • Mounting Options
After completing this module, students will be able to:
  • Create and format a filesystem.
  • Repair a filesystem.
  • Mount/Unmount a filesystem.
Module 19: Filesystem Features: Swap, Quotas, Usage This module expands on Module 17. It explains how to swap memory regions, enforce quotas on filesystem types, and use commands to look at file system and disk usage. Lessons
  • Swap
  • Filesystem Quotas **
  • Filesystem Usage
  • Disk Usage
Lab 1: Module 19 Labs
  • Managing Swap Space
After completing this module, students will be able to:
  • Create and format a filesystem.
  • Repair a filesystem.
  • Mount/Unmount a filesystem.
  • Understand and set up filesystem quotas.
Module 20: The Ext2/Ext3/Ext4 Filesystems This module expands on module 17 and explains specifically how to work with ext2/ext3/ext4 Linux Filesystems. Lessons
  • ext4 Features
  • ext4 Layout and Superblock and Block Groups
  • dumpe2fs
  • tune2fs
Lab 1: Module 20 Labs
  • Defragmentation
  • Modifying Filesystem Parameters with tune2fs
After completing this module, students will be able to:
  • Explain in detail the ext4 file system
  • Use tools to defragment and modify the file system
Module 21: The XFS and BTRFS Filesystems ** This module expands on module 17 and explains specifically how to work with XFS and BTRFS Linux Filesystems. Lessons
  • XFS
  • btrfs
Lab 1: Module 21 Labs
  • Finding out more about XFS
  • Finding out more about btrfs
After completing this module, students will be able to:
  • Explain in detail the xfs and btrfs file systems
Module 22: Encrypting Disks This module explains how to protect filesystems from prying eyes and protect the data they contain. Lessons
  • Filesystem Encryption
  • LUKS
  • cryptsetup
  • Using an Encrypted Partition
  • Mounting at Boot
Lab 1: Module 22 Labs
  • Disk Encryption
  • Encrypted Swap
After completing this module, students will be able to:
  • Provide sound reasons for using encryption and know when it is called for.
  • Understand how LUKS operates through the use of cryptsetup.
  • Be able to set up and use encrypted lesystems and partitions.
  • Know how to congure the system to mount encrypted partitions at boot.
Module 23: Logical Volume Management (LVM) This module explains how to work with Logical Volume Management (LVM) and understand its advantages. Lessons
  • Logical Volume Management (LVM)
  • Volumes and Volume Groups
  • Working with Logical Volumes
  • Resizing Logical Volumes
  • LVM Snapshots **
Lab 1: Module 23 Labs
  • Creating Logical Volumes
After completing this module, students will be able to:
  • Create, resize and utilize Logical Volumes.
  • Work with LVM snapshots.
Module 24: RAID ** This module explains how to work with a Redundant Array of Independent Disks - RAID. Lessons
  • RAID
  • RAID Levels
  • Software RAID Conguration
  • Monitoring RAIDs
  • RAID Hot Spares
Lab 1: Module 24 Labs
  • Creating a RAID device
After completing this module, students will be able to:
  • Understand, configure and monitor RAID.
Module 25: Kernel Services and Conguration This module explains how the Linux Kernel is configured, how the modules and utilities work, and how to use the sysctl interface to read and tune the kernel. Lessons
  • Kernel Overview
  • Kernel Configuration
  • Kernel Boot Parameters
  • sysctl
Lab 1: Module 25 Labs
  • System Tunables with sysctl
  • Changing the Maximum Process ID
After completing this module, students will be able to:
  • Describe how the Linux Kernel is configured.
  • Work with sysctl.
Module 26: Kernel Modules This module explains how the Linux Kernel can be configured as modules. Lessons
  • Kernel Modules
  • Module Utilities
  • modinfo
  • Module Conguration
Lab 1: Module 26 Labs
  • Working with Kernel modules.
After completing this module, students will be able to:
  • Describe how the Linux Kernel is configured.
  • Work with Kernel modules.
  • Manage devices.
Module 27: Devices and udev This module explains how to work with udev (use device management) for loading and unloading devices. Lessons
  • udev and Device Management
  • Device Nodes
  • Rules
Lab 1: Module 27 Labs
  • Working with udev
After completing this module, students will be able to:
  • Manage devices.
  • Work with udev and sysctl.
Module 28: Virtualization Overview This module explains Virtualization, gives a brief history, and shows how to create and install a virtual machine. Lessons
  • Introduction to Virtualization
  • Hosts and Guests
  • Emulation
  • Hypervisors
  • libvirt
  • QEMU
  • KVM
Lab 1: Module 28 Labs
  • Making Sure KVM is Properly Set up
  • Using virt-manager with KVM to Install a Virtual Machine and Run it
  • Extra Credit: Doing from he command line
After completing this module, students will be able to:
  • Create and install a virtual machine.
Module 29: Containers Overview This module explains the basics of what a container is, what application virtualization is, and Docker as an example of container technology. Lessons
  • Containers
  • Application Virtualization
  • Containers vs Virtual Machines
  • Docker
  • Docker Commands
Lab 1: Module 29 Labs
  • Install and test Apache (httpd) as a Docker application.
After completing this module, students will be able to:
  • Understand the basics of containers and container applications.
  • Install and test a Docker application.
Module 30: User Account Management This module explains how to work with users accounts in Linux including how to work with passwords, restricted shells, the root account, and SSH. Lessons
  • User Accounts
  • Management of User Accounts
  • Locked Accounts
  • Passwords
  • /etc/shadow
  • Password Management
  • Password Aging
  • Restricted Shells and Accounts **
  • The root Account
  • SSH
Lab 1: Module 30 Labs
  • Working with user accounts
  • Restricted Shells and Accounts
After completing this module, students will be able to:
  • Manage users by adding/deleting/modifying them.
  • Modify user processes and resources.
  • Appropriately use the root account.
  • Use SSH to securely access remote systems.
Module 31: Group Management This module explains how to manage user groups in Linux. Lessons
  • Groups
  • Group Management
  • User Private Groups
  • Group Membership
Lab 1: Module 31 Labs
  • Working with groups
After completing this module, students will be able to:
  • Manage users groups by adding/deleting/modifying them.
Module 32: File Permissions and Ownership This module explains how to check use ownership rights on a Linux system and grant permissions. Lessons
  • File Permissions and Ownership
  • File Access Rights
  • chmod, chown and chgrp
  • umask
  • Filesystem ACLs
Lab 1: Module 32 Labs
  • Using chmod
  • Unmask
  • Using Access Control Lists
After completing this module, students will be able to:
  • Determine the permissions of a system user.
  • Add or remove permissions.
Module 33: Pluggable Authentication Modules (PAM) This module explains how to work with PAM on a Linux system. Lessons
  • PAM (Pluggable Authentication Modules)
  • Authentication Process
  • Conguring PAM
  • LDAP Authentication **
Lab 1: Module 33 Labs
  • PAM Conguration
After completing this module, students will be able to:
  • Use a PAM configuration on a Linux system to perform tasks, for example to deny a user access after three unsuccessful attempts to log in.
Module 34: Network Addresses This module explains what IP Addresses are, the main types in use, and how to work with them on a Linux system. Lessons
  • IP Addresses
  • IPv4 Address Types
  • IPv6 Address Types
  • Address Classes
  • Netmasks
  • Hostnames
Lab 1: Module 34 Labs
  • There are no lab exercises in this chapter. It just sets the stage for the following section on network conguration, which has several labs.
After completing this module, students will be able to:
  • Know what IP Addresses are, the main types in use, and how to work with them on a Linux system.
Module 35: Network Devices and Conguration This module explains how to conduct basic networking in Linux. It covers IP addresses, Hostnames, Network Interfaces, Routing and Name Resolution. Lessons
  • Network Devices
  • ip
  • ifcong
  • Predictable Network Interface Device Names
  • Network Conguration Files
  • Network Manager
  • Routing
  • DNS and Name Resolution
  • Network Diagnostics
Lab 1: Module 35 Labs
  • Static configuration of a network interface
  • Adding a static hostname
  • Adding a network interface alias
  • Adding a Static Route using nmcli
After completing this module, students will be able to:
  • Explain how IP addresses function.
  • Manipulate hostnames.
  • Configure network interfaces.
  • Route traffic persistently and non-persistently.
  • Perform network diagnostics.
Module 36: Firewalls This module explains how to work with firewalls in Linux. It covers both command line tools and GUI tools as well as firewalld. Zones and source management are discussed, as is service and port management. Lessons
  • Firewalls
  • Interfaces
  • firewalld
  • Zones
  • Source Management
  • Service and Port Management
Lab 1: Module 36 Labs
  • Installing firewalld
  • Examining firewall-cmd
  • Adding services to a zone
  • Using the firewall GUI
After completing this module, students will be able to:
  • Describe the role and function of firewalls.
  • Understand the most commonly use tools.
  • Describe the function of zones.
  • Implement services on zones.
Module 37: System Startup and Shutdown This module explains how to manage startup and shutdown processes in Linux. Lessons
  • Understanding the Boot Sequence
  • Boot Loaders
  • System Configuration Files in /etc
  • Shutting down/Rebooting the System
Lab 1: Module 37 Labs
  • Run Shutdown vs. Halt vs. Reboot
After completing this module, students will be able to:
  • Manage startup process in Linux.
  • Manage shutdown process in Linux.
Module 38: GRUB This module explains how to handle early phases of Linux system start up using the Grand Unified Boot Loader GRUB. Lessons
  • The Grand Unied Boot Loader (GRUB)
  • Interactive Selections with GRUB at Boot
  • Installing GRUB
  • Customizing the GRUB Conguration
Lab 1: Module 38 Labs
  • Boot into non-graphical mode using GRUB
After completing this module, students will be able to:
  • Understand, work with, and install GRUB
Module 39: Init, SystemV, Upstart, systemd This module explains how to use Init and other tools to coordinate the later stages of the boot process on a Linux system. Lessons
  • The init Process
  • Startup Alternatives
  • systemd
  • SysVinit Startup **
  • chkconfig and service **
  • Upstart **
Lab 1: Module 39 Labs
  • Adding a New Startup Service with SysVinit
  • Adding a New Startup Service with systemd
After completing this module, students will be able to:
  • Manage startup process in Linux.
  • Manage shutdown process in Linux.
Module 40: Backup and Recovery Methods This module explains how to backup data in Linux. It covers the tools that are used for backup and compression as well as for moving and copying files and also for restoring files. Lessons
  • Backup Basics
  • Backup vs Archive
  • Backup Methods and Strategies
  • tar
  • Compression: gzip, bzip2 and xz and Backups
  • dd
  • rsync
  • cpio **
  • dump and restore **
  • mt **
  • Backup Programs **
Lab 1: Module 40 Labs
  • Using tar for backup
  • Using cpio for backup
  • Using rsync for backup
After completing this module, students will be able to:
  • Describe the benefits of backup up data.
  • Demonstrate proficiency with common backup tools.
  • Demonstrate proficiency with common compression tools.
Module 41: Linux Security Modules This module explains how the Linux kernel enhances security through the use of the Linux Security Modules framework, particularly with the deployment of SELinux. Lessons
  • Linux Security Modules
  • SELinux
  • AppArmor
Lab 1: Module 41 Labs
  • SELinux: Contexts
  • Explore the apparmor security
After completing this module, students will be able to:
  • Understand enhanced security mode in Linux and its importance in making sure permissions are valid.
Module 42: Local System Security This module explains how to secure systems against both internal and external threats. It covers how to identify risks and provides guidance on how to decide what protection is appropriate. Finally, it covers the basic types of security available (physical, filesystem, and security modules e.g. SELinux). Lessons
  • Local System Security
  • Creating a Security Policy
  • Updates and Security
  • Physical Security
  • BIOS
  • Bootloader
  • Filesystem Security
  • setuid/setgid bits
Lab 1: Module 42 Labs
  • Security and mount options
  • More on setuid and scripts
After completing this module, students will be able to:
  • Describe the sources of threats to system security.
  • Understand the components important to creating a security policy.
  • Demonstrate basic familiarity with SELinux.
Module 43: Basic Troubleshooting This module explains how to conduct troubleshooting in Linux as well as likely sources of issues. Lessons
  • Troubleshooting Levels
  • Troubleshooting Techniques
  • Things to Check: Networking
  • Things to Check: File Integrity
  • Boot Process Failures
  • Filesystem Corruption and Recovery
  • Virtual Consoles
Lab 1: Module 43 Labs
  • There are no lab exercises for in this chapter. It just summarizes points discussed earlier when considering conguring and monitoring the system, and in addition, sets the stage for the following section on system rescue, which has several labs.
After completing this module, students will be able to:
  • Describe the common sources of corruption/performance issues.
  • Identify the cause of system issues.
Module 44: System Rescue This module explains concepts in system rescue and recovery and how to identify corrupted filesystems. Lessons
  • Rescue Media and Troubleshooting
  • Using Rescue/Recovery Media
  • System Rescue and Recovery
  • Emergency Boot Media
  • Using Rescue Media
  • Emergency Mode
  • Single User Mode
Lab 1: Module 44 Labs
  • Preparing to use Rescue/Recover media
  • Recovering from a corrupted GRUB configuration
  • Recovering from a password failure
  • Recovering from partition table corruption
  • Recovering using the install image
After completing this module, students will be able to:
  • Recover a system after some of the most common types of issues.