Click here to load reader

LPI 101 RPM - · PDF fileLPI 101 RPM Table of contents 1 Introduction:.....5

  • View
    219

  • Download
    2

Embed Size (px)

Text of LPI 101 RPM - · PDF fileLPI 101 RPM Table of contents 1 Introduction:.....5

  • LPI 101 RPM

    Table of contents

    1 Introduction:................................................................................................................. 5

    1.1 Acknowledgments....................................................................................................6

    1.2 History......................................................................................................................6

    1.3 Dramatis Personi......................................................................................................6

    1.4 Goals........................................................................................................................ 6

    1.5 Intended Training Schedules ...................................................................................7

    1.6 Intended Audience & Prerequisites......................................................................... 7

    1.7 The LPI Certification Program................................................................................ 8

    1.8 Instructor Notice...................................................................................................... 8

    1.9 No Guarantee........................................................................................................... 8

    1.10 Resources............................................................................................................... 8

    1.11 Notations................................................................................................................ 9

    2 Installation.................................................................................................................... 9

    2.1 1. The Installation CD ...........................................................................................10

    2.2 2. Local Installations..............................................................................................11

    2.3 3. Network Installation...........................................................................................12

    2.4 4. Rescue disk........................................................................................................ 12

    2.5 5. Partitioning Schemes......................................................................................... 14

    2.6 6. Easy Dual Booting ............................................................................................ 15

    2.7 7. Exercises and Summary.....................................................................................16

    3 Hardware Configuration.............................................................................................20

    3.1 1. Resource Allocation...........................................................................................20

    3.2 2. PC Expansion Cards.......................................................................................... 23

    3.3 3. USB Support...................................................................................................... 23

    Copyright 2005 AD Marshall, HoChiMinh [City] Linux Users Group All rights reserved.

  • 3.4 4. SCSI Devices..................................................................................................... 25

    3.5 5. Network cards.................................................................................................... 27

    3.6 6. Setting up modems.............................................................................................29

    3.7 7. Printer Configuration......................................................................................... 35

    3.8 8. Sound Cards....................................................................................................... 36

    3.9 9. Exercises and Summary.....................................................................................38

    4 Managing Devices......................................................................................................42

    4.1 1. Disks and Partitions........................................................................................... 42

    4.2 2. Partitioning Tools:............................................................................................. 44

    4.3 3. Bootloaders........................................................................................................ 46

    4.4 4. Managed devices................................................................................................48

    4.5 5. Quotas................................................................................................................ 51

    4.6 6. Exercises and Summary.....................................................................................52

    5 The Linux Filesystem.................................................................................................56

    5.1 1. The Filesystem Structure................................................................................... 57

    5.2 2. Formatting and File System Consistency.......................................................... 59

    5.3 3. Monitoring Disk Usage......................................................................................62

    5.4 4. File Permissions and Attributes......................................................................... 63

    5.5 5. Exercises and Summary.....................................................................................70

    6 The Command Line....................................................................................................75

    6.1 1. The interactive shell...........................................................................................76

    6.2 2. Variables............................................................................................................ 77

    6.3 3. Input, Output, Redirection................................................................................. 79

    6.4 4. Metacharacters and Quotes................................................................................ 82

    6.5 5. The Command History.......................................................................................84

    6.6 6. Other Commands............................................................................................... 85

    6.7 7. Exercise and Summary...................................................................................... 88

    7 File Management........................................................................................................94

    7.1 1. Moving around the filesystem........................................................................... 94

    7.2 2. Finding Files and Directories.............................................................................95

    7.3 3. Handling directories...........................................................................................97

    7.4 4. Using cp and mv................................................................................................ 98

    LPI 101 RPM

    Page 2Copyright 2005 AD Marshall, HoChiMinh [City] Linux Users Group All rights reserved.

  • 7.5 5. Hard Links and Symbolic Links........................................................................ 99

    7.6 7. Touching and dd-ing........................................................................................ 100

    7.7 8. Exercises and Summary...................................................................................102

    8 Process Management................................................................................................105

    8.1 1. Viewing running processes.............................................................................. 106

    8.2 2. Modifying Processes........................................................................................107

    8.3 3. Processes and the shell.....................................................................................109

    8.4 4. Exercises and Summary...................................................................................111

    9 Text Processing........................................................................................................ 114

    9.1 1. cat the Swiss Army Knife................................................................................ 114

    9.2 2. Simple tools..................................................................................................... 116

    9.3 3. Manipulating text............................................................................................. 119

    9.4 4. Exercises and Summary...................................................................................122

    10 Software Installation...............................................................................................124

    10.1 1. Introduction.................................................................................................... 125

    10.2 2. Static and Shared Libraries ........................................................................... 127

    10.3 3. Source Distribution Installation..................................................................... 131

    10.4 4. The RedHat Package Manager RPM ............................................................ 135

    10.5 5. Debian Package Management........................................................................ 142

    10.6 6. The Alien Tool............................................................................................... 148

    10.7 7. Exercises and Summary................................................................................. 148

Search related