Linux System Administration

Approach

This course is part lecture, part hands-on.

Prerequisites

Delegates must have completed the Linux Essentials course, or have good experience in using the Linux command line.

Duration

3 days

Equipment

The course may be run either:

Objectives

On completion of this course, delegates will:

Course Outline

The System Administrator's Role

  • Administration Tasks
  • Normal User versus Super-user; su and sudo
  • Philosophy of System Admin: Automating as much as possible
    • Recap of shell facilities to enable this to happen

Hardware & Installation

  • Installation Options
  • Disk Partitioning Options
    • fdisk, parted and other tools
  • Performing the Installation Process

The Boot Process

  • Using GRUB
  • The role of init
  • Run levels
  • How to set up services to run automatically at startup time or on state transitions

Linux Filesystem Administration

  • Filesystems: mount & umount
  • Mounting Filesystems at System Startup Time
  • mkfs
  • /etc/fstab
  • Access Control Lists

Software Package Management

  • Overview of Package Management
  • Installing, Uninstalling, Updating, Listing and Querying Packages
  • The rpm and yum commands

User Administration

  • How Users are Recorded
  • Adding New Users - manually
  • /etc/passwd, /etc/shadow, /etc/group
  • Adding New Users - Command
  • useradd, usermod, userdel
  • Changing User Passwords
  • Modifying & Removing Users - Command
  • Shell Configuration Files

System Administration Tools

  • Networking Introduction
  • Configuring Networking
  • Networking Tools:
    • ifconfig, ifup, ifdown
    • dhclient
    • netstat
    • arp
    • route
  • The Network File System - NFS
  • Interworking with Windows - Samba

Timed Services

  • Variables
  • Environment Variables
  • Exercise

Setting up the Shell Environment

  • How to run commands on specified times or schedules
    • cron
    • at

Maintaining Log Files

  • System logs and Application logs
  • Log file tools and processes
  • Locating and viewing log files

Wrap-Up