Chapter 17: Bonus Content and Practice Labs
Comprehensive Practice Labs
Complete these labs to consolidate all skills from Chapters 1-16.
Lab A: Full Server Setup
1. Install Ubuntu Server 24.04
2. Create admin user, disable root SSH
3. Configure UFW: allow 22, 80, 443
4. Install nginx, configure virtual host
5. Set up automated daily backups with rsync
6. Configure log rotation
7. Set up fail2ban
Lab B: Troubleshooting Scenarios
1. Service fails to start - diagnose from journalctl
2. Disk full - find and clean large files
3. SSH locked out - recover access
4. High CPU - identify and handle runaway process
5. Permission denied - fix file ownership
Certification Study Guide
- CompTIA Linux+: focus Chapters 1-12
- LPIC-1 (101+102): covers Chapters 1-12
- LPIC-2: extends to Chapters 13-17
- RHCSA: focus Chapters 5,7,8,9,10,12,14
Quick Reference Card
Files: ls cd pwd mkdir cp mv rm find
Perms: chmod chown chgrp
Users: useradd usermod userdel sudo
Packages: apt/dnf install remove update
Processes: ps top kill crontab
Storage: df du mount fdisk mkfs
Network: ip ss ping ssh rsync
Services: systemctl journalctl
Security: ufw fail2ban ssh-keygen