Get in Touch

Course Outline

Debian Distribution

Introduction to Debian

  • Selecting Debian versions
  • Debian support resources and assistance
  • The Debian community

Console Fundamentals

  • The shell prompt
  • Using the shell prompt within X
  • Root account and root shell prompt (su, sudo, executing programs as root under X)
  • Graphical system administration tools
  • Virtual consoles
  • Exiting the command prompt
  • Shutting down the system
  • Restoring a stable console
  • Recommended additional packages for beginners
  • Creating additional user accounts
  • Configuring sudo

The File System

  • File system permissions
  • Controlling permissions for new files: umask
  • Permissions for user groups
  • Timestamps
  • Symbolic and hard links
  • Named pipes (FIFOs)
  • Sockets
  • Device files
  • Special device files
  • procfs and sysfs

Midnight Commander (MC)

  • Customizing MC
  • Launching MC
  • File management within MC
  • Command-line techniques in MC
  • MC's built-in editor
  • MC's built-in viewer
  • MC auto-start features
  • MC's FTP virtual file system

The Basic Unix-like Work Environment

  • The login shell
  • Customizing bash
  • Special key combinations
  • Using the pager
  • Setting a default text editor
  • Exiting vim
  • Recording shell activities
  • Essential Unix commands

The Simple Shell Command

  • Command execution and environment variables
  • The "$LANG" variable
  • The "$PATH" variable
  • The "$HOME" variable
  • Command line options
  • Shell globbing
  • Command return values
  • Common command sequences and shell redirection
  • Command aliases

Unix-like Text Processing

  • Unix text utilities
  • Regular expressions
  • Replacement expressions
  • Global substitution using regular expressions
  • Extracting data from text file tables
  • Script snippets for piping commands

Debian Package Management

Prerequisites for Debian Package Management

  • Package configuration
  • Basic precautions
  • Living with continuous upgrades
  • Basics of the Debian archive
  • Package dependencies
  • The event flow in package management
  • Initial responses to package management issues

Basic Package Management Operations

  • apt-get/apt-cache vs. aptitude
  • Basic package management operations via command line
  • Interactive usage of aptitude
  • aptitude key bindings
  • Package views in aptitude
  • Search method options in aptitude
  • The aptitude regex formula
  • Dependency resolution in aptitude
  • Package activity logs

Examples of aptitude Operations

  • Listing packages with regex matching on names
  • Browsing using regex matching
  • Permanently purging removed packages
  • Managing auto/manual install status
  • System-wide upgrades

Advanced Package Management Operations

  • Advanced package management operations via command line
  • Verifying installed package files
  • Protecting against package issues
  • Searching package metadata

Debian Package Management Internals

  • Archive metadata
  • Top-level "Release" file and authenticity
  • Archive-level "Release" files
  • Fetching metadata for packages
  • Package state in APT
  • Package state in aptitude
  • Local copies of fetched packages
  • Debian package file naming conventions
  • The dpkg command
  • The update-alternative command
  • The dpkg-statoverride command
  • The dpkg-divert command

Recovery from a Broken System

  • Incompatibility with old user configurations
  • Conflicting packages with overlapping files
  • Fixing broken package scripts
  • Rescue using the dpkg command
  • Recovering package selection data

Tips for Package Management

  • Selecting the right Debian packages
  • Packages from mixed source archives
  • Adjusting candidate versions
  • Updates and Backports
  • Automatic download and upgrade of packages
  • Limiting APT download bandwidth
  • Emergency downgrading
  • Identifying package uploaders
  • The equivs package
  • Porting packages to stable systems
  • Proxy server for APT
  • Small public package archives
  • Recording and copying system configurations
  • Converting or installing alien binary packages
  • Extracting packages without dpkg
  • Further reading on package management

System Initialization

  • Overview of the boot strap process
  • BIOS, boot loader, and mini-Debian system
  • The meaning of runlevels
  • Configuring runlevels
  • Runlevel management example
  • Default parameters for each init script
  • Hostname configuration
  • File system configuration
  • Network interface initialization
  • Network service initialization
  • System messages
  • Kernel messages
  • The udev system
  • Kernel module initialization

Authentication and Security

  • Standard Unix authentication
  • Managing account and password information
  • Creating strong passwords
  • Generating encrypted passwords
  • PAM and NSS
  • Configuration files used by PAM and NSS
  • Modern centralized system management
  • "Why GNU su does not support the wheel group"
  • Implementing stricter password rules
  • Other access control mechanisms
  • sudo
  • SELinux and AppArmor
  • Restricting access to specific server services
  • Authentication security
  • Secure password transmission over the internet
  • Secure Shell (SSH)
  • Additional internet security measures
  • Securing the root password

Network Setup

Basic Network Infrastructure

  • Domain names
  • Hostname resolution
  • Network interface naming
  • LAN network address ranges
  • Network device support

Modern Desktop Network Configuration

  • Graphical network configuration tools

Low-Level Network Configuration

  • Iproute2 commands
  • Safe low-level network operations

Network Optimization

  • Finding the optimal MTU
  • Setting the MTU
  • WAN TCP optimization

Netfilter Infrastructure

Network Applications

The Mail System

  • Basics of modern mail services
  • Mail configuration strategy for workstations

Mail Transport Agent (MTA) and Mail User Agent (MUA)

  • Overview of exim4
  • Basic MUA - Mutt

Mail Delivery Agent (MDA) with Filtering

  • maildrop configuration
  • procmail configuration
  • Redelivering mbox contents

POP3/IMAP4 Server

Remote Access Server and Utility (SSH)

  • SSH fundamentals
  • Port forwarding for SMTP/POP3 tunneling
  • Connecting without remote passwords
  • Handling non-standard SSH clients
  • Setting up ssh-agent
  • Shutting down the remote system via SSH
  • Troubleshooting SSH

Other Network Application Servers

Other Network Application Clients

Diagnosing System Daemons

The X Window System

  • Setting up the desktop environment
  • Server/client relationship
  • The X server
  • Starting the X Window System
  • Starting an X session with gdm
  • Customizing the X session (classic method)
  • Customizing the X session (new method)
  • Connecting a remote X client via SSH
  • Secure X terminal access via the internet
  • X applications
  • X office applications
  • X utility applications

System Tips

The Screen Program

  • Use scenarios for screen(1)
  • Key bindings for the screen command

Data Recording and Presentation

  • The log daemon
  • Log analyzer
  • Cleanly recording shell activities
  • Customizing text data display
  • Customizing time and date display
  • Colorized shell echo
  • Colorized commands
  • Recording editor activities for complex repetitions
  • Capturing graphic images of X applications
  • Tracking changes in configuration files

Data Storage Tips

  • Disk partition configuration
  • Accessing partitions using UUID
  • File system configuration
  • File system creation and integrity checks
  • Optimizing file systems via mount options
  • Optimizing file systems via superblock
  • Hard disk optimization
  • Using SMART to predict hard disk failure
  • Expanding usable storage space via LVM
  • Expanding usable storage space by mounting another partition
  • Expanding usable storage space using symlinks
  • Expanding usable storage space using aufs

Data Encryption Tips

  • Removable disk encryption with dm-crypt/LUKS
  • Encrypted swap partition with dm-crypt
  • Automatically encrypting files with eCryptfs
  • Automatically mounting eCryptfs

Monitoring, Controlling, and Starting Program Activities

  • Timing a process
  • Scheduling priority
  • The ps command
  • The top command
  • Listing files opened by a process
  • Tracing program activities
  • Identifying processes using files or sockets
  • Repeating a command at a constant interval
  • Repeating a command by looping over files
  • Starting a program from the GUI
  • Customizing programs to be started
  • Terminating a process
  • Scheduling one-time tasks
  • Scheduling regular tasks
  • Alt-SysRq key

System Maintenance Tips

  • Identifying who is on the system
  • Warning all users
  • Hardware identification
  • Hardware configuration
  • System and hardware time
  • Terminal configuration
  • Sound infrastructure
  • Disabling the screen saver
  • Disabling beep sounds
  • Memory usage
  • System security and integrity checks

The Kernel

  • Kernel parameters
  • Kernel headers
  • Compiling the kernel and related modules
  • Compiling kernel source: Debian standard method
  • Compiling module source: Debian standard method
  • Non-free hardware drivers

Virtualized Systems

  • Virtualization tools
  • Virtualization workflow
  • Mounting virtual disk image files
  • Chroot system
  • Multiple desktop systems

Data Management

Sharing, Copying, and Archiving

  • Archive and compression tools
  • Copy and synchronization tools
  • Common practices for archiving
  • Common practices for copying
  • Common practices for file selection
  • Backup and recovery
  • Backup utility suites
  • Example script for system backup
  • Script for data backup copying
  • Removable storage devices
  • Sharing data via network
  • Archive media

Binary Data

  • Viewing and editing binary data
  • Manipulating files without mounting disks
  • Data redundancy
  • Data file recovery and forensic analysis
  • Splitting large files into smaller ones
  • Clearing file contents
  • Dummy files
  • Erasing an entire hard disk
  • Erasing unused areas of a hard disk
  • Undeleting deleted but still open files
  • Searching all hard links
  • Invisible disk space consumption

Data Security Infrastructure

  • Key management for GnuPG (signing and encrypting)
  • MD5 sum

Requirements

There are no specific prerequisites required for enrollment in this course.

 35 Hours

Related Categories