Cover image for Linux install and configuration little black book
Linux install and configuration little black book
LeBlanc, Dee-Ann.
Personal Author:
Publication Information:
Scottsdale, Ariz. : Coriolis, [2000]

Physical Description:
xxx, 399 pages : illustrations ; 23 cm
General Note:
Includes index.
Title Subject:
Added Author:
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.76.O63 L432 2000 Adult Non-Fiction Central Closed Stacks

On Order



A problem-solving walk-through for power users who want to have Red Hat or Caldera Linux running quickly and smoothly while adhering to their particular specifications. Sets of task-oriented solutions guide readers through essential setup procedures and custom configuration. For those familiar with

Table of Contents

Introductionp. xxvii
Chapter 1 Getting Started With Linuxp. 1
What Is Linux?p. 2
Linux Distributionsp. 3
Preparing For Linuxp. 6
Finding Your System Information Using Windows 95/98/NTp. 8
Finding The Hardware Compatibility List For Red Hatp. 12
Finding The Hardware Compatibility List For Calderap. 12
Finding Inexpensive CD-ROMs For Linuxp. 12
Finding The Latest News On Linuxp. 12
Determining Whether Linux Can Do What You Wantp. 13
Chapter 2 Partitioning Hard Drivesp. 15
Before You Partitionp. 16
Adjusting Partitions Nondestructively With FIPSp. 21
Adding Partitions With Red Hat's Disk Druidp. 22
Clearing Space And Adding Partitions With Partition Magicp. 23
Adding Partitions With Caldera Disk Partition Programp. 24
Chapter 3 Installing Calderap. 27
The Install Processp. 28
Caldera's Installation Optionsp. 29
Considerations For Configuring Graphicsp. 31
Installing Multiple Operating Systemsp. 32
Launching The Installer From The CD-ROMp. 33
Installing The Caldera Windows Toolsp. 33
Determining Which Install Disks Are Necessaryp. 34
Making Install Disksp. 35
Creating A Windows Boot Diskp. 37
Launching The Installer From Floppy Disksp. 38
Assigning IP Addresses For A Private, Local Networkp. 38
Recovering NT From A Boot Manager Failurep. 39
Making A Custom Linux Boot Diskp. 39
Setting Up To Boot Into Calderap. 40
Booting Into Calderap. 41
Diagnosing Boot Hangs During LILOp. 41
Restoring Your Master Boot Recordp. 43
Running LILOp. 43
Editing LILOp. 44
Determining Disk Parametersp. 44
Adding A Boot Delay To Allow Time To Choose An Operating System In LILOp. 46
Reinstalling LILOp. 46
Removing LILOp. 46
Shutting Down Your Systemp. 47
Chapter 4 Installing Red Hatp. 49
The Install Processp. 50
Red Hat's Install Classesp. 51
LILO, The Linux Loaderp. 53
Considerations For Configuring Video Optionsp. 54
Services Available At Boot Timep. 55
Installing Multiple Operating Systemsp. 56
Determining Which Install Disks Are Necessaryp. 57
Creating A Linux Install Boot Diskp. 57
Downloading The Latest Boot Imagesp. 58
Creating A Windows Boot Diskp. 58
Launching The Installer From A Boot Diskp. 59
Launching The Installer From The CD-ROMp. 60
Setting Up A Local Server For An NFS, HTTP, Or FTP Installp. 60
Assigning IP Addresses For A Private, Local Networkp. 61
Installing Across An NFS Mountp. 61
Installing From A Hard Drive Partitionp. 62
Installing From An HTTP Or FTP Serverp. 62
Recovering Nt From A Boot Manager Failurep. 63
Choosing Which Components And Packages To Installp. 64
Tracking And Debugging Your Install With Virtual Consolesp. 65
Booting Into Linuxp. 66
Diagnosing Boot Hang During LILOp. 66
Alternatives To Using LILO On Your MBRp. 69
Restoring Your MBRp. 70
Running LILOp. 70
Editing LILOp. 71
Configuring LILO To Boot Multiple Operating Systemsp. 71
Determining Disk Parametersp. 72
Adding A Boot Delay To Allow Time To Select An OSp. 74
Setting A Default OS In LILOp. 74
Reinstalling LILOp. 75
Removing LILOp. 75
Choosing What Services Automatically Startp. 75
Shutting Down Your Systemp. 76
Getting Linux To See More Than One GB Of RAMp. 77
Chapter 5 Using Linuxp. 79
Linux Vs. DOS And NTp. 81
File Permissions And Ownershipsp. 82
Setting The Datep. 84
Setting The Timep. 84
Listing The Contents of Directoriesp. 84
Changing Directoriesp. 85
Finding Out Where You Arep. 86
Understanding File And Directory Listingsp. 86
Changing File And Directory Permissionsp. 86
Changing File And Directory Ownersp. 88
Naming Files And Directoriesp. 88
Creating Directoriesp. 88
Creating Linksp. 88
Removing Directoriesp. 89
Copying Files And Directoriesp. 90
Moving Files And Directoriesp. 90
Removing Filesp. 90
Recognizing Binary Filesp. 91
Using The vi Editorp. 91
Using The pico Editorp. 93
Viewing Text Files Without An Editorp. 94
Outputting Command Results To Text Filesp. 96
Creating Aliasesp. 96
Locating Files With findp. 96
Finding Files By Searching The Locate Databasep. 98
Finding Files Within Your Path Statementp. 98
Adding To Your Path Statementp. 99
Finding Text Within Filesp. 99
Finding Helpp. 100
Running Commands In The Backgroundp. 100
Identifying Currently Running Commandsp. 100
Moving Commands To The Backgroundp. 101
Moving Backgrounded Commands To The Foregroundp. 101
Canceling Commands In Progressp. 101
Clearing The Screenp. 102
Running Multiple Commands At Oncep. 102
Logging Outp. 102
Rebooting The Machinep. 103
Shutting Down The Machinep. 103
Chapter 6 X Configurationp. 105
Configuring Xp. 106
Preparing To Configure X In Calderap. 108
Configuring The Mouse In Calderap. 110
Configuring The Keyboard In Calderap. 112
Configuring The Video Card In Calderap. 113
Configuring The Monitor In Calderap. 115
Configuring The Graphics Mode And Color Settings In Calderap. 116
Configuring The X Server Itself In Calderap. 117
Configuring X In Red Hatp. 118
Setting Up A Custom Monitor In Red Hatp. 123
Configuring Video Modes In Red Hatp. 124
Adjusting X Manuallyp. 126
Configuring The Monitor Manuallyp. 127
Configuring The Video Card Manuallyp. 129
Configuring The Graphics Modes Manuallyp. 130
Entering the GUIp. 132
Chapter 7 Window Managers And Desktop Environmentsp. 133
The Window Managersp. 134
Desktop Environmentsp. 135
Finding Window Managersp. 137
Accessing Programs In Gnomep. 137
Retracting The Task Bar In Gnomep. 139
Using The Gnome Help Systemp. 139
Using The Gnome Control Panelp. 140
Accessing Programs in KDEp. 142
Retracting The Task Bar In KDEp. 144
Using The KDE Help Systemp. 144
Using The KDE Control Centerp. 146
Using COAS In KDEp. 146
Installing A New Window Managerp. 147
Chapter 8 Creating User Accountsp. 149
Passwordsp. 150
Custom User Addition Scriptsp. 152
Adding A New Userp. 153
Adding Or Changing A Passwordp. 153
Adding A New User In Linuxconfp. 154
Viewing New User Defaultsp. 155
Choosing New User Defaultsp. 156
Changing New User Defaultsp. 156
Modifying Existing User Informationp. 157
Modifying Existing User Information With Linuxconfp. 158
Installing The Shadow Password Packagep. 159
Converting Your System To Use Shadow Passwordsp. 160
Converting Your System To No Longer Use Shadow Passwordsp. 160
Locating The Default User Profilep. 160
Looking For Bad Passwordsp. 161
Disabling A Userp. 161
Disabling A User In Linuxconfp. 161
Deleting A Userp. 162
Deleting A User In Linuxconfp. 162
Determining System Vulnerabilityp. 162
Modifying Source To Work With The Shadow Suitep. 163
Opening Linuxconfp. 163
Chapter 9 The Linux File Systemp. 165
File System Basicsp. 166
Linux File System Formatp. 166
Making A File Systemp. 168
Mounting Onto The File Systemp. 168
Unmounting Off Of The File Systemp. 170
Shortening Common Mount Commandsp. 170
Mounting A Prepared Device Typep. 171
Automatically Mounting A Device At Boot Timep. 171
Moving An Existing Directory To A New Partitionp. 173
Chapter 10 Compiling The Kernelp. 175
Why To Compilep. 176
Why Not To Compilep. 176
Kernel Upgrade Issuesp. 177
Which Kernels To Usep. 177
Kernel Configuration Optionsp. 178
Determining Which Kernel You Are Runningp. 179
Determining Whether A Kernel Is Experimental Or Productionp. 179
Preparing To Update A Kernel Through The Distributorp. 179
Places To Look For Kernel Sourcep. 180
Adding A LILO Option For The New Kernelp. 180
Testing A Kernel Installp. 181
Updating A Kernel Through Calderap. 182
Updating A Kernel Through Red Hatp. 183
Compiling A Kernelp. 184
Upgrading A Kernelp. 185
Applying A Kernel Source Patchp. 186
Refining The Default Kernelp. 187
Installing A Kernelp. 188
Loading A Kernel Modulep. 189
Unloading A Kernel Modulep. 190
Using configp. 190
Using menuconfigp. 191
Using xconfigp. 193
Chapter 11 Configuring A LANp. 197
Planning A LANp. 198
Networking Hardwarep. 199
Servicesp. 200
Determining If You Need Dynamic Routingp. 201
Checking Your Current Network Settingsp. 203
Setting The IP Addressp. 203
Setting The IP Address In The GUIp. 204
Naming The Machinep. 207
Naming The Machine In The GUIp. 207
Naming The Domainp. 209
Naming The Domain In The GUIp. 210
Setting Up Dynamic Routingp. 211
Setting Up Static Routing In Red Hatp. 214
Configuring Name Resolution For The Machinep. 215
Setting Up A LANp. 217
Configuring Printing Servicesp. 218
Adding A Printer Within A GUIp. 220
Editing A Printer Entry In The GUIp. 222
Deleting A Printer Entryp. 224
Deleting A Printer Entry In The GUIp. 224
Configuring An NFS File Serverp. 226
Configuring An NFS Clientp. 228
Determining If You Need NISp. 228
Configuring NISp. 229
Chapter 12 Integrating Into Windows Networks With Sambap. 233
Samba Componentsp. 234
Finding The Latest Version Of Sambap. 236
Checking To See If Samba Is Installedp. 236
Installing The Samba Package From The Red Hat CD-ROMsp. 236
Installing The Samba Package From The Caldera CD-ROMsp. 237
Installing The Samba Package From The Sourcep. 237
Determining If The Samba Daemons Are Runningp. 238
Configuring The Samba Daemons To Run From Inetdp. 238
Configuring The Samba Daemons To Run From System Startup Scriptsp. 239
Stopping The Samba Daemons From Running From The Startup Scriptsp. 240
Starting The Samba Daemons By Handp. 240
Defining Hosts For SMB Accessp. 241
Building A Samba Configuration Filep. 242
Configuring Drive Sharing, Linux To Windowsp. 245
Configuring Drive Sharing, Windows To Linuxp. 246
Testing Drive Share Setup From A Windows Boxp. 247
Testing Drive Share Setup From A Linux Boxp. 247
Configuring Print Sharing, Linux To Windowsp. 247
Configuring Print Sharing, Windows To Linuxp. 249
Testing Print Sharingp. 250
Accessing A Windows Drivep. 251
Chapter 13 Connecting To The Internetp. 253
The PPP Dialersp. 254
The Internet Clientsp. 254
Connecting To Your ISPp. 256
Setting Up A PPP Connection With kpppp. 256
Preparing To Write A Login Scriptp. 262
Writing A Login Script In kpppp. 262
Setting Up A PPP Connection With Linuxconfp. 263
Getting And Installing pppsetupp. 265
Setting Up For PPP Dial-Up With pppsetupp. 266
Dialing In From The Command Linep. 271
Dialing In From The Caldera GUIp. 271
Dialing In From The Red Hat GUIp. 271
Chapter 14 Setting Up Internet Servicesp. 273
Connectivityp. 274
Email Considerationsp. 274
Making Changes Cleanlyp. 275
Virtual Hostingp. 276
Setting Up Virtual Hostingp. 277
Configuring Emailp. 278
Running POP Emailp. 281
Configuring The Apache WWW Servicep. 281
Configuring An FTP Serverp. 285
Configuring NFSp. 287
Chapter 15 Package Managementp. 289
Choosing Package Formats To Downloadp. 290
Packaging Schemesp. 292
XWindow RPM Toolsp. 293
Managing RPMsp. 295
Working With Tar Archivesp. 298
Working With GZip Compressionp. 300
Creating A Tarballp. 301
Chapter 16 Installing New Softwarep. 303
Choosing Where To Install Softwarep. 304
Locating A Software Packagep. 308
Determining If Source Will Compile On Your Machinep. 308
Altering A Makefilep. 309
Compiling Source Codep. 310
Installing A Binaryp. 311
Adding A Package To Your Path Statementp. 311
Recognizing A Runnable Programp. 312
Chapter 17 C Programming Toolsp. 313
C Programming Toolsp. 314
C Programming In Linuxp. 314
Installing The C Compilerp. 315
Installing The Initial C Librariesp. 315
Installing The Kernel Librariesp. 316
Installing The Build Managerp. 316
Installing The C Preprocessorp. 317
Installing The File Comparison Toolsp. 318
Installing The Patch Applicatorp. 318
Finding Specialized Librariesp. 319
Building A Simple Makefilep. 319
Chapter 18 Writing Shell Scriptsp. 321
The Shellsp. 322
Good Scripting Habitsp. 322
An Examplep. 323
Writing A Scriptp. 327
Assigning Value To A Variablep. 327
Using The Value Of A Variablep. 328
Prompting And Receiving Inputp. 328
Ignoring Meta-Charactersp. 328
Writing Conditional If Statementsp. 329
Accepting Command Line Inputp. 331
Adding Commentsp. 331
Adding A Help Componentp. 332
Adding A For Loopp. 332
Adding A While Loopp. 333
Adding A Menup. 333
Double-Checking User Entriesp. 334
Comparing Files, Strings, Or Regular Expressionsp. 336
Ending A Scriptp. 338
Testing A Scriptp. 339
Debugging A Scriptp. 339
Chapter 19 Perlp. 341
Why Use Perl?p. 342
Perl Programming Examplep. 342
Creating A Perl Programp. 346
Running A Perl Programp. 346
Advancing The Output Display To The Next Linep. 347
Accepting Command Line Inputp. 347
Assigning Value To A Variablep. 347
Using The Value Of A Variablep. 348
Testing For True Or Falsep. 348
Testing Filesp. 348
Using Mathematicsp. 349
Comparing Valuesp. 349
Manipulating Stringsp. 351
Using Arraysp. 351
Using For Statementsp. 353
Using Foreach Statementsp. 353
Using If Statementsp. 354
Using Unless Statementsp. 356
Using Until Statementsp. 356
Using While Statementsp. 357
Writing Data To A Filep. 357
Reading Data From A Filep. 358
Chapter 20 Configuring System Backupsp. 359
Backup Hardwarep. 360
Getting The Ftape Driverp. 364
Installing The Ftape Driverp. 364
Choosing A Backup Schemep. 365
Creating A Manual Backup: Generalp. 366
Doing A Full Backup To Floppy Disks Or A Tape Drivep. 367
Restoring Full Backups From Tape Or Floppyp. 368
Adding Files To An Existing Tar Backupp. 368
Setting Backups To Run At Specific Timesp. 368
Choosing Backup Softwarep. 369
Automating Backupsp. 370
Deciding On A Removable-Rack Hard Drive Systemp. 371
Chapter 21 Security Issuesp. 373
Firewall Optionsp. 374
Closing Simple Weak Spotsp. 376
Listing Loginsp. 376
Listing Attempted Loginsp. 377
Finding Security Breachesp. 377
Keeping Up With Security Issuesp. 378
Determining If A Firewall Is For Youp. 378
Tightening Network Drive Accessp. 380
Filtering Packets Outp. 380
Installing ipchainsp. 383
Saving Packet-Filtering Rules Before Reboot/Shutdownp. 383
Restoring Packet-Filtering Rules After Bootingp. 383
Installing SOCKSp. 384
Installing The Proxy Serverp. 385
Configuring SOCKSp. 385
Setting Linux Boxes To Go Through The Proxyp. 387
Indexp. 389