Synopses & Reviews
LPI Linux Certification in a Nutshell,Second Edition is an invaluable resource for determining what you needto practice to pass the Linux Professional Institute exams. This bookwill helpyou determine when you're ready to take the exams, which aretechnically challenging and designed to reflect the skills thatadministrators needin real working environments.
As more corporations adopt Linux as the networking backbone for theirIT systems, the demand for certified technicians will becomeeven greater. Passing the LPI exams will broaden your career optionsbecause the LPICis the most widely known and respected Linux certification program intheworld. Linux Journal recognized the LPI as the bestTraining andCertification Program. The exams were developed by the LinuxProfessional Institute,an international, volunteer-driven organization with affiliates in adozen countries.
The core LPI exams cover two levels. Level 1 tests a basic knowledge ofLinux installation, configuration, and command-lineskills. Level 2 goes into much more depth regarding systemtroubleshooting andnetwork services such as email and the Web. The second edition of LPILinuxCertification in a Nutshell is a thoroughly researchedreference to these exams. The book is divided into four parts, one foreach of theLPI exams. Each part features not only a summary of the core skills youneed, but sample exercises and test questions, along with helpful hintsto letyou focus your energies.
Major topics include:
- GNU and Unix commands
- Linux installation and package management
- Devices, filesystems, and kernel configuration
- Text editing, processing, and printing
- The X Window System
- Networking fundamentals and troubleshooting
- Security, including intrusion detection, SSH, Kerberos, andmore
- DNS, DHCP, file sharing, and other networking infrastructure
- Email, FTP, and Web services
Praise for the first edition:
"Although O'Reilly's Nutshell series are intended as 'DesktopReference' manuals, I have to recommend this one as a goodall-round read; not only as a primer for LPI certification, but as anexcellent introductory text on GNU/Linux. In all, this is a valuableaddition toO'Reilly's already packed stable of Linux titles and I look forward tomore from the author."--First Monday
Written by a team of LPI trainers, this four-part guide prepares readers for both the basic LPI General Linux 101 and 102 exams and the more advanced 201 and 202 exams. Each part features a summary of the exam, a Highlighter's Index, labs, suggested exercises, and practice exams.
About the Author
Steven Pritchard is a Linux guy and a hardware geek who spends a disturbing amount of time working on Fedora's Perl packages (plus a few other things), occasionally remembers to update the Linux Hardware Compatibility HOWTO, and sort of works a day job. He lives in Fairview Heights, Illinois with his wife Kara, daughter Emma, and a bunch of cats.
Bruno Gomes Pessanha has been a collaborating translator for the Linux Professional Institute since 2002. He also works as a consulting analyst for a Brazilian government petroleum enterprise, covering Linux migration and initiatives and administering high-end performance projects, high availability clusters, and mission critical services. He lives in Rio de Janeiro, Brazil.
Nicolai Langfeldt, a programmer, system administrator, and systems integrator, lives in Oslo, Norway. A Linux consultant since 1994, Nicolai works for Linpro (a well-established Norwegian Linux consulting firm) and is the cofounder of Linux Norge, an information portal for Linux. He has written several well-regarded HOWTOs for the Linux Documentation project and is author of "The Concise Guide to DNS and BIND" by QUE.
James Stanger has been involved with Linux since 1995, and has worked closely with the Linux Professional Institute (LPI) since its inception in 1999. He is Chair of the LPI Advisory Council, where he helps the LPI coordinate input from corporations and the open source community. James has a unique understanding of LPI's certification exams, as he is an expert in both the certification industry and in Gnu/Linux, networking, and security.
Jeff Dean is a freelance author and consultant in Philadelphia, Pennsylvania. Jeffrey has professional experience in IT management, training delivery, and system administration of the VMS, Unix, AS/400, and Windows NT operating systems. He holds an undergraduate degree in Electrical Engineering from the University of Pittsburgh and a Master of Engineering with emphasis in computer design from Penn State. He is a Red Hat Certified Engineer (RHCE) and LPI Certified.
Table of Contents
Preface; The Linux Professional Institute; Audience for This Book; Organization; Conventions Used in This Book; Using Code Examples; Safari Enabled; How to Contact Us; Acknowledgments; Part I: General Linux Exam 101; Chapter 1: LPI Exams; 1.1 Exam 101 Overview; Chapter 2: Exam 101 Study Guide; 2.1 Exam Preparation; Chapter 3: Hardware and Architecture (Topic 1.101); 3.1 Objective 1: Configure Fundamental BIOS Settings; 3.2 Objective 3: Configure Modems and Sound Cards; 3.3 Objective 4: Set Up Non-IDE Devices; 3.4 Objective 5: Set Up Different PC Expansion Cards; 3.5 Objective 6: Configure Communications Devices; 3.6 Objective 7: Configure USB Devices; Chapter 4: Linux Installation and Package Management (Topic 1.102); 4.1 Objective 1: Design a Hard Disk Layout; 4.2 Objective 2: Install a Boot Manager; 4.3 Objective 3: Make and Install Programs from Source; 4.4 Objective 4: Manage Shared Libraries; 4.5 Objective 5: Use Debian Package Management; 4.6 Objective 6: Use Red Hat Package Manager (RPM); Chapter 5: GNU and Unix Commands (Topic 1.103); 5.1 Objective 1: Work on the Command Line; 5.2 Objective 2: Process Text Streams Using Filters; 5.4 Objective 3: Perform Basic File Management; 5.5 Objective 4: Use Streams, Pipes, and Redirects; 5.6 Objective 5: Create, Monitor, and Kill Processes; 5.7 Objective 6: Modify Process Execution Priorities; 5.8 Objective 7: Search Text Files Using Regular Expressions; 5.9 Objective 8: Perform Basic File Editing Operations Using vi; Chapter 6: Devices, Linux Filesystems, and the Filesystem Hierarchy Standard (Topic 1.104); 6.1 Objective 1: Create Partitions and Filesystems; 6.2 Objective 2: Maintain the Integrity of Filesystems; 6.3 Objective 3: Control Filesystem Mounting and Unmounting; 6.4 Objective 4: Set and View Disk Quotas; 6.5 Objective 5: Use File Permissions to Control Access to Files; 6.6 Setting Up a Workgroup Directory; 6.7 Objective 6: Manage File Ownership; 6.8 Objective 7: Create and Change Hard and Symbolic Links; 6.9 Objective 8: Find System Files and Place Files in the Correct Location; Chapter 7: The X Window System (Topic 1.1.10); 7.1 An Overview of X; 7.2 Objective 1: Install and Configure X11; 7.3 Objective 2: Set Up a Display Manager; 7.4 Objective 4: Install and Customize a Window Manager Environment; Chapter 8: Exam 101 Review Questions and Exercises; 8.1 Hardware and Architecture (Topic 1.101); 8.2 Linux Installation and Package Management (Topic 1.102); 8.3 GNU and Unix Commands (Topic 1.103); 8.4 Devices, Linux Filesystems, and the Filesystem Hierarchy Standard (Topic 1.104); 8.5 The X Window System (Topic 1.110); Chapter 9: Exam 101 Practice Test; 9.1 Questions; 9.2 Answers; Chapter 10: Exam 101 Highlighter's Index; 10.1 Hardware and Architecture; 10.2 Linux Installation and Package Management; 10.3 GNU and Unix Commands; 10.4 Devices, Linux Filesystems, and the Filesystem Hierarchy Standard; 10.5 The X Window System; Part II: General Linux Exam 102; Chapter 11: Exam 102 Overview; Chapter 12: Exam 102 Study Guide; 12.1 Exam Preparation; Chapter 13: Kernel (Topic 1.105); 13.1 Objective 1: Manage/Query Kernel and Kernel Modules at Runtime; 13.2 Objective 2: Reconfigure, Build, and Install a Custom Kernel and Kernel Modules; Chapter 14: Boot, Initialization, Shutdown, and Runlevels (Topic 1.106); 14.1 Objective 1: Boot the System; 14.2 Objective 2: Change Runlevels and Shut Down or Reboot System; Chapter 15: Printing (Topic 1.107); 15.1 An Overview of Printing; 15.2 Objective 2: Manage Printers and Print Queues; 15.3 Objective 3: Print Files; 15.4 Objective 4: Install and Configure Local and Remote Printers; Chapter 16: Documentation (Topic 1.108); 16.1 Objective 1: Use and Manage Local System Documentation; 16.2 Objective 2: Find Linux Documentation on the Internet; 16.3 Objective 5: Notify Users on System-related Issues; Chapter 17: Shells, Scripting, Programming, and Compiling (Topic 1.109); 17.1 Objective 1: Customize and Use the Shell Environment; 17.2 Objective 2: Customize or Write Simple Scripts; Chapter 18: Administrative Tasks (Topic 1.111); 18.1 Objective 1: Manage Users and Group Accounts and Related System Files; 18.2 Objective 2: Tune the User Environment and System Environment Variables; 18.3 Objective 3: Configure and Use System Log Files to Meet Administrative and Security Needs; 18.4 Objective 4: Automate System Administration Tasks by Scheduling Jobs to Run in the Future; 18.5 Objective 5: Maintain an Effective Data Backup Strategy; 18.6 Objective 6: Maintain System Time; Chapter 19: Networking Fundamentals (Topic 1.112); 19.1 Objective 1: Fundamentals of TCP/IP; 19.2 Objective 3: TCP/IP Configuration and Troubleshooting; 19.3 Objective 4: Configure Linux as a PPP Client; Chapter 20: Networking Services (Topic 1.113); 20.1 Objective 1: Configure and Manage inetd, xinetd, and Related Services; 20.2 Objective 2: Operate and Perform Basic Configuration of Mail Transfer Agent (MTA); 20.3 Objective 3: Operate and Perform Basic Configuration of Apache; 20.4 Objective 4: Properly Manage the NFS and Samba Daemons; 20.5 Objective 5: Set Up and Configure Basic DNS Services; 20.6 Objective 7: Set Up Secure Shell (OpenSSH); Chapter 21: Security (Topic 1.114); 21.1 Objective 1: Perform Security Administration Tasks; 21.2 Objective 2: Set Up Host Security; 21.3 Objective 3: Set Up User-level Security; Chapter 22: Exam 102 Review Questions and Exercises; 22.1 Kernel (Topic 1.105); 22.2 Boot, Initialization, Shutdown, and Runlevels (Topic 1.106); 22.3 Printing (Topic 1.107); 22.4 Documentation (Topic 1.108); 22.5 Shells, Scripting, Programming, and Compiling (Topic 1.109); 22.6 Administrative Tasks (Topic 1.111); 22.7 Networking Fundamentals (Topic 1.112); 22.8 Networking Services (Topic 1.113); 22.9 Security (Topic 1.114); Chapter 23: Exam 102 Practice Test; 23.1 Questions; 23.2 Answers; Chapter 24: Exam 102 Highlighter's Index; 24.1 Kernel (Topic 1.105); 24.2 Boot, Initialization, Shutdown, and Runlevels (Topic 1.106); 24.3 Printing (Topic 1.107); 24.4 Documentation (Topic 1.108); 24.5 Shells, Scripting, Programming, and Compiling; 24.6 Administrative Tasks (Topic 1.111); 24.7 Networking Fundamentals (Topic 1.112); 24.8 Networking Services (Topic 1.113); 24.9 Security (Topic 1.114); Part III: General Linux Exam 201; Chapter 25: Linux Kernel; 25.1 Objective 1: Kernel Components; 25.2 Objective 2: Compiling a Kernel; 25.3 Objective 3: Patching a Kernel; 25.4 Objective 4: Customizing a Kernel; Chapter 26: System Startup; 26.1 Objective 1: Customizing System Startup and Boot Processes; 26.2 Objective 2: System Recovery; Chapter 27: Filesystem; 27.1 Objective 1: Operating the Linux Filesystem; 27.2 Objective 2: Maintaining a Linux Filesystem; 27.3 Objective 3: Creating and Configuring Filesystem Options; Chapter 28: Hardware (Topic 2.204); 28.1 Objective 1: Configuring RAID; 28.2 Objective 2: Adding New Hardware; 28.3 Objective 3: Software and Kernel Configuration; 28.4 Objective 4: Configuring PCMCIA Devices; Chapter 29: File and Service Sharing (Topic 2.209); 29.1 Objective 1: Configuring a Samba Server; 29.2 Objective 2: Configuring an NFS Server; Chapter 30: System Maintenance (Topic 2.211); 30.1 Objective 1: System Logging; 30.2 Objective 2: Packaging Software; 30.3 Objective 3: Backup Operations; Chapter 31: System Customization and Automation (Topic 2.213); 31.1 Objective 1: Automating Tasks Using Scripts; Chapter 32: Troubleshooting (Topic 2.214); 32.1 Objective 1: Creating Recovery Disks; 32.2 Objective 2: Identifying Boot Stages; 32.3 Objective 3: Troubleshooting Boot Loaders; 32.4 Objective 4: General Troubleshooting; 32.5 Objective 5: Troubleshooting System Resources; 32.6 Objective 6: Troubleshooting Environment Configurations; Chapter 33: LPI Exam 201 Review Questions and Exercises; 33.1 Linux Kernel (Topic 2.201); 33.2 System Startup (Topic 2.202); 33.3 Filesystem (Topic 2.203); 33.4 Hardware (Topic 2.204); 33.5 File and Service Sharing (Topic 2.209); 33.6 System Maintenance (Topic 2.211); 33.7 System Customization and Automation (Topic 2.213); 33.8 Troubleshooting (Topic 2.214); Chapter 34: Exam 201 Practice Test; 34.1 Questions; 34.2 Answers; Part IV: General Linux Exam 202; Chapter 35: Networking Configuration (Topic 2.205); 35.1 Objective 1: Basic Networking Configuration; 35.2 Objective 2: Advanced Network Configuration and Troubleshooting; Chapter 36: Mail and News (Topic 2.206); 36.1 Objective 2: Using Sendmail; 36.2 Objective 3: Managing Mail Traffic; 36.3 Objective 1: Configuring Mailing Lists; 36.4 Objective 4: Serving News; 36.5 Conclusion; Chapter 37: DNS (Topic 2.207); 37.1 Objective 1: Basic DNS Server Configuration; 37.2 Objective 2: Create and Maintain DNS Zones; 37.3 Objective 3: Securing a DNS Server; Chapter 38: Web Services (Apache and Squid, Topic 2.208); 38.1 Installing Apache; 38.2 Configuring Apache; 38.3 Squid: History and Overview; 38.4 Squid Authentication; 38.5 Squid as Web Accelerator; Chapter 39: Network Client Management (Topic 2.210); 39.1 Objective 1: DHCP Configuration; 39.2 Objective 2: NIS Configuration; 39.3 Objective 3: LDAP Configuration; 39.4 Objective 4: PAM Authentication; Chapter 40: System Security (Topic 2.212); 40.1 Objective 2: Configuring a Router; 40.2 Objective 3: Securing FTP Servers; 40.3 Objective 4: Secure Shell (SSH); 40.4 Objective 5: TCP Wrappers; 40.5 Objective 6: Security Tasks; Chapter 41: Network Troubleshooting (Topic 214); 41.1 Network Troubleshooting Essentials; 41.2 Common Troubleshooting Commands; 41.3 Hardware Problems; 41.4 Network Device Configuration Files; 41.5 DNS Errors; 41.6 Determining the Cause of Inaccessible Services; 41.7 Conclusion; Chapter 42: Exam 202 Review Questions and Exercises; 42.1 Networking Configuration (Topic 2.205); 42.2 Mail and News (Topic 2.206); 42.3 DNS (Topic 2.207); 42.4 Web Services (Topic 2.208); 42.5 Answers; 42.6 Network Client Management (Topic 2.210); 42.7 System Security (Topic 2.212); 42.8 Network Troubleshooting (Topic 2.214); Chapter 43: Exam 202 Practice Test; 43.1 Questions; 43.2 Answers; Colophon;