Get in Touch

Course Outline

Debian Distribution

Understanding Debian

  • Selecting a Debian version
  • Debian support resources and assistance
  • The Debian community

Console fundamentals

  • The shell prompt
  • The shell prompt within the X environment
  • The 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 state
  • Recommended additional packages for beginners
  • Creating an additional user account
  • Configuring sudo

File system structure

  • File system permissions
  • Managing permissions for newly created files using umask
  • Group permissions for users
  • Timestamps
  • Links
  • Named pipes (FIFOs)
  • Sockets
  • Device files
  • Special device files
  • procfs and sysfs

Midnight Commander (MC)

  • Customizing MC
  • Launching MC
  • The file manager within MC
  • Command-line tips in MC
  • The built-in editor in MC
  • The built-in viewer in MC
  • MC auto-start features
  • The FTP virtual file system in MC

The basic Unix-like working environment

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

Basic shell commands

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

Unix-like text processing

  • Unix text tools
  • 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
  • Managing system upgrades
  • Basics of the Debian archive
  • Package dependencies
  • The flow of package management events
  • Initial responses to package management issues

Essential package management operations

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

Examples of aptitude operations

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

Advanced package management operations

  • Advanced command-line package operations
  • Verifying installed package files
  • Mitigating package issues
  • Searching package metadata

Internals of Debian package management

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

Recovering from a broken system

  • Incompatibility with old user configurations
  • Conflicts from overlapping package files
  • Fixing broken package scripts
  • Rescue using the dpkg command
  • Restoring package selection data

Package management tips

  • How to choose Debian packages
  • Packages from mixed archive sources
  • Adjusting candidate versions
  • Updates and Backports
  • Automatic package download and upgrade
  • Limiting APT download bandwidth
  • Emergency downgrading
  • Identifying package uploaders
  • The equivs package
  • Porting packages to stable systems
  • Proxy servers for APT
  • Small public package archives
  • Recording and copying system configurations
  • Converting or installing foreign binary packages
  • Extracting packages without dpkg
  • Further reading on package management

System initialization

  • An overview of the bootstrapping process
  • BIOS, boot loader, and mini-Debian systems
  • The concept of runlevels
  • Configuring runlevels
  • Example of runlevel management
  • Default parameters for init scripts
  • Hostname
  • The file system
  • 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"
  • Stricter password rules
  • Other access controls
  • sudo
  • SELinux and Apparmor
  • Restricting access to specific server services
  • Authentication security
  • Securing passwords 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 names
  • Network address ranges for LANs
  • Network device support

Modern network configuration for desktops

  • GUI 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

  • Modern mail service basics
  • Mail configuration strategies for workstations

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

  • Overview of exim4
  • Basic MUA - Mutt

Mail Delivery Agent (MDA) with filters

  • maildrop configuration
  • procmail configuration
  • Redelivering mbox contents

POP3/IMAP4 server

Remote access server and utilities (SSH)

  • SSH basics
  • 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 over the Internet
  • X applications
  • X office applications
  • X utility applications

System tips

The screen program

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

Data recording and presentation

  • The log daemon
  • Log analyzers
  • Recording shell activities cleanly
  • Customizing text data display
  • Customizing time and date display
  • Colorized shell echo
  • Colorized commands
  • Recording editor activities for complex repeats
  • Capturing graphics from X applications
  • Recording 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
  • Predicting hard disk failure using SMART
  • Expanding storage space with LVM
  • Expanding storage space by mounting another partition
  • Expanding storage space using symlinks
  • Expanding storage space using aufs

Data encryption tips

  • Removable disk encryption with dm-crypt/LUKS
  • Encrypted swap partition with dm-crypt
  • Automatic file encryption with eCryptfs
  • Automatic mounting of 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 commands at constant intervals
  • Looping commands over files
  • Starting programs from the GUI
  • Customizing programs to start
  • Killing a process
  • Scheduling one-time tasks
  • Scheduling regular tasks
  • Alt-SysRq key

System maintenance tips

  • 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 the kernel source: Debian standard method
  • Compiling module sources: Debian standard method
  • Non-free hardware drivers

Virtualized systems

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

Data management

Sharing, copying, and archiving

  • Archive and compression tools
  • Copy and synchronization tools
  • Idioms for archiving
  • Idioms for copying
  • Idioms for selecting files
  • Backup and recovery
  • Backup utility suites
  • Example script for system backup
  • Copy script for data backup
  • 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
  • Restoring deleted but still open files
  • Searching all hard links
  • Invisible disk space consumption

Data security infrastructure

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

Requirements

This course does not require any specific prior experience or prerequisites for enrollment.

 35 Hours

Related Categories