AfNOG 2008 Workshop on Network Technology

Track SA-E — Unix System Administration

Detailed Course Outline

[ Jump within this page: Monday | Tuesday | Wednesday | Thursday | Friday ]

[ SA-E links: Index | Details | Summary | External links ]


General Objectives

After attending this track students will be able to:
In addition they will be taught concepts such as:
Instructors

(HA) Hervey Allen (Chile/USA)
(RB) Randy Bush (Japan/USA)
(DM) Dorcas Muthoni (Kenya)
(PO) Patrick Okui (Uganda)
(PR) Phil Reganuld (Denmark)

MONDAY TOPICS GOALS
Session 1 Welcome and logistics (HA)
      [OpenOffice | PDF | PowerPoint]

Survey (HA)
      [OpenOffice | PDF | MS Word]

Why are we using FreeBSD? (HA)
      [OpenOffice | PDF | PowerPoint]

Workshop opening
  • Introduce insructors and attendees introduce themselves.
  • Discuss what topics we plan on covering during the week.
  • Take a survey of class knowledge.
  • Discuss why FreeBSD is cool
Session 2 Unix Concepts (DM)
      [OpenOffice | PDF | PowerPoint]

Unix concepts
  • The kernel
  • Processes
  • File system
  • Shells
  • Command line
  • Permissions
Session 3 FreeBSD Installation (PO)
      [OpenOffice | PDF | PowerPoint]
FreeBSD Installation
  • Get FreeBSD 7.0-RELEASE installed on the machines
  • Do the basic steps required to make the FreeBSD IPv6 aware
  • Give FreeBSD a manually configured IPv6 IP address
Session 4 Package Systems (PO)
      [OpenOffice | PDF | PowerPoint]

Excercises in installing packages
      [OpenOffice | PDF | Word]
Installing software in FreeBSD
  • A look at the options in other operating systems
  • compiling from source, and how ports help
  • from ports to binary packages
  • portupgrade
TUESDAY TOPICS CONTENTS
Session 1 Hands-On Unix (Part II) (DM)
      [OpenOffice | PDF | PowerPoint]

Exercises 0
      [OpenOffice | PDF | Word]

Exercises 1
      [OpenOffice | PDF | Word]

Unix Hands on II Exercises
      [OpenOffice | PDF | Word]

Hands on Unix exercises
  • Keystrokes
  • Directory Commands
  • System Commands
  • File Commands
  • Networking Commands
  • More Command line
Session 2 Scripting (PO)
      [OpenOffice | PDF | PowerPoint]
A breif introduction to mostly bash scripting
  • Automating repetitive tasks/commands
  • Help from the shell (environment et al)
  • Control structures
  • An example of using C to do a binary option.
Session 3 IP & IPv6 Basics (PR)
      [OpenOffice | PDF | PowerPoint ]
  • The OSI/IP models
  • The network stack
  • IP addresses, masks, prefixes
  • The end-to-end principle
Session 4 IP & IPv6 Basics cont. - more networking (PR)
     
· Tools and diagnostics: [OpenOffice | PDF | PowerPoint ]
· Exercises: [OpenOffice | PDF | MS Word ]
  • tcpdump, ping, route, arp, ndp, traceroute, mtr, netstat
WEDNESDAY TOPICS CONTENTS
Session 1 DNS Concepts & (RB)
      [OpenOffice | PDF | PowerPoint ]
Exercises:
· Caching and debug [ OpenOffice | PDF | Word ]
  • What is DNS ?
  • How is DNS built and how does it work?
  • How does a query work ?
  • Record types
  • Caching and Authoritative
  • Delegation: domains vs zones
  • Finding the error: where is it broken
Session 2 DNS Concepts cont. & (PR)
     
Session 3 DNS Delegation cont. & (PR)
      Exercises:
Authoritative DNS & Delegation [ OpenOffice | PDF | PowerPoint ]
More delegation [ OpenOffice | PDF | Word ]
  • Zone replication
  • Zone format
  • Delegation
  • Common mistakes
Session 4 Apache & Virtual Sites (DM)
      [OpenOffice | PDF | PowerPoint]

Exercises
      [OpenOffice | PDF | Word]

Apache + mod_ssl Presentation
      [OpenOffice | PDF | PowerPoint]

Vhosts Sample Configurations
      [Vhost-samplefile]

Apache + Virtual Hosts + SSL
  • What is Apache
  • Installing Apache from ports
  • - portinstall apache
  • - pkg_add -r apache22
  • What is Apache+mod_ssl+Vhosts
  • Digital Signatures
THURSDAY TOPICS CONTENTS
Session 1 Security & Cryptographic Methods (HA) The cryptography behind secure services, including:
  • Do we need to know this?
  • History
  • Terminology
  • Symmetric Ciphers
  • Public/Private key systems
  • Hybrid systems
  • Hashing functions
  • Passphrases
  • Digital signatures
Session 2 Security & Cryptographic Methods Part II (HA) We continue with the cryptography behind secure services:
  • Man in the Middle Attacks
  • TLS/SSL
  • SSH and Man in the Middle Attacks
  • PGP and PGP trust model
Session 3 Security & Cryptographic Methods Part III (HA)
Apache with SSL (DM)
      [OpenOffice | PDF | PowerPoint]

Finish up Security discussing Digital Certificates and CA's.
  • Apache with SSL
  • Installing Apache+mod_ssl
  • Configuring Apache+Vhosts+ssl
Session 4 Log Management (PR)
  • Syslog, facility, level
  • Centralized logging
  • Storing logs properly using syslog-ng and analyzing them
  • SWATCH (not covered)
FRIDAY TOPICS CONTENTS
Session 1 Log Management cont. (PR)
Session 2 Mirrors vs. RAID & Backup (HA) Discuss various backup methods, including:
  • dd
  • dump & remote dump
  • tar
  • rsync
  • Amanda
  • bacula
  • No backups or limited backups
Finish up discussing various RAID strategies, including:
  • Redundancy with RAID 1, 3 and 5
  • Hardware vs. Software RAID
  • FreeBSD's gmirror facility
  • Possible live demo using geom
Session 3 Email Introduction (DM)
      [OpenOffice | PDF | PowerPoint]

How Email Works
  • How Email Appears to Work
  • How Email Really Works
  • Mail User Agent (MUA)
  • Message Format
  • Mail Delivery Agent (MDA)/ Mail Transfer Agent (MTA)
  • Network Cloud
  • Email Queue
  • MTA to MTA Transfer
  • DNS resolution and transfer process
  • Firewalls, Spam and Virus Filters
  • Delivery
  • RFCs
Session 4 Exim Mailserver (PO)
      [OpenOffice | PDF | Word]

Exam (HA)
      [OpenOffice | PDF | MS Word]
Installing Exim
  • Exim's phillosophy and syntax
  • Installing Exim
  • Replacing Sendmail with Exim
  • Minor post installation tasks