Red Hat Enterprise Linux 4

System Administration Guide

ISBN: N/A
Table of Contents
Introduction
1. Changes To This Manual
2. Architecture-specific Information
3. Document Conventions
4. Activate Your Subscription
4.1. Provide a Red Hat Login
4.2. Provide Your Subscription Number
4.3. Connect Your System
5. Using the Mouse
6. Copying and Pasting Text With X
7. More to Come
7.1. Send in Your Feedback
I. Installation-Related Information
1. Kickstart Installations
1.1. What are Kickstart Installations?
1.2. How Do You Perform a Kickstart Installation?
1.3. Creating the Kickstart File
1.4. Kickstart Options
1.5. Package Selection
1.6. Pre-installation Script
1.7. Post-installation Script
1.8. Making the Kickstart File Available
1.9. Making the Installation Tree Available
1.10. Starting a Kickstart Installation
2. Kickstart Configurator
2.1. Basic Configuration
2.2. Installation Method
2.3. Boot Loader Options
2.4. Partition Information
2.5. Network Configuration
2.6. Authentication
2.7. Firewall Configuration
2.8. Display Configuration
2.9. Package Selection
2.10. Pre-Installation Script
2.11. Post-Installation Script
2.12. Saving the File
3. PXE Network Installations
3.1. Setting up the Network Server
3.2. PXE Boot Configuration
3.3. Adding PXE Hosts
3.4. Starting the tftp Server
3.5. Configuring the DHCP Server
3.6. Adding a Custom Boot Message
3.7. Performing the PXE Installation
4. Diskless Environments
4.1. Start the tftp Server
4.2. Configuring the DHCP Server
4.3. Configuring the NFS Server
4.4. Finish Configuring the Diskless Environment
4.5. Adding Hosts
4.6. Booting the Hosts
5. Basic System Recovery
5.1. Common Problems
5.2. Booting into Rescue Mode
5.3. Booting into Single-User Mode
5.4. Booting into Emergency Mode
II. File Systems
6. The ext3 File System
6.1. Features of ext3
6.2. Creating an ext3 File System
6.3. Converting to an ext3 File System
6.4. Reverting to an ext2 File System
7. Logical Volume Manager (LVM)
7.1. What is LVM?
7.2. What is LVM2?
7.3. Additional Resources
8. LVM Configuration
8.1. Automatic Partitioning
8.2. Manual LVM Partitioning
9. Redundant Array of Independent Disks (RAID)
9.1. What is RAID?
9.2. Who Should Use RAID?
9.3. Hardware RAID versus Software RAID
9.4. RAID Levels and Linear Support
10. Software RAID Configuration
10.1. Creating the RAID Partitions
10.2. Creating the RAID Devices and Mount Points
11. Swap Space
11.1. What is Swap Space?
11.2. Adding Swap Space
11.3. Removing Swap Space
11.4. Moving Swap Space
12. Managing Disk Storage
12.1. Standard Partitions using parted
12.2. LVM Partition Management
13. Implementing Disk Quotas
13.1. Configuring Disk Quotas
13.2. Managing Disk Quotas
13.3. Additional Resources
14. Access Control Lists
14.1. Mounting File Systems
14.2. Setting Access ACLs
14.3. Setting Default ACLs
14.4. Retrieving ACLs
14.5. Archiving File Systems With ACLs
14.6. Compatibility with Older Systems
14.7. Additional Resources
III. Package Management
15. Package Management with RPM
15.1. RPM Design Goals
15.2. Using RPM
15.3. Checking a Package's Signature
15.4. Impressing Your Friends with RPM
15.5. Additional Resources
16. Package Management Tool
16.1. Installing Packages
16.2. Removing Packages
17. Red Hat Network
IV. Network-Related Configuration
18. Network Configuration
18.1. Overview
18.2. Establishing an Ethernet Connection
18.3. Establishing an ISDN Connection
18.4. Establishing a Modem Connection
18.5. Establishing an xDSL Connection
18.6. Establishing a Token Ring Connection
18.7. Establishing a Wireless Connection
18.8. Managing DNS Settings
18.9. Managing Hosts
18.10. Working with Profiles
18.11. Device Aliases
18.12. Establishing an IPsec Connection
18.13. Saving and Restoring the Network Configuration
19. Basic Firewall Configuration
19.1. Security Level Configuration Tool
19.2. Activating the iptables Service
20. Controlling Access to Services
20.1. Runlevels
20.2. TCP Wrappers
20.3. Services Configuration Tool
20.4. ntsysv
20.5. chkconfig
20.6. Additional Resources
21. OpenSSH
21.1. Why Use OpenSSH?
21.2. Configuring an OpenSSH Server
21.3. Configuring an OpenSSH Client
21.4. Additional Resources
22. Network File System (NFS)
22.1. Why Use NFS?
22.2. Mounting NFS File Systems
22.3. Exporting NFS File Systems
22.4. Additional Resources
23. Samba
23.1. Why Use Samba?
23.2. Configuring a Samba Server
23.3. Connecting to a Samba Share
23.4. Additional Resources
24. Dynamic Host Configuration Protocol (DHCP)
24.1. Why Use DHCP?
24.2. Configuring a DHCP Server
24.3. Configuring a DHCP Client
24.4. Additional Resources
25. Apache HTTP Server Configuration
25.1. Basic Settings
25.2. Default Settings
25.3. Virtual Hosts Settings
25.4. Server Settings
25.5. Performance Tuning
25.6. Saving Your Settings
25.7. Additional Resources
26. Apache HTTP Secure Server Configuration
26.1. Introduction
26.2. An Overview of Security-Related Packages
26.3. An Overview of Certificates and Security
26.4. Using Pre-Existing Keys and Certificates
26.5. Types of Certificates
26.6. Generating a Key
26.7. Generating a Certificate Request to Send to a CA
26.8. Creating a Self-Signed Certificate
26.9. Testing The Certificate
26.10. Accessing The Server
26.11. Additional Resources
27. Authentication Configuration
27.1. User Information
27.2. Authentication
27.3. Command Line Version
V. System Configuration
28. Console Access
28.1. Disabling Shutdown Via [Ctrl]-[Alt]-[Del]
28.2. Disabling Console Program Access
28.3. Defining the Console
28.4. Making Files Accessible From the Console
28.5. Enabling Console Access for Other Applications
28.6. The floppy Group
29. Date and Time Configuration
29.1. Time and Date Properties
29.2. Network Time Protocol (NTP) Properties
29.3. Time Zone Configuration
30. Keyboard Configuration
31. Mouse Configuration
32. X Window System Configuration
32.1. Display Settings
32.2. Display Hardware Settings
32.3. Dual Head Display Settings
33. User and Group Configuration
33.1. Adding a New User
33.2. Modifying User Properties
33.3. Adding a New Group
33.4. Modifying Group Properties
33.5. Command Line Configuration
33.6. Explaining the Process
33.7. Additional Information
34. Printer Configuration
34.1. Adding a Local Printer
34.2. Adding an IPP Printer
34.3. Adding a Remote UNIX (LPD) Printer
34.4. Adding a Samba (SMB) Printer
34.5. Adding a Novell NetWare (NCP) Printer
34.6. Adding a JetDirect Printer
34.7. Selecting the Printer Model and Finishing
34.8. Printing a Test Page
34.9. Modifying Existing Printers
34.10. Saving the Configuration File
34.11. Command Line Configuration
34.12. Managing Print Jobs
34.13. Sharing a Printer
34.14. Additional Resources
35. Automated Tasks
35.1. Cron
35.2. At and Batch
35.3. Additional Resources
36. Log Files
36.1. Locating Log Files
36.2. Viewing Log Files
36.3. Adding a Log File
36.4. Examining Log Files
37. Manually Upgrading the Kernel
37.1. Overview of Kernel Packages
37.2. Preparing to Upgrade
37.3. Downloading the Upgraded Kernel
37.4. Performing the Upgrade
37.5. Verifying the Initial RAM Disk Image
37.6. Verifying the Boot Loader
38. Kernel Modules
38.1. Kernel Module Utilities
38.2. Persistent Module Loading
38.3. Additional Resources
39. Mail Transport Agent (MTA) Configuration
VI. System Monitoring
40. Gathering System Information
40.1. System Processes
40.2. Memory Usage
40.3. File Systems
40.4. Hardware
40.5. Additional Resources
41. OProfile
41.1. Overview of Tools
41.2. Configuring OProfile
41.3. Starting and Stopping OProfile
41.4. Saving Data
41.5. Analyzing the Data
41.6. Understanding /dev/oprofile/
41.7. Example Usage
41.8. Graphical Interface
41.9. Additional Resources
Index
Colophon