Red Hat Enterprise Linux 3

System Administration Guide

ISBN: N/A
Table of Contents
Introduction
1. Changes to This Manual
2. Document Conventions
3. More to Come
3.1. Send in Your Feedback
4. Sign Up for Support
I. File Systems
1. The ext3 File System
1.1. Features of ext3
1.2. Creating an ext3 File System
1.3. Converting to an ext3 File System
1.4. Reverting to an ext2 File System
2. Swap Space
2.1. What is Swap Space?
2.2. Adding Swap Space
2.3. Removing Swap Space
2.4. Moving Swap Space
3. Redundant Array of Independent Disks (RAID)
3.1. What is RAID?
3.2. Who Should Use RAID?
3.3. Hardware RAID versus Software RAID
3.4. RAID Levels and Linear Support
4. Logical Volume Manager (LVM)
4.1. What is LVM?
4.2. Additional Resources
5. Managing Disk Storage
5.1. Viewing the Partition Table
5.2. Creating a Partition
5.3. Removing a Partition
5.4. Resizing a Partition
6. Implementing Disk Quotas
6.1. Configuring Disk Quotas
6.2. Managing Disk Quotas
6.3. Additional Resources
7. User-Defined Device Names
7.1. Configuring Devlabel
7.2. How It Works
7.3. Additional Resources
8. Access Control Lists
8.1. Mounting File Systems
8.2. Setting Access ACLs
8.3. Setting Default ACLs
8.4. Retrieving ACLs
8.5. Archiving File Systems With ACLs
8.6. Compatibility with Older Systems
8.7. Additional Resources
II. Installation-Related Information
9. Kickstart Installations
9.1. What are Kickstart Installations?
9.2. How Do You Perform a Kickstart Installation?
9.3. Creating the Kickstart File
9.4. Kickstart Options
9.5. Package Selection
9.6. Pre-installation Script
9.7. Post-installation Script
9.8. Making the Kickstart File Available
9.9. Making the Installation Tree Available
9.10. Starting a Kickstart Installation
10. Kickstart Configurator
10.1. Basic Configuration
10.2. Installation Method
10.3. Boot Loader Options
10.4. Partition Information
10.5. Network Configuration
10.6. Authentication
10.7. Firewall Configuration
10.8. X Configuration
10.9. Package Selection
10.10. Pre-Installation Script
10.11. Post-Installation Script
10.12. Saving the File
11. Basic System Recovery
11.1. Common Problems
11.2. Booting into Rescue Mode
11.3. Booting into Single-User Mode
11.4. Booting into Emergency Mode
12. Software RAID Configuration
13. LVM Configuration
14. PXE Network Installations
14.1. Setting up the Network Server
14.2. PXE Boot Configuration
14.3. Adding PXE Hosts
14.4. Starting the tftp Server
14.5. Configuring the DHCP Server
14.6. Adding a Custom Boot Message
14.7. Performing the PXE Installation
15. Diskless Environments
15.1. Start the tftp Server
15.2. Configuring the DHCP Server
15.3. Configuring the NFS Server
15.4. Finish Configuring the Diskless Environment
15.5. Adding Hosts
15.6. Booting the Hosts
III. Package Management
16. Package Management with RPM
16.1. RPM Design Goals
16.2. Using RPM
16.3. Checking a Package's Signature
16.4. Impressing Your Friends with RPM
16.5. Additional Resources
17. Package Management Tool
17.1. Installing Packages
17.2. Removing Packages
18. Red Hat Network
IV. Network-Related Configuration
19. Network Configuration
19.1. Overview
19.2. Establishing an Ethernet Connection
19.3. Establishing an ISDN Connection
19.4. Establishing a Modem Connection
19.5. Establishing an xDSL Connection
19.6. Establishing a Token Ring Connection
19.7. Establishing a CIPE Connection
19.8. Establishing a Wireless Connection
19.9. Managing DNS Settings
19.10. Managing Hosts
19.11. Activating Devices
19.12. Working with Profiles
19.13. Device Aliases
19.14. Establishing an IPsec Connection
19.15. Saving and Restoring the Network Configuration
20. Basic Firewall Configuration
20.1. Security Level Configuration Tool
20.2. Activating the iptables Service
21. Controlling Access to Services
21.1. Runlevels
21.2. TCP Wrappers
21.3. Services Configuration Tool
21.4. ntsysv
21.5. chkconfig
21.6. Additional Resources
22. OpenSSH
22.1. Why Use OpenSSH?
22.2. Configuring an OpenSSH Server
22.3. Configuring an OpenSSH Client
22.4. Additional Resources
23. Network File System (NFS)
23.1. Why Use NFS?
23.2. Mounting NFS File Systems
23.3. Exporting NFS File Systems
23.4. Additional Resources
24. Samba
24.1. Why Use Samba?
24.2. Configuring a Samba Server
24.3. Connecting to a Samba Share
24.4. Additional Resources
25. Dynamic Host Configuration Protocol (DHCP)
25.1. Why Use DHCP?
25.2. Configuring a DHCP Server
25.3. Configuring a DHCP Client
25.4. Additional Resources
26. Apache HTTP Server Configuration
26.1. Basic Settings
26.2. Default Settings
26.3. Virtual Hosts Settings
26.4. Server Settings
26.5. Performance Tuning
26.6. Saving Your Settings
26.7. Additional Resources
27. Apache HTTP Secure Server Configuration
27.1. Introduction
27.2. An Overview of Security-Related Packages
27.3. An Overview of Certificates and Security
27.4. Using Pre-Existing Keys and Certificates
27.5. Types of Certificates
27.6. Generating a Key
27.7. Generating a Certificate Request to Send to a CA
27.8. Creating a Self-Signed Certificate
27.9. Testing The Certificate
27.10. Accessing The Server
27.11. Additional Resources
28. BIND Configuration
28.1. Adding a Forward Master Zone
28.2. Adding a Reverse Master Zone
28.3. Adding a Slave Zone
29. Authentication Configuration
29.1. User Information
29.2. Authentication
29.3. Command Line Version
V. System Configuration
30. Console Access
30.1. Disabling Shutdown Via [Ctrl]-[Alt]-[Del]
30.2. Disabling Console Program Access
30.3. Disabling All Console Access
30.4. Defining the Console
30.5. Making Files Accessible From the Console
30.6. Enabling Console Access for Other Applications
30.7. The floppy Group
31. Date and Time Configuration
31.1. Time and Date Properties
31.2. Time Zone Configuration
32. Keyboard Configuration
33. Mouse Configuration
34. X Window System Configuration
34.1. Display Settings
34.2. Advanced Settings
35. User and Group Configuration
35.1. Adding a New User
35.2. Modifying User Properties
35.3. Adding a New Group
35.4. Modifying Group Properties
35.5. Command Line Configuration
35.6. Explaining the Process
35.7. Additional Information
36. Printer Configuration
36.1. Adding a Local Printer
36.2. Adding an IPP Printer
36.3. Adding a Remote UNIX (LPD) Printer
36.4. Adding a Samba (SMB) Printer
36.5. Adding a Novell NetWare (NCP) Printer
36.6. Adding a JetDirect Printer
36.7. Selecting the Printer Model and Finishing
36.8. Printing a Test Page
36.9. Modifying Existing Printers
36.10. Saving the Configuration File
36.11. Command Line Configuration
36.12. Managing Print Jobs
36.13. Sharing a Printer
36.14. Additional Resources
37. Automated Tasks
37.1. Cron
37.2. At and Batch
37.3. Additional Resources
38. Log Files
38.1. Locating Log Files
38.2. Viewing Log Files
38.3. Adding a Log File
38.4. Examining Log Files
39. Upgrading the Kernel
39.1. Overview of Kernel Packages
39.2. Preparing to Upgrade
39.3. Downloading the Upgraded Kernel
39.4. Performing the Upgrade
39.5. Verifying the Initial RAM Disk Image
39.6. Verifying the Boot Loader
40. Kernel Modules
40.1. Kernel Module Utilities
40.2. Additional Resources
41. Mail Transport Agent (MTA) Configuration
VI. System Monitoring
42. Gathering System Information
42.1. System Processes
42.2. Memory Usage
42.3. File Systems
42.4. Hardware
42.5. Additional Resources
43. OProfile
43.1. Overview of Tools
43.2. Configuring OProfile
43.3. Starting and Stopping OProfile
43.4. Saving Data
43.5. Analyzing the Data
43.6. Understanding /dev/profile/
43.7. Example Usage
43.8. Graphical Interface
43.9. Additional Resources
VII. Appendixes
A. Building a Custom Kernel
A.1. Preparing to Build
A.2. Building the Kernel
A.3. Additional Resources
Index
Colophon