LPIC 101 Preparation Guide
Total Page:16
File Type:pdf, Size:1020Kb
Linux Professional Institute Exam LPIC 101 Preparation Guide Version 3 Alan McKinnon Michel Bisson LPIC 101 Preparation Guide Table of Contents About this document.......................................................................vii Regarding the LPI 101 Exam..........................................................viii Approximate number of questions per topic...............................................................viii Weight per topic..........................................................................................................viii Tips on writing the exam...............................................................................................ix Topic 101: Hardware & Architecture................................................1 Summary.........................................................................................................................1 General hardware......................................................................................................1 Setting and reading the hardware and system time.................................................2 Hardware-related commands....................................................................................2 KERNEL MODULES (general)..................................................................................3 Getting information on hardware..............................................................................4 USB........................................................................................................................4 PCI.........................................................................................................................4 PCMCIA.................................................................................................................4 PNP........................................................................................................................5 SCSI.......................................................................................................................5 SERIAL..................................................................................................................6 CDROMS...............................................................................................................7 I/O ADDRESSES....................................................................................................7 I/O MEMORY.........................................................................................................7 INTERRUPTS........................................................................................................7 DMA.......................................................................................................................7 CPU........................................................................................................................7 DEVICES...............................................................................................................7 KERNEL OPTIONS................................................................................................7 FILESYSTEMS......................................................................................................7 SYSTEM MEMORY................................................................................................8 The /proc file system.............................................................................................8 Plug and Play.........................................................................................................9 1.101.1 Configure Fundamental BIOS Settings...............................................................11 Purpose of BIOS...........................................................................................................11 CMOS Set-up program.................................................................................................11 Hard disk Set-up...........................................................................................................11 BIOS error handling.....................................................................................................11 Peripherals settings......................................................................................................12 Reserving IRQs for older ISA cards.............................................................................12 1.101.3 Configure Modem and Sound cards....................................................................13 Modems........................................................................................................................13 Sound Cards.................................................................................................................13 1.101.4 Setup SCSI Devices.............................................................................................14 Notes.............................................................................................................................14 SCSI Architecture.........................................................................................................14 Properties and rules of SCSI...................................................................................14 Types of SCSI...........................................................................................................14 SCSI speed table......................................................................................................15 Addressing SCSI devices.........................................................................................15 SCSI Onboard BIOS.................................................................................................15 i LPIC 101 Preparation Guide Booting from SCSI drive..........................................................................................15 SCSI in Linux...........................................................................................................15 Naming of SCSI devices..........................................................................................16 1.101.5 Setup different PC expansion cards....................................................................17 Tools.............................................................................................................................17 PCI................................................................................................................................17 1.101.6 Configure Communication Devices.....................................................................19 Tools.............................................................................................................................19 Modem AT Commands..................................................................................................20 1.101.7 Configure USB devices........................................................................................21 Summary.......................................................................................................................21 USBDevFS Filesystem..................................................................................................22 Architecture of USB Modules......................................................................................22 List of current USB modules........................................................................................23 Dynamically loading USB Modules..............................................................................23 hotplug.....................................................................................................................23 USB Manager (usbmgr)...........................................................................................24 Topic 102: Linux Installation & Package Management...................25 Summary.......................................................................................................................25 1.102.1 Design hard disk layout.......................................................................................26 File Hierarchy Standard (FHS)....................................................................................26 Why multiple partitions in Linux?................................................................................26 File tree structure........................................................................................................26 Swap Partitions.............................................................................................................27 1.102.2 Install a boot manager.........................................................................................28 LILO..............................................................................................................................28 LILO display codes...................................................................................................28 Settings in /etc/lilo.conf...........................................................................................29 GRUB (GRand Unified Bootloader)..............................................................................29 Entries in GRUB menu/config file...........................................................................29 How does GRUB work?............................................................................................30 1.102.3 Make and install programs from source.............................................................31