You are previewing Special Edition Using Linux®, Sixth Edition.
O'Reilly logo
Special Edition Using Linux®, Sixth Edition

Book Description

Linux is a significant force in the server room and the desktop, delivering reliability, ease of installation and administration, high performance, security, and robust applications. Special Edition Using Linux 6E is written to the just-released 2.4.x kernel and includes the following topics: installation and configuration of Red Hat Linux, Caldera OpenLinux, and Debian GNU/Linux; configuration and use of Samba, Netscape, sendmail, SSH, and Webmin; coverage of KDE 2.0 and its integrated utility suite; configuration of the X Windows System; installation and managment of applications; creation of a VPN with FreeS/WAN; customization of your shell environment; networking with Linux; Novell NetWare integration; and more. Special Edition Using Linux 6E details the latest Linux technologies, such as Ximian GNOME and the 2.4 kernel.

Table of Contents

  1. Copyright
  2. About the Authors
  3. Acknowledgments
  4. Tell Us What You Think!
  5. INTRODUCTION
  6. Introduction to Linux
    1. What Is Linux?
      1. What Is Linux?
      2. Linux Distributions
      3. The Linux Standard Base Project (LSB)
      4. The Linux Professional Institute and Linux Certification
      5. How Does Linux Fit In with Other Networked Environments?
    2. Introduction to the Desktop
      1. What Is a Desktop?
      2. Common Desktop Features
      3. Case Study: KDE Versus GNOME
    3. KDE
      1. What Is KDE?
      2. Installing KDE
      3. Selecting KDE
      4. Basic Desktop Elements
      5. Running Programs
      6. Stopping KDE
      7. KDE Capabilities
      8. Configuring KDE with the Control Center
      9. Configuring the Panel
      10. Manipulating Files and Directories
      11. Project: Setting Up a Development Environment
    4. GNOME
      1. What Is GNOME?
      2. Installing GNOME
      3. Selecting GNOME
      4. Basic Desktop Elements
      5. Running Programs
      6. Logging Out of GNOME
      7. GNOME Capabilities
      8. Configuring GNOME with the Control Center
      9. Configuring the Panel
      10. Updating Helix GNOME
      11. Project: Installing Enlightenment
  7. Sight and Sound
    1. Configuring X
      1. What Is the X Window System?
      2. Understanding the X Window System
      3. Installing the XFree86 System
      4. Configuring XFree86
      5. Dissecting the XF86Config File
      6. X Window System Startup
      7. Troubleshooting
      8. Case Study: The X Window System Across a Network
    2. Customizing X and Controlling X Resources
      1. Navigating the X Window System
      2. Using Window Managers for Linux
      3. Choosing a Window Manager
      4. Themes
      5. X Resources
      6. Project: Auto-Shrinking xterm
    3. Multimedia
      1. Open Sound System for Linux
      2. Getting and Installing Open Sound System for Linux
      3. RealPlayer
      4. Adobe Acrobat Reader
      5. Troubleshooting
  8. Linux System Administration
    1. System Administration Tools
      1. Differences in Linux Distributions
      2. Caldera OpenLinux/COAS
      3. Autonomous LIZARD Modules
      4. Debian System Administration Tools
      5. Red Hat System Administration Tools
      6. Project: Familiarize Yourself
    2. Disk Drives and Filesystems
      1. Hard Drive Installation
      2. Partitioning the Hard Drive
      3. Linux Filesystems
      4. Mounting Filesystems
      5. Unmounting Filesystems
      6. Automating the Mounting Process
      7. Troubleshooting
    3. Understanding the Linux Filesystem
      1. The Linux Filesystem Structure
      2. The Linux Filesystem Standard (FHS)
      3. Default Directory Layout
      4. Distribution Differences
      5. Examining Key Directories
      6. Checking Filesystems
      7. Projects
    4. Users, Groups, and Permissions
      1. User Accounts
      2. Account Setup
      3. Groups
      4. Permissions
      5. Troubleshooting
    5. Boot Loaders
      1. What Is LILO?
      2. Boot Stages
      3. How Does LILO Work?
      4. Basic Configuration
      5. How to Install LILO
      6. Dual Booting
      7. Parameters
      8. Debugging LILO
      9. Other Boot Loader Options
      10. GRUB
      11. Author Recommendations
      12. Troubleshooting
    6. System Initialization
      1. About Initialization
      2. init: Where It All Begins
      3. inittab Specifics
      4. The rc Scripts
      5. Emergencies
      6. Troubleshooting
    7. Customizing Your Shell Environment
      1. Beyond the Login Prompt
      2. What Is a Shell?
      3. Types of Shells
      4. Interactive Shell Use
      5. Default Shell Environment
      6. Customizing Your Environment
      7. Shell Programming (Scripts)
      8. Case Study: Scripting Suggestions
    8. Understanding PAM
      1. Encryption and Authentication
      2. Using PAM
      3. Troubleshooting
    9. Software Package Management
      1. Introduction to Package Management
      2. Installing New Software
      3. Removing a Package
      4. Upgrading a Package
      5. Verifying Packages
      6. Verifying Package Signatures
      7. Troubleshooting
    10. Building/Rebuilding a Package
      1. Working with TAR Files
      2. Library Compatibility
      3. Advanced RPM Package Querying
      4. Building from Source RPMs
      5. Project: Modifying a Package
    11. Building a Custom Kernel
      1. The Linux Kernel
      2. Building a New Kernel
      3. Patching a Kernel
      4. Troubleshooting
    12. Kernel Modules
      1. The Linux Kernel, Modules, and Drivers
      2. Module Versions
      3. Module Management
      4. Modules Available Outside the Kernel Sources
      5. Troubleshooting
    13. Building a VPN (FreeS/WAN)
      1. Getting Started
      2. Building the FreeS/WAN Kernel
      3. VPN Planning
      4. VPN Configuration
      5. Troubleshooting
    14. System Auditing and System Logging
      1. syslog
      2. klogd
      3. Tripwire
      4. Toubleshooting
  9. Networking with Linux
    1. Networking
      1. IP
      2. Ports
      3. TCP
      4. UDP
      5. ICMP
      6. Network Startup Under OpenLinux
      7. Network Startup Under Debian
      8. Network Startup Under Red Hat
      9. IFCONFIG
      10. ROUTE
      11. Checking Your Network
      12. Troubleshooting
    2. Using DHCP
      1. Background
      2. ARP
      3. BOOTP
      4. DHCP
      5. Configuring DHCPD
      6. Global Parameters
      7. Subnet Statement
      8. Shared Network Statement
      9. Group Statement
      10. Configuring DHCPD for BOOTP
      11. DNS and DHCP
      12. Configuring DHCP Clients
      13. DHCP Messages and Overview of the DHCP Process
      14. New DHCP Clients
      15. Continuing Leases
      16. Troubleshooting
    3. Connecting to an ISP
      1. ISP Connections
      2. Dial-Up Connections with PPP
      3. Using ksaferppp
      4. Setting Up Automatic Demand Dialing
      5. Distribution-Specific Information
      6. Troubleshooting
    4. Email Clients and Servers
      1. Email—What Is It?
      2. How Does Email Work?
      3. User Agents
      4. Mail Transport Agent Configuration
      5. Delivery Agents
      6. Encryption and Pretty Good Privacy (PGP)
      7. Troubleshooting
    5. DNS and BIND
      1. About DNS
      2. What Is BIND?
      3. BIND Files
      4. Name Server Tools
      5. Troubleshooting
    6. Sharing Files with NFS
      1. Why Share?
      2. Preparation for NFS
      3. Required Configuration Files and Programs
      4. Defining the Method of Sharing
      5. Troubleshooting
    7. Using NetWare
      1. NetWare Client Utilities
      2. Administration Utilities for NDS
      3. Bindery-Based Administrative Utilities
      4. Project: Using the ncpfs Package
    8. Sharing Resources with Samba
      1. Sharing Information
      2. Samba
      3. Network Environments
      4. Sharing Directories
      5. Sharing Printers Across the Network
      6. Restricting Access to Services
      7. Variables Available to Samba
      8. Troubleshooting
    9. Setting Up a Network
      1. About Networking
      2. Hardware
      3. Assumptions
      4. The Individual Systems
      5. The Server
      6. Miscellany
      7. Troubleshooting
  10. Services and Special Applications
    1. Printing
      1. Printing in Linux
      2. Printing with lpr
      3. Setting Up Printers
      4. Managing Print Queues
      5. Final Words
      6. Troubleshooting
    2. File Transfer Protocol (FTP)
      1. FTP Overview
      2. FTP Client
      3. Downloading Files Using an FTP Session
      4. Serving Files Using FTP
      5. Troubleshooting
    3. Apache and khttpd
      1. Introduction to Apache
      2. Overview of Operation
      3. Basic Configuration
      4. Adding Security to Your Web Site
      5. Virtual Hosting
      6. Dynamic Shared Objects (DSO)
      7. Using Apache with SSL
      8. Case Study: Boosting Apache with khttpd
    4. TCP Wrappers
      1. What Are TCP Wrappers?
      2. How TCP Wrappers Work
      3. Implementing TCP Wrappers
      4. tcpdchk
      5. tcpdmatch
      6. Case Study: Site Construction
    5. IP Masquerading
      1. IP Masquerading, Network Address Translation, and Port Forwarding
      2. Required Kernel Components
      3. Setup
      4. SNAT
      5. DNAT
      6. Project: Building a NAT System
    6. IP Firewalling
      1. Introduction to Firewalls
      2. Physical Configurations
      3. The Firewall Kernel
      4. Software Considerations
      5. Other Considerations
      6. iptables General Information
      7. User-Defined Chains
      8. Simple Firewall Policies
      9. Monitoring
      10. Under Attack
      11. Network Security Policy
      12. Project: A Simple Packet-Filtering Firewall
    7. Remote Administration
      1. Encryption
      2. OpenSSL
      3. OpenSSH
      4. Net_SSLeay
      5. Webmin
      6. Troubleshooting
  11. Appendixes
    1. Commonly Used Commands
      1. Working with Commands
      2. OPTIONS
      3. Working with Directories
      4. Working with Files
      5. Networking Utilities
      6. System Utilities
    2. Finding More Information on Linux
      1. OpenLinux-Specific
      2. Debian-Specific
      3. Red Hat-Specific
      4. Linux General
      5. Specific Components Support
  12. Index