Suchen und Finden
Contents at a Glance
5
Contents
6
About the Authors
19
About the Technical Reviewer
21
Acknowledgments
22
Introduction
23
The Book
23
Installation
27
Preinstallation Steps
27
Installation
29
Troubleshooting
55
Summary
56
Bash
57
Working with the Command-Line Interface
57
Text Processing
71
Getting Help
74
Environment Variables
77
Creating and Running Your Own Script
78
Summary
80
Client/Host Configuration
81
The Boot Process
81
Keyboard Settings
89
Language Settings
90
Date and Time Settings
91
Network Settings
93
Graphics Settings
94
Printer Settings
95
Summary
96
Data Storage Management
97
Provisioning a New Hard Drive
97
Partitioning a Disk Using RAID
103
Partitioning with LVM
107
Summary
111
User Management
113
Managing Users and Groups with the Graphical Interface
113
User Management on the Command Line
119
Implementing Disk Quotas
124
Setting Resource Limits
128
Summary
129
X Window System
130
X.Org
131
The GNOME Desktop
136
XDMCP Remote Connections
147
Using XDMCP with GDM
150
X with SSH
155
Summary
156
Package Management
158
RPM
158
The RPM Filename Convention
159
The rpm Command
160
YUM
170
Summary
176
Basic Linux Security
177
System Logger
177
Automating Tasks with cron
184
Pluggable Authentication Modules
187
Summary
194
Advanced Security
195
Using Digital Certificates
195
Creating Certificates
196
Deploying Certificates
200
Intrusion Detection
205
Security Enhanced Linux
215
Summary
225
Network Security
226
The Firewall
226
tcp_wrappers
241
Centralized Logging
245
Summary
249
Network Services
250
OpenSSH
250
The OpenSSH Configuration File
250
The DHCP Server
254
The NTP Server
259
DNS
263
The Squid Web Caching Server
279
Summary
283
Open Source Databases
284
ACID
284
MySQL
285
PostgreSQL
295
CRUD and Databases
303
Summary
310
Linux Web Services
311
The Role of a Web Server
311
Apache Web Server
312
Setting Up Apache
312
Testing Apache
312
Apache Server Directories
313
The Apache Configuration File
315
Distributed Configuration Files
319
Virtual Hosts
324
Adding PHP to Apache
330
Secure Apache with SSL
331
Summary
334
File Sharing Services
335
Very Secure FTP Daemon
335
NFS
337
Setting Up a Samba Server
343
Summary
356
Linux Mail Servers
357
Basic Email Concepts
357
Sendmail
360
Postfix
371
Mail Servers and DNS
380
Dovecot
381
Summary
394
Directory Services
395
The Need for Unified Authentication
395
Network Information System
397
OpenLDAP
407
Summary
435
The Linux Kernel
436
History of the Linux Kernel
436
Types of Linux Kernels
436
Kernel Modules
438
Loading Kernel Modules
439
Unloading Kernel Modules
442
When to Recompile the Kernel
443
Getting a New Linux Kernel
444
Ways to Configure the Kernel Sources
445
Preparing for Kernel Compilation
451
Building the Kernel
452
Building the Kernel Modules
453
Making the Boot Loader Initialized RAM Disk
453
Adding the New Kernel into the GRUB Boot Loader
453
Your Turn
455
Summary
455
Linux Virtualization
456
Understanding Virtualization
456
The xend Daemon
462
The xend Network Configuration Scripts Directory
464
Checking Dom-0
464
Making a Guest with virt-install
465
Understanding the Guest Configuration File
469
Xen Guest Example Configuration Files
471
Connecting to a Guest
471
Shutting Down a Guest
474
Starting a Guest
474
Cloning a Guest
474
Cleaning Up
475
Summary
476
Linux Troubleshooting
477
The CentOS Rescue Environment
477
Exploring the Rescue Environment
480
Troubleshooting Checklist
481
Mounting Logical Volumes
484
Single-User Mode
486
My New Kernel Is Stuck!
487
Summary
489
Index
490
Alle Preise verstehen sich inklusive der gesetzlichen MwSt.