Red Hat Enterprise Linux 4
System Administration Guide
Copyright
© 2005 Red Hat, Inc.
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.
Diskless Environments
3.1.
Start the
tftp
Server
3.2.
Configuring the DHCP Server
3.3.
Configuring the NFS Server
3.4.
Finish Configuring the Diskless Environment
3.5.
Adding Hosts
3.6.
Booting the Hosts
II.
File Systems
4.
The ext3 File System
4.1.
Features of ext3
4.2.
Creating an ext3 File System
4.3.
Converting to an ext3 File System
4.4.
Reverting to an ext2 File System
III.
Package Management
5.
Package Management with RPM
5.1.
RPM Design Goals
5.2.
Using RPM
5.3.
Checking a Package's Signature
5.4.
Impressing Your Friends with RPM
5.5.
Additional Resources
6.
Package Management Tool
6.1.
Installing Packages
6.2.
Removing Packages
7.
Red Hat Network
IV.
Network-Related Configuration
8.
Network Configuration
8.1.
Overview
8.2.
Establishing an Ethernet Connection
8.3.
Establishing an ISDN Connection
8.4.
Establishing a Modem Connection
8.5.
Establishing an xDSL Connection
8.6.
Establishing a Token Ring Connection
8.7.
Establishing a Wireless Connection
8.8.
Managing DNS Settings
8.9.
Managing Hosts
8.10.
Working with Profiles
8.11.
Device Aliases
8.12.
Establishing an IPsec Connection
8.13.
Saving and Restoring the Network Configuration
9.
Basic Firewall Configuration
9.1.
Security Level Configuration Tool
9.2.
Activating the
iptables
Service
10.
Controlling Access to Services
10.1.
Runlevels
10.2.
TCP Wrappers
10.3.
Services Configuration Tool
10.4.
ntsysv
10.5.
chkconfig
10.6.
Additional Resources
11.
OpenSSH
11.1.
Why Use OpenSSH?
11.2.
Configuring an OpenSSH Server
11.3.
Configuring an OpenSSH Client
11.4.
Additional Resources
12.
Network File System (NFS)
12.1.
Why Use NFS?
12.2.
Mounting NFS File Systems
12.3.
Exporting NFS File Systems
12.4.
Additional Resources
13.
Samba
13.1.
Why Use Samba?
13.2.
Configuring a Samba Server
13.3.
Connecting to a Samba Share
13.4.
Additional Resources
14.
Dynamic Host Configuration Protocol (DHCP)
14.1.
Why Use DHCP?
14.2.
Configuring a DHCP Server
14.3.
Configuring a DHCP Client
14.4.
Additional Resources
15.
Apache HTTP Server Configuration
15.1.
Basic Settings
15.2.
Default Settings
15.3.
Virtual Hosts Settings
15.4.
Server Settings
15.5.
Performance Tuning
15.6.
Saving Your Settings
15.7.
Additional Resources
16.
Apache HTTP Secure Server Configuration
16.1.
Introduction
16.2.
An Overview of Security-Related Packages
16.3.
An Overview of Certificates and Security
16.4.
Using Pre-Existing Keys and Certificates
16.5.
Types of Certificates
16.6.
Generating a Key
16.7.
Generating a Certificate Request to Send to a CA
16.8.
Creating a Self-Signed Certificate
16.9.
Testing The Certificate
16.10.
Accessing The Server
16.11.
Additional Resources
17.
Authentication Configuration
17.1.
User Information
17.2.
Authentication
17.3.
Command Line Version
V.
System Configuration
18.
Console Access
18.1.
Disabling Shutdown Via
[Ctrl]
-
[Alt]
-
[Del]
18.2.
Disabling Console Program Access
18.3.
Defining the Console
18.4.
Making Files Accessible From the Console
18.5.
Enabling Console Access for Other Applications
18.6.
The
floppy
Group
19.
Date and Time Configuration
19.1.
Time and Date Properties
19.2.
Network Time Protocol (NTP) Properties
19.3.
Time Zone Configuration
20.
Keyboard Configuration
21.
Mouse Configuration
22.
X Window System Configuration
22.1.
Display Settings
22.2.
Display Hardware Settings
22.3.
Dual Head Display Settings
23.
User and Group Configuration
23.1.
Adding a New User
23.2.
Modifying User Properties
23.3.
Adding a New Group
23.4.
Modifying Group Properties
23.5.
Command Line Configuration
23.6.
Explaining the Process
23.7.
Additional Information
24.
Printer Configuration
24.1.
Adding a Local Printer
24.2.
Adding an IPP Printer
24.3.
Adding a Remote UNIX (LPD) Printer
24.4.
Adding a Samba (SMB) Printer
24.5.
Adding a Novell NetWare (NCP) Printer
24.6.
Adding a JetDirect Printer
24.7.
Selecting the Printer Model and Finishing
24.8.
Printing a Test Page
24.9.
Modifying Existing Printers
24.10.
Saving the Configuration File
24.11.
Command Line Configuration
24.12.
Managing Print Jobs
24.13.
Sharing a Printer
24.14.
Additional Resources
25.
Automated Tasks
25.1.
Cron
25.2.
At and Batch
25.3.
Additional Resources
26.
Log Files
26.1.
Locating Log Files
26.2.
Viewing Log Files
26.3.
Adding a Log File
26.4.
Examining Log Files
27.
Manually Upgrading the Kernel
27.1.
Overview of Kernel Packages
27.2.
Preparing to Upgrade
27.3.
Downloading the Upgraded Kernel
27.4.
Performing the Upgrade
27.5.
Verifying the Initial RAM Disk Image
27.6.
Verifying the Boot Loader
28.
Kernel Modules
28.1.
Kernel Module Utilities
28.2.
Persistent Module Loading
28.3.
Additional Resources
29.
Mail Transport Agent (MTA) Configuration
VI.
System Monitoring
30.
Gathering System Information
30.1.
System Processes
30.2.
Memory Usage
30.3.
File Systems
30.4.
Hardware
30.5.
Additional Resources
31.
OProfile
31.1.
Overview of Tools
31.2.
Configuring OProfile
31.3.
Starting and Stopping OProfile
31.4.
Saving Data
31.5.
Analyzing the Data
31.6.
Understanding
/dev/oprofile/
31.7.
Example Usage
31.8.
Graphical Interface
31.9.
Additional Resources
Index
Colophon
Next
Introduction