Michael Turner, Steve Shah9780072226317, 0072226315
Table of contents :
Team DDU……Page 1
About the Technical Editor……Page 8
Contents……Page 9
ACKNOWLEDGMENTS……Page 23
INTRODUCTION……Page 25
What’s in This Book……Page 26
PART I Installing Linux as a Server……Page 27
1 Technical Summary of Linux Distributions and Windows……Page 29
Critical Skill 1.1 Describing Linux and Linux Distributions……Page 30
Critical Skill 1.2 Defining Free Software and the GNU License……Page 31
What Is the GNU Public License?……Page 32
The Advantages of Free Software……Page 33
Ask the Expert……Page 34
Single Users vs. Multiusers vs. Network Users……Page 35
Separation of the GUI and the Kernel……Page 36
The Network Neighborhood……Page 37
The Registry vs. Text Files……Page 38
Domains……Page 39
Critical Skill 1.4 Exploring Other Linux Resources……Page 40
Module 1 Mastery Check……Page 41
2 Installing Linux in a Server Configuration……Page 43
Hardware……Page 44
Server Design……Page 45
Dual- Booting Issues……Page 46
Methods of Installation……Page 47
If It Just Won’t Work Right . . …….Page 48
Project 2-1 Determining a Server’s Functions……Page 49
Critical Skill 2.2 Installing Red Hat Linux……Page 50
Starting the Installation……Page 51
Installation Type……Page 55
Project 2-2 Installing a Server……Page 80
Module Summary……Page 81
Module 2 Mastery Check……Page 82
3 GNOME and KDE……Page 85
Critical Skill 3.1 Understanding the X Window System’s Origins……Page 86
The Downside……Page 87
Enter KDE and GNOME……Page 88
Critical Skill 3.2 Using and Customizing GNOME……Page 89
Starting the X Window System and GNOME……Page 90
GNOME Basics……Page 92
The GNOME Start Here Icon……Page 93
Critical Skill 3.3 Using and Customizing KDE……Page 99
Starting the X Window System and KDE……Page 100
The KDE Control Center……Page 102
Module Summary……Page 111
Module 3 Mastery Check……Page 10
4 Installing Software……Page 113
Critical Skill 4.1 Using the Red Hat Package Manager……Page 114
Installing a New Package……Page 115
Querying a Package……Page 117
Progress Check……Page 118
redhat- config- packages……Page 119
Getting and Unpacking the Package……Page 123
Looking for Documentation……Page 125
Compiling Your Package……Page 126
Installing the Package……Page 127
Running the Package……Page 128
Progress Check……Page 130
Module 4 Mastery Check……Page 132
PART II Single-Host Administration……Page 135
5 Managing Users……Page 137
5.1 Understand Linux Users……Page 138
Passwords……Page 139
Startup Scripts……Page 141
5.2 Manage User Databases……Page 142
The / etc/ passwd File……Page 143
The / etc/ shadow File……Page 145
The / etc/ group File……Page 146
Command- Line User Management……Page 147
Manipulate Users and Groups……Page 153
SetUID and SetGID Programs……Page 157
Using sudo……Page 158
5.6 Using Pluggable Authentication……Page 159
PAM’s Files and Their Locations……Page 160
Configuring PAM……Page 161
Module Summary……Page 165
Module 5 Mastery Check……Page 166
6 The Command Line……Page 169
6.1 Switching Users: su……Page 170
6.2 Use the BASH Shell……Page 171
Job Control……Page 172
Environment Variables……Page 173
Redirection……Page 175
Command- Line Shortcuts……Page 176
The man Command……Page 178
6.4 Understand File Listings, Ownerships, and Permissions……Page 180
File and Directory Types……Page 181
Changing Ownership: chown……Page 183
Changing Mode: chmod……Page 184
Moving Files: mv……Page 186
Linking Files: ln……Page 187
File Compression: gzip……Page 190
Creating a Directory: mkdir……Page 192
Tape Archive: tar……Page 193
Concatenating Files: cat……Page 195
Disk Utilization: du……Page 196
Disk Free: df……Page 197
Listing Processes: ps……Page 198
Showing an Interactive List of Processes: top……Page 201
Sending a Signal to a Process: kill……Page 202
Showing the System Name: uname……Page 205
Networking Tools……Page 206
6.8 Editing Text Files……Page 210
6.9 Reviewing Linux File System Standards……Page 211
Module Summary……Page 212
Module 6 Mastery Check……Page 213
7 File Systems……Page 215
i-Nodes……Page 216
ext3……Page 217
Ask the Expert……Page 218
Mounting and Unmounting Local Disks……Page 219
Using fsck……Page 225
7.3 Adding and Partitioning a Disk……Page 227
Where Disks Exist……Page 228
Creating Partitions……Page 229
Making File Systems……Page 235
Mounting NFS Partitions……Page 237
Using the autofs Service……Page 238
7.5 Managing Quotas……Page 241
Preparing a Disk for Quotas……Page 242
Configuring Quota Settings……Page 243
Managing Quotas……Page 245
Module 7 Mastery Check……Page 247
8 Core System Services……Page 249
8.1 Configure the Boot Manager……Page 250
Configuring GRUB……Page 251
Running LILO……Page 253
Adding a New Kernel to Boot……Page 254
Kernel Execution……Page 256
8.3 Learn about the init Service……Page 258
8.4 Configure and Use the xinetd Process……Page 260
Invoking syslogd……Page 266
The crontab File……Page 272
Using the kron GUI……Page 273
Graphical Service Managers……Page 276
Disabling a Service……Page 278
Starting and Stopping Services……Page 279
Writing Your Own rc Script……Page 280
Project Summary……Page 283
Module 8 Mastery Check……Page 284
9 Securing an Individual Server……Page 287
Using the Red Hat Network……Page 288
Manually Performing Security Updates……Page 296
The Importance of Port Numbers……Page 297
Port Dangers……Page 298
9.3 Using Tracking Services……Page 299
Using the netstat Command……Page 300
Security Implications of netstat’s Output……Page 301
Shutting Down Services……Page 302
Making the Best Use of syslog……Page 304
Monitoring Bandwidth with MRTG……Page 305
Nessus……Page 306
Ask the Expert……Page 307
9.5 Employing a Checklist……Page 310
BugTraq……Page 311
9.7 Being Aware of Security Miscellany……Page 312
Module 9 Mastery Check……Page 313
Part III Internet Services……Page 315
10 The Domain Name Service (DNS)……Page 317
10.1 Understanding the History Behind DNS: The /etc/hosts File……Page 319
Ask the Expert……Page 321
Subdomains……Page 323
in-addr.arpa Domain……Page 324
Types of Servers……Page 326
10.3 Installing a DNS Server……Page 327
Client-Side DNS (a.k.a. the Resolver)……Page 330
10.5 Getting Ready for DNS Servers: The named.conf File……Page 334
10.6 Configuring Servers……Page 344
10.7 Putting It All Together……Page 353
10.8 Using the DNS Toolbox……Page 359
Module Summary……Page 363
Module 10 Mastery Check……Page 364
11.4 Configure a Virtual FTP Server……Page 365
11.1 Define the Mechanics of FTP……Page 366
Module Summary……Page 381
Module 11 Mastery Check……Page 382
12 Setting Up Your Web Server Using Apache……Page 383
12.1 Explaining the Mechanics of HTTP……Page 384
12.2 Setting Up the Apache HTTP Server……Page 388
12.3 Configuring Apache……Page 391
12.4 Performing Basic Troubleshooting with Apache……Page 399
Module Summary……Page 400
Module 12 Mastery Check……Page 401
13 Sending Mail with SMTP……Page 403
13.1 Discovering the Mechanics of SMTP……Page 404
13.2 Exploring Sendmail……Page 408
13.3 Choosing Postfix……Page 429
13.4 Solving Real-Life MTA Issues……Page 441
Module Summary……Page 445
Module 13 Mastery Check……Page 446
14 Using POP and IMAP for E-Mail Retrieval……Page 447
14.1 Compare the POP and IMAP Protocols……Page 448
14.2 Install POP and IMAP on Red Hat……Page 451
14.3 Read Mail with Telnet……Page 453
14.4 Notice IMAP Quirks……Page 459
14.5 Perform Special Authentication……Page 460
Module Summary……Page 461
Module 14 Mastery Check……Page 462
15 The Secure Shell (SSH)……Page 463
15.1 Discussing Public Key Cryptography……Page 465
15.2 Exploring SSH Versions and Distributions……Page 468
15.3 Performing Server Setup……Page 471
15.4 Using Secure Shell (SSH)……Page 477
Module Summary……Page 480
Module 15 Mastery Check……Page 481
PART IV Intranet Services……Page 483
16 Network File System (NFS)……Page 485
16.1 Examining the Mechanics of NFS……Page 486
16.2 Enabling NFS……Page 488
16.3 Configuring NFS Servers……Page 490
16.4 Configuring NFS Clients……Page 496
16.5 Learning Common Uses for NFS Partitions……Page 499
16.6 Troubleshooting NFS……Page 500
Module 16 Mastery Check……Page 501
17 Network Information Service (NIS)……Page 503
17.1 Looking Inside NIS……Page 504
17.2 Installing and Configuring the NIS Servers……Page 506
17.3 Configuring an NIS Client……Page 513
17.4 Configuring a Secondary NIS Server……Page 517
17.5 Discovering the NIS Tools……Page 519
17.6 Implementing NIS in a Real Network……Page 522
Module 17 Mastery Check……Page 524
18 Talking to Windows with Samba……Page 527
18.1 Understanding the Mechanics of SMB……Page 528
18.2 Installing Samba……Page 530
18.3 Performing Samba Administration……Page 531
18.4 Administering Samba with SWAT……Page 532
18.5 Sharing with redhat-config-samba……Page 537
18.6 Using smbclient……Page 538
18.8 Supporting Encrypted Passwords……Page 541
18.9 Troubleshooting Samba……Page 542
Module 18 Mastery Check……Page 543
19 Printing……Page 545
19.2 Installing LPRng……Page 547
19.3 Configuring /etc/printcap……Page 548
19.4 Understanding the /etc/lpd.perms File……Page 553
19.5 Examining the Client Programs of lpd……Page 555
19.6 Exploring CUPS……Page 557
19.7 Installing CUPS……Page 558
19.8 Configuring Clients for CUPS……Page 564
Module 19 Mastery Check……Page 566
20 Host Configuration with DHCP……Page 569
20.1 Discovering BOOTP and the Roots of DHCP……Page 570
20.2 Viewing the Mechanics of DHCP……Page 571
20.3 Investigating the DHCP Server……Page 572
20.4 Knowing the DHClient……Page 580
Module 20 Mastery Check……Page 583
21 Backups……Page 585
21.1 Evaluating Your Backup Needs……Page 586
21.2 Managing the Backup Device and Files……Page 589
21.3 Exploring Command-Line Tools……Page 592
21.4 Using Amanda……Page 597
Module 21 Mastery Check……Page 603
Appendix A……Page 605
Index……Page 623
Reviews
There are no reviews yet.