Preface |
|
vi | |
Introduction |
|
3 | (26) |
|
|
29 | (18) |
|
Starting the Installation |
|
|
29 | (11) |
|
An Older Install with RHEL5 |
|
|
33 | (4) |
|
|
37 | (3) |
|
Verifying the Installation |
|
|
40 | (1) |
|
|
41 | (1) |
|
|
42 | (1) |
|
Answers to Review Questions |
|
|
42 | (5) |
|
Chapter 2 System Initialization |
|
|
47 | (24) |
|
|
47 | (4) |
|
|
51 | (4) |
|
|
52 | (2) |
|
|
54 | (1) |
|
|
55 | (4) |
|
|
56 | (3) |
|
Rescue and Recovery Runlevels |
|
|
59 | (1) |
|
|
59 | (7) |
|
|
64 | (2) |
|
|
66 | (1) |
|
|
66 | (1) |
|
Answers to Review Questions |
|
|
67 | (4) |
|
Chapter 3 Disks and Partitioning |
|
|
71 | (42) |
|
|
71 | (14) |
|
|
75 | (6) |
|
|
81 | (2) |
|
|
83 | (2) |
|
|
85 | (16) |
|
Creating an LVM Partition |
|
|
89 | (4) |
|
Adjusting the Size of LVM Partitions |
|
|
93 | (3) |
|
|
96 | (3) |
|
Deleting an LVM Partition |
|
|
99 | (2) |
|
|
101 | (8) |
|
|
102 | (3) |
|
What to Do When a Disk Fails |
|
|
105 | (3) |
|
|
108 | (1) |
|
|
109 | (1) |
|
|
109 | (1) |
|
Answers to Review Questions |
|
|
109 | (4) |
|
Chapter 4 File Systems and Such |
|
|
113 | (36) |
|
|
113 | (15) |
|
|
114 | (2) |
|
|
116 | (3) |
|
|
119 | (6) |
|
Extra File System Commands |
|
|
125 | (3) |
|
|
128 | (4) |
|
Creating Encrypted Partitions |
|
|
129 | (3) |
|
|
132 | (1) |
|
Managing File System Quotas |
|
|
132 | (5) |
|
|
132 | (2) |
|
|
134 | (3) |
|
|
137 | (1) |
|
|
137 | (4) |
|
|
138 | (3) |
|
|
141 | (1) |
|
|
141 | (3) |
|
|
144 | (1) |
|
|
144 | (1) |
|
Answers to Review Questions |
|
|
145 | (4) |
|
|
149 | (20) |
|
|
149 | (7) |
|
|
151 | (4) |
|
|
155 | (1) |
|
|
156 | (1) |
|
Troubleshooting Network Connections |
|
|
156 | (4) |
|
|
157 | (2) |
|
Network Monitoring and Analysis |
|
|
159 | (1) |
|
|
160 | (1) |
|
|
160 | (1) |
|
Client DNS Troubleshooting |
|
|
161 | (3) |
|
|
164 | (1) |
|
|
165 | (1) |
|
Answers to Review Questions |
|
|
165 | (4) |
|
Chapter 6 Package Management |
|
|
169 | (26) |
|
|
169 | (8) |
|
Installing and Removing Packages |
|
|
170 | (2) |
|
Querying and Verifying Packages |
|
|
172 | (5) |
|
|
177 | (7) |
|
Installing and Removing Packages |
|
|
178 | (4) |
|
|
182 | (1) |
|
Configuring Additional Repositories |
|
|
183 | (1) |
|
|
184 | (4) |
|
|
185 | (3) |
|
Creating Your Own Repository |
|
|
188 | (2) |
|
Adding Your Custom Packages |
|
|
190 | (1) |
|
|
190 | (1) |
|
|
191 | (1) |
|
|
191 | (1) |
|
|
192 | (1) |
|
Answers to Review Questions |
|
|
192 | (3) |
|
Chapter 7 User Administration |
|
|
195 | (26) |
|
|
195 | (12) |
|
|
196 | (3) |
|
|
199 | (1) |
|
|
200 | (1) |
|
|
201 | (3) |
|
|
204 | (1) |
|
|
204 | (2) |
|
|
206 | (1) |
|
User Account Initialization |
|
|
207 | (2) |
|
|
207 | (1) |
|
Global User Configuration |
|
|
208 | (1) |
|
|
209 | (2) |
|
Network User Authentication |
|
|
211 | (4) |
|
|
215 | (1) |
|
|
215 | (1) |
|
Answers to Review Questions |
|
|
216 | (5) |
|
Chapter 8 Network Installs |
|
|
221 | (18) |
|
|
221 | (4) |
|
Firewall and SELinux Configuration |
|
|
224 | (1) |
|
Mastering Kickstart Config Files |
|
|
225 | (3) |
|
|
227 | (1) |
|
|
227 | (1) |
|
|
228 | (6) |
|
|
229 | (3) |
|
|
232 | (1) |
|
Firewall and SELinux Configuration |
|
|
233 | (1) |
|
|
234 | (1) |
|
|
235 | (1) |
|
|
235 | (1) |
|
Answers to Review Questions |
|
|
236 | (3) |
|
Chapter 9 System Logging, Monitoring, and Automation |
|
|
239 | (26) |
|
|
239 | (9) |
|
|
241 | (2) |
|
|
243 | (1) |
|
|
244 | (2) |
|
Centralized Logging (The RHEL5 Way) |
|
|
246 | (1) |
|
|
247 | (1) |
|
Monitoring System Performance |
|
|
248 | (4) |
|
Automation with cron and at |
|
|
252 | (9) |
|
|
254 | (4) |
|
|
258 | (3) |
|
|
261 | (1) |
|
|
261 | (1) |
|
Answers to Review Questions |
|
|
262 | (3) |
|
|
265 | (12) |
|
|
265 | (3) |
|
|
268 | (4) |
|
Tuning the Kernel with /proc/sys |
|
|
272 | (2) |
|
|
274 | (1) |
|
|
275 | (1) |
|
Answers to Review Questions |
|
|
275 | (2) |
|
|
277 | (14) |
|
|
277 | (9) |
|
|
279 | (1) |
|
|
279 | (4) |
|
Service and Boolean Options |
|
|
283 | (3) |
|
|
286 | (1) |
|
|
286 | (1) |
|
|
287 | (1) |
|
|
287 | (1) |
|
Answers to Review Questions |
|
|
288 | (3) |
|
Chapter 12 System Security |
|
|
291 | (18) |
|
Security Through TCP Wrappers |
|
|
291 | (2) |
|
Firewall Rules Using iptables |
|
|
293 | (7) |
|
|
294 | (5) |
|
Troubleshooting Firewall Rules |
|
|
299 | (1) |
|
|
300 | (1) |
|
Pluggable Authentication Module |
|
|
301 | (4) |
|
|
301 | (2) |
|
|
303 | (1) |
|
Managing Password Policies |
|
|
304 | (1) |
|
|
305 | (1) |
|
|
305 | (1) |
|
Answers to the Review Questions |
|
|
306 | (3) |
|
|
309 | (16) |
|
|
309 | (6) |
|
|
310 | (3) |
|
Firewall and SELinux Configuration |
|
|
313 | (1) |
|
|
314 | (1) |
|
|
315 | (1) |
|
|
315 | (3) |
|
|
316 | (1) |
|
|
317 | (1) |
|
|
318 | (3) |
|
|
320 | (1) |
|
|
321 | (1) |
|
|
321 | (1) |
|
Answers to Review Questions |
|
|
321 | (4) |
|
|
325 | (26) |
|
|
325 | (9) |
|
|
325 | (1) |
|
Configuring the Web Server |
|
|
326 | (3) |
|
Firewall and SELinux Configuration |
|
|
329 | (3) |
|
|
332 | (2) |
|
|
334 | (7) |
|
|
334 | (2) |
|
|
336 | (3) |
|
|
339 | (2) |
|
|
341 | (1) |
|
|
342 | (1) |
|
|
343 | (4) |
|
|
344 | (1) |
|
|
344 | (1) |
|
Firewall and SELinux Configuration |
|
|
345 | (1) |
|
|
346 | (1) |
|
|
347 | (1) |
|
|
347 | (1) |
|
Answers to Review Questions |
|
|
348 | (3) |
|
|
351 | (18) |
|
|
351 | (9) |
|
|
352 | (1) |
|
|
353 | (5) |
|
Firewall and SELinux Configuration |
|
|
358 | (2) |
|
|
360 | (1) |
|
|
361 | (3) |
|
|
364 | (2) |
|
|
366 | (1) |
|
|
366 | (1) |
|
Answers to Review Questions |
|
|
366 | (3) |
|
|
369 | (14) |
|
|
369 | (8) |
|
|
370 | (7) |
|
|
377 | (1) |
|
|
377 | (2) |
|
|
379 | (1) |
|
|
380 | (1) |
|
Answers to Review Questions |
|
|
380 | (3) |
|
|
383 | (10) |
|
|
383 | (5) |
|
|
384 | (1) |
|
|
384 | (2) |
|
Firewall and SELinux Configuration |
|
|
386 | (2) |
|
|
388 | (1) |
|
|
389 | (1) |
|
|
390 | (1) |
|
|
390 | (1) |
|
Answers to Review Questions |
|
|
391 | (2) |
|
|
393 | (28) |
|
|
393 | (3) |
|
Firewall and SELinux Configuration |
|
|
394 | (2) |
|
|
396 | (10) |
|
|
397 | (4) |
|
|
401 | (3) |
|
|
404 | (2) |
|
|
406 | (1) |
|
DNS Utilities and Troubleshooting |
|
|
406 | (6) |
|
|
412 | (5) |
|
|
417 | (1) |
|
|
417 | (1) |
|
Answers to Review Questions |
|
|
418 | (3) |
|
Chapter 19 Network Services |
|
|
421 | (22) |
|
Xinetd: The Master Service |
|
|
421 | (5) |
|
Dynamic Host Configuration Protocol |
|
|
426 | (7) |
|
|
426 | (1) |
|
Configuring the DHCP Server |
|
|
427 | (4) |
|
|
431 | (1) |
|
|
432 | (1) |
|
|
433 | (6) |
|
|
434 | (1) |
|
|
434 | (2) |
|
Firewall and SELinux Configuration |
|
|
436 | (1) |
|
|
437 | (1) |
|
|
438 | (1) |
|
|
439 | (1) |
|
|
439 | (1) |
|
Answers to Review Questions |
|
|
439 | (4) |
|
Chapter 20 Email Services |
|
|
443 | (20) |
|
|
443 | (1) |
|
|
443 | (9) |
|
|
445 | (4) |
|
Firewall and SELinux Configuration |
|
|
449 | (1) |
|
|
450 | (1) |
|
|
451 | (1) |
|
Receiving Mail with Dovecot |
|
|
452 | (4) |
|
|
452 | (1) |
|
Firewall and SELinux Configuration |
|
|
453 | (1) |
|
|
454 | (2) |
|
|
456 | (2) |
|
|
458 | (1) |
|
|
459 | (1) |
|
Answers to Review Questions |
|
|
459 | (4) |
|
Chapter 21 Troubleshooting |
|
|
463 | (10) |
|
|
463 | (3) |
|
I Lost My Root User Password |
|
|
463 | (1) |
|
Password Change Not Available in Single-User Mode |
|
|
464 | (1) |
|
|
464 | (1) |
|
The Partition or Root File System Can't Be Found |
|
|
465 | (1) |
|
Troubleshooting File Systems |
|
|
466 | (2) |
|
The System Complains About a File System Label |
|
|
466 | (1) |
|
The Superblock Has Become Corrupt |
|
|
466 | (1) |
|
Users Can't Create Files in Their Home Directories |
|
|
467 | (1) |
|
|
468 | (2) |
|
I Can't Remote into My System |
|
|
468 | (1) |
|
|
468 | (1) |
|
When I Start a Service, It Tells Me "Cannot Bind to Address" |
|
|
469 | (1) |
|
I Get the Error Message "No Route to Host" |
|
|
469 | (1) |
|
My Ping to Another Host Has Failed |
|
|
470 | (1) |
|
|
470 | (3) |
|
Chapter 22 Visualization with KVM |
|
|
473 | (10) |
|
Working with Virtual Machines |
|
|
473 | (6) |
|
Setting Up the Physical Host |
|
|
473 | (1) |
|
Installing a Virtual Client |
|
|
474 | (3) |
|
Managing a Virtual Client |
|
|
477 | (2) |
|
Monitoring Virtual Resources |
|
|
479 | (1) |
|
|
480 | (1) |
|
|
480 | (1) |
|
Answers to Review Questions |
|
|
481 | (2) |
Lab Exam 1 |
|
483 | (2) |
Lab Exam 2 |
|
485 | (1) |
Index |
|
486 | |