Preface p. ix Getting Started in Red Hat Linux
An Overview of Red Hat Linux p. 3
Introducing Red Hat Linux p. 4
What Is Linux? p. 5
Linux's Roots in UNIX p. 6
Common Linux Features p. 8
Primary Advantages of Linux p. 9
What Is Red Hat Linux? p. 10
Why Choose Red Hat Linux? p. 14
Features in Red Hat Linux p. 14
The Culture of Free Software p. 17
Installing Red Hat Linux p. 19
Quick Installation p. 20
Detailed Installation Instructions p. 22
Installing More Red Hat Linux Packages p. 37
Special Installation Procedures p. 38
Special Installation Topics p. 47
Troubleshooting Your Installation p. 71
Using Red Hat Linux
Getting Started with the Desktop p. 75
Logging in to Red Hat Linux p. 76
Getting Familiar with the Desktop p. 78
Using the GNOME Desktop p. 87
Using the KDE Desktop p. 101
Troubleshooting Your Desktop p. 119
Using Linux Commands p. 125
The Shell Interface p. 125
Understanding the Red Hat Linux Shell p. 129
Using the Shell in Red Hat Linux p. 130
Working with the Red Hat Linux File System p. 150
Using the vi Text Editor p. 158
Accessing and Running Applications p. 163
Using Red Hat Linux as an Application Platform p. 163
Finding Windows-Equivalent Applications in Linux p. 165
Obtaining Red Hat Linux Applications p. 167
Installing Red Hat Linux Applications p. 176
Running X Window Applications p. 188
Running Window, DOS, and Macintosh Applications p. 195
Publishing with Red Hat Linux p. 205
Other Word Processors p. 207
Using Traditional Linux Publishing Tools p. 210
Creating Documents in Groff or LaTeX p. 211
Printing Documents with Red Hat Linux p. 230
Displaying Documents with Ghostscript and Acrobat p. 232
Working with Graphics p. 234
Using Scanners Driven by SANE p. 237
Playing Games with Red Hat Linux p. 239
Basic Linux Gaming Information p. 240
X Window Games p. 242
Commercial Linux Games p. 251
Multimedia in Red Hat Linux p. 261
Listening to Audio p. 262
Viewing TV and Webcams p. 277
Playing Video p. 283
Using a Digital Camera with gtkam and gphoto2 p. 288
Recording Music CDs p. 292
Tools for Using the Internet and the Web p. 297
Overview of Internet Tools p. 298
Browsing the Web p. 298
Communicating with E-mail p. 312
Participating in Newsgroups p. 322
Participating in AOL Instant Messaging with Gaim p. 325
Using Remote Login, Copy, and Execution p. 326
Administering Red Hat Linux
Understanding System Administration p. 339
Using the root Login p. 340
Becoming Super User (The su Command) p. 341
Learning about Administrative GUI Tools, Commands, Configuration Files, and Log Files
p. 342
Administering Your Red Hat Linux System p. 355
Configuring Hardware p. 356
Managing File Systems and Disk Space p. 359
Monitoring System Performance p. 375
Choosing Software Alternatives p. 380
Getting Linux Software "up2date" p. 382
Setting Up and Supporting Users p. 389
Creating User Accounts p. 390
Setting User Defaults p. 396
Creating Portable Desktops p. 402
Providing Support to Users p. 403
Deleting User Accounts p. 408
Checking Disk Quotas p. 409
Sending Mail to All Users p. 415
Automating System Tasks p. 417
Understanding Shell Scripts p. 418
System Initialization p. 430
System Start-Up and Shutdown p. 435
Scheduling System Tasks p. 446
Backing Up and Restoring Files p. 453
Selecting a Backup Strategy p. 454
Selecting a Backup Medium p. 455
Backing Up to a Hard Drive p. 462
Backing Up Files with dump p. 464
Automating Backups with cron p. 468
Restoring Backed Up Files p. 470
Using the pax Archiving Tool p. 480
Computer Security Issues p. 485
Hacker versus Cracker p. 486
Understanding Attack Techniques p. 486
Protecting Against Denial-of-Service Attacks p. 488
Protecting Against Distributed DOS Attacks p. 491
Protecting Against Intrusion Attacks p. 495
Protecting Your Network with Firewalls p. 500
Detecting Intrusions from Log Files p. 521
Monitoring Log Files with LogSentry p. 526
Using Password Protection p. 535
Using Encryption Techniques p. 539
Guarding Your Computer with PortSentry p. 552
Red Hat Linux Network and Server Setup
Setting Up a Local Area Network p. 563
Understanding Local Area Networks p. 563
Setting Up a Wireless LAN p. 574
Understanding IP Addresses p. 592
Troubleshooting Your LAN p. 597
Connecting to the Internet p. 609
Understanding How the Internet Is Structured p. 610
Using Dial-up Connections to the Internet p. 615
Connecting your LAN to the Internet p. 627
Setting up Red Hat Linux as a Router p. 628
Configuring a Virtual Private Network Connection p. 633
Setting up Proxy Clients p. 649
Setting Up a Print Server p. 653
Choosing CUPS or LPRng Print Services p. 654
Setting Up Printers p. 656
Working with CUPS Printing p. 664
Managing Printing p. 669
Using Printing Commands p. 669
Configuring Print Servers p. 671
Setting Up a File Server p. 677
Goals of Setting Up a File Server p. 678
Setting Up an NFS File Server in Red Hat Linux p. 678
Setting Up a Samba File Server in Red Hat Linux p. 692
Setting Up a NetWare File Server in Red Hat Linux p. 715
Setting Up a Mail Server p. 719
Introduction to SMTP and sendmail p. 720
Installing and Running sendmail p. 721
Configuring sendmail p. 724
Introducing Postfix p. 749
Stopping Spam with SpamAssassin p. 750
Getting Mail from the Server (POP) p. 753
Administering a Mailing List p. 755
Setting Up an FTP Server p. 759
Understanding FTP Servers p. 760
Using the Very Secure FTP Server (vsFTPd) p. 761
Using the Washington University FTP Server (WU-FTPD) p. 767
Getting More Information about FTP Servers p. 785
Setting Up a Web Server p. 787
Introduction to Web Servers p. 788
Quick Starting the Apache Web Server p. 790
Configuring the Apache Server p. 793
Starting and Stopping the Server p. 829
Monitoring Server Activities p. 831
Setting Up a News Server p. 837
Understanding News Transports p. 838
Planning Your News Server p. 838
Configuring an INN News Server p. 840
Setting Up News Feeds p. 854
Choosing How Articles Are Stored p. 859
Setting Up Expiration Times p. 864
Allowing Users to Access Your Server p. 865
Checking News Log Files p. 866
Setting Up Boot Servers: DHCP and NIS p. 867
Using Dynamic Host Configuration Protocol p. 868
Setting Up a DHCP Server p. 868
Setting Up a DHCP Client p. 878
Understanding Network Information Service p. 879
Setting Up Red Hat Linux as an NIS Client p. 881
Setting Up Red Hat Linux as an NIS Master Server p. 885
Setting Up Red Hat Linux as an NIS Slave Server p. 889
Setting Up a MySQL Database Server p. 889
Finding MySQL Packages p. 890
Configuring the MySQL Server p. 891
Starting the MySQL Server p. 899
Checking That MySQL Server Is Working p. 899
Working with MySQL Databases p. 900
Understanding MySQL Tables p. 906
Displaying MySQL Databases p. 912
Making Changes to Tables and Records p. 916
Adding and Removing User Access p. 917
Checking and Fixing Databases p. 920
Making Servers Public with DNS p. 921
Determining Goals for Your Server p. 922
Connecting a Public Server p. 923
Configuring Your Public Server p. 928
Setting Up a Domain Name System Server p. 931
Getting More Information about BIND p. 944
Using Linux Servers from a Mac p. 945
Looking inside Mac OS X p. 946
Using Network Services from Mac OS X p. 947
Configuring an AppleTalk Server in Linux p. 952
Accessing NFS servers from the Mac p. 966
What's on the CD-ROMs p. 969
Using Linux Kernel Source Code p. 970
Red Hat Linux RPMs p. 975
Comparing Fedora and Enterprise Packages p. 975
Removed Packages p. 976
Red Hat Linux Packages on the CDs p. 977
Running Network Services p. 1011
Checklist for Running Networking Services p. 1011
Networking Service Daemons p. 1012
Referencing Network Services p. 1016
Index p. 1033
GNU General Public License p. 1067