About the Author |
|
xix | |
About the Technical Reviewer |
|
xxi | |
Acknowledgments |
|
xxiii | |
Introduction |
|
xxv | |
Chapter 1 Introduction |
|
1 | (22) |
|
|
1 | (1) |
|
|
1 | (2) |
|
|
3 | (4) |
|
|
3 | (2) |
|
|
5 | (1) |
|
|
6 | (1) |
|
|
7 | (10) |
|
|
8 | (1) |
|
|
9 | (1) |
|
|
10 | (1) |
|
|
11 | (1) |
|
|
11 | (1) |
|
|
12 | (1) |
|
|
13 | (2) |
|
|
15 | (2) |
|
|
17 | (1) |
|
|
18 | (2) |
|
What to do if the experiments do not work |
|
|
20 | (1) |
|
|
21 | (1) |
|
How to access the command line |
|
|
21 | (1) |
|
|
22 | (1) |
|
|
22 | (1) |
Chapter 2 Introduction to Operating Systems |
|
23 | (24) |
|
|
23 | (1) |
|
|
23 | (1) |
|
What is an operating system? |
|
|
24 | (7) |
|
|
25 | (5) |
|
|
30 | (1) |
|
Typical operating system functions |
|
|
31 | (5) |
|
|
32 | (1) |
|
|
32 | (1) |
|
|
33 | (1) |
|
|
34 | (1) |
|
Interprocess communication |
|
|
35 | (1) |
|
|
35 | (1) |
|
|
36 | (1) |
|
|
36 | (1) |
|
|
37 | (4) |
|
|
37 | (1) |
|
|
38 | (3) |
|
A (very) brief history of Linux |
|
|
41 | (1) |
|
|
41 | (3) |
|
|
42 | (1) |
|
|
43 | (1) |
|
|
44 | (1) |
|
|
44 | (1) |
|
|
45 | (1) |
|
|
45 | (2) |
Chapter 3 The Linux Philosophy for SysAdmins |
|
47 | (24) |
|
|
47 | (1) |
|
|
47 | (1) |
|
The structure of the philosophy |
|
|
48 | (2) |
|
|
50 | (19) |
|
Data streams are a universal interface |
|
|
50 | (1) |
|
Transforming data streams |
|
|
51 | (1) |
|
|
52 | (1) |
|
|
52 | (1) |
|
|
53 | (1) |
|
|
54 | (1) |
|
|
54 | (1) |
|
|
55 | (1) |
|
|
55 | (1) |
|
|
56 | (1) |
|
Store data in open formats |
|
|
57 | (1) |
|
Use separate filesystems for data |
|
|
58 | (1) |
|
|
59 | (1) |
|
|
60 | (1) |
|
|
61 | (1) |
|
|
61 | (2) |
|
|
63 | (1) |
|
|
63 | (2) |
|
Back up everything - frequently |
|
|
65 | (1) |
|
|
65 | (1) |
|
|
66 | (1) |
|
Mentor the young SysAdmins |
|
|
67 | (1) |
|
Support your favorite open source project |
|
|
67 | (1) |
|
|
68 | (1) |
|
|
69 | (1) |
|
|
69 | (2) |
Chapter 4 Preparation |
|
71 | (46) |
|
|
71 | (1) |
|
|
71 | (1) |
|
|
72 | (1) |
|
|
73 | (1) |
|
Host software requirements |
|
|
74 | (1) |
|
|
75 | (11) |
|
Install VirtualBox on a Linux host |
|
|
75 | (7) |
|
Install VirtualBox on a Windows host |
|
|
82 | (4) |
|
|
86 | (28) |
|
|
86 | (2) |
|
Configuring the virtual network |
|
|
88 | (2) |
|
|
90 | (14) |
|
Download the ISO image file |
|
|
104 | (1) |
|
|
105 | (9) |
|
|
114 | (1) |
|
|
115 | (2) |
Chapter 5 Installing Linux |
|
117 | (36) |
|
|
117 | (1) |
|
|
117 | (6) |
|
Boot the Fedora live image |
|
|
118 | (5) |
|
|
123 | (17) |
|
|
124 | (1) |
|
|
125 | (1) |
|
|
126 | (10) |
|
|
136 | (4) |
|
|
140 | (4) |
|
|
141 | (2) |
|
|
143 | (1) |
|
Finishing the installation |
|
|
144 | (1) |
|
|
144 | (1) |
|
Shut down the Live system |
|
|
145 | (1) |
|
|
146 | (1) |
|
|
146 | (2) |
|
|
148 | (1) |
|
What to do if the experiments do not work |
|
|
149 | (2) |
|
|
151 | (1) |
|
|
151 | (2) |
Chapter 6 Using the Xfce Desktop |
|
153 | (28) |
|
|
153 | (1) |
|
|
153 | (4) |
|
|
154 | (2) |
|
|
156 | (1) |
|
|
156 | (1) |
|
|
156 | (1) |
|
|
157 | (1) |
|
|
157 | (2) |
|
|
159 | (3) |
|
Exploring the Xfce desktop |
|
|
162 | (8) |
|
|
165 | (1) |
|
Adding launchers to Panel 2 |
|
|
166 | (2) |
|
|
168 | (2) |
|
|
170 | (3) |
|
|
170 | (3) |
|
|
173 | (2) |
|
|
175 | (3) |
|
|
178 | (1) |
|
|
179 | (2) |
Chapter 7 Using the Linux Command Line |
|
181 | (44) |
|
|
181 | (1) |
|
|
181 | (1) |
|
|
182 | (1) |
|
Defining the command line |
|
|
183 | (1) |
|
|
183 | (21) |
|
|
184 | (1) |
|
|
184 | (1) |
|
|
184 | (1) |
|
|
185 | (1) |
|
|
185 | (2) |
|
|
187 | (1) |
|
|
188 | (7) |
|
|
195 | (1) |
|
|
196 | (1) |
|
|
197 | (1) |
|
|
198 | (3) |
|
|
201 | (1) |
|
|
201 | (3) |
|
|
204 | (1) |
|
Some important Linux commands |
|
|
205 | (15) |
|
|
206 | (1) |
|
Directory path notation styles |
|
|
206 | (1) |
|
Moving around the directory tree |
|
|
207 | (5) |
|
|
212 | (2) |
|
|
214 | (3) |
|
|
217 | (3) |
|
Command recall and editing |
|
|
220 | (3) |
|
|
223 | (1) |
|
|
223 | (2) |
Chapter 8 Core Utilities |
|
225 | (14) |
|
|
225 | (1) |
|
|
225 | (5) |
|
|
230 | (6) |
|
|
236 | (1) |
|
|
237 | (2) |
Chapter 9 Data Streams |
|
239 | (34) |
|
|
239 | (1) |
|
Data streams as raw materials |
|
|
239 | (2) |
|
Text streams - A universal interface |
|
|
241 | (1) |
|
|
241 | (6) |
|
Preparing a USB thumb drive |
|
|
242 | (5) |
|
|
247 | (3) |
|
|
250 | (4) |
|
|
254 | (7) |
|
|
261 | (1) |
|
|
262 | (2) |
|
|
264 | (1) |
|
|
265 | (3) |
|
|
268 | (1) |
|
|
269 | (1) |
|
|
270 | (1) |
|
|
271 | (2) |
Chapter 10 Text Editors |
|
273 | (10) |
|
|
273 | (1) |
|
|
273 | (2) |
|
|
275 | (1) |
|
|
276 | (1) |
|
|
276 | (1) |
|
|
276 | (1) |
|
|
277 | (1) |
|
|
277 | (1) |
|
|
277 | (1) |
|
|
277 | (1) |
|
|
277 | (3) |
|
|
278 | (2) |
|
Use your favorite text editor |
|
|
280 | (1) |
|
|
281 | (1) |
|
|
281 | (2) |
Chapter 11 Working As Root |
|
283 | (26) |
|
|
283 | (1) |
|
|
283 | (1) |
|
More about the su command |
|
|
284 | (2) |
|
Getting to know the root account |
|
|
286 | (6) |
|
|
292 | (1) |
|
Escalating user privilege |
|
|
293 | (12) |
|
|
293 | (1) |
|
|
293 | (12) |
|
|
305 | (1) |
|
|
306 | (1) |
|
|
306 | (3) |
Chapter 12 Installing and Updating Software |
|
309 | (26) |
|
|
309 | (1) |
|
|
309 | (1) |
|
|
310 | (5) |
|
|
315 | (1) |
|
|
316 | (10) |
|
|
317 | (3) |
|
|
320 | (3) |
|
|
323 | (1) |
|
|
324 | (2) |
|
|
326 | (1) |
|
|
327 | (3) |
|
|
330 | (2) |
|
|
332 | (1) |
|
|
332 | (3) |
Chapter 13 Tools for Problem Solving |
|
335 | (60) |
|
|
335 | (1) |
|
The art of problem solving |
|
|
336 | (5) |
|
The five steps of problem solving |
|
|
336 | (1) |
|
|
337 | (1) |
|
|
338 | (1) |
|
|
339 | (1) |
|
|
340 | (1) |
|
|
340 | (1) |
|
System performance and problem solving |
|
|
341 | (17) |
|
|
342 | (16) |
|
|
358 | (6) |
|
|
359 | (2) |
|
|
361 | (3) |
|
|
364 | (5) |
|
|
364 | (2) |
|
Tools that display disk I/O statistics |
|
|
366 | (3) |
|
|
369 | (3) |
|
|
372 | (2) |
|
Monitoring hardware temperatures |
|
|
374 | (12) |
|
|
377 | (9) |
|
System statistics with SAR |
|
|
386 | (5) |
|
Installation and configuration |
|
|
386 | (1) |
|
|
386 | (5) |
|
|
391 | (1) |
|
|
392 | (1) |
|
|
393 | (2) |
Chapter 14 Terminal Emulator Mania |
|
395 | (22) |
|
|
395 | (1) |
|
|
395 | (1) |
|
|
396 | (19) |
|
|
398 | (1) |
|
|
398 | (4) |
|
|
402 | (2) |
|
|
404 | (6) |
|
|
410 | (2) |
|
|
412 | (3) |
|
|
415 | (1) |
|
|
415 | (2) |
Chapter 15 Advanced Shell Topics |
|
417 | (34) |
|
|
417 | (1) |
|
|
418 | (1) |
|
|
418 | (2) |
|
|
420 | (1) |
|
|
421 | (8) |
|
|
422 | (2) |
|
|
424 | (3) |
|
|
427 | (1) |
|
Forcing the use of external commands |
|
|
428 | (1) |
|
|
429 | (4) |
|
|
433 | (7) |
|
|
433 | (2) |
|
Special pattern characters |
|
|
435 | (3) |
|
|
438 | (2) |
|
|
440 | (1) |
|
|
440 | (5) |
|
|
445 | (3) |
|
|
448 | (1) |
|
|
448 | (3) |
Chapter 16 Linux Boot and Startup |
|
451 | (40) |
|
|
451 | (1) |
|
|
451 | (1) |
|
|
452 | (1) |
|
|
453 | (18) |
|
|
454 | (10) |
|
|
464 | (6) |
|
|
470 | (1) |
|
|
471 | (16) |
|
|
471 | (7) |
|
|
478 | (9) |
|
|
487 | (2) |
|
|
487 | (1) |
|
|
488 | (1) |
|
|
489 | (1) |
|
|
490 | (1) |
Chapter 17 Shell Configuration |
|
491 | (22) |
|
|
491 | (1) |
|
|
492 | (12) |
|
|
495 | (1) |
|
|
495 | (1) |
|
Exploring the global configuration scripts |
|
|
496 | (3) |
|
Exploring the local configuration scripts |
|
|
499 | (1) |
|
|
500 | (4) |
|
Exploring the environment |
|
|
504 | (4) |
|
|
505 | (3) |
|
|
508 | (2) |
|
|
510 | (1) |
|
|
510 | (3) |
Chapter 18 Files, Directories, and Links |
|
513 | (36) |
|
|
513 | (1) |
|
|
514 | (1) |
|
|
514 | (2) |
|
User accounts and security |
|
|
516 | (1) |
|
|
517 | (16) |
|
|
517 | (3) |
|
|
520 | (2) |
|
|
522 | (1) |
|
Implications of Group ownership |
|
|
522 | (5) |
|
|
527 | (2) |
|
Changing file permissions |
|
|
529 | (2) |
|
|
531 | (1) |
|
|
532 | (1) |
|
|
533 | (1) |
|
|
533 | (1) |
|
|
533 | (1) |
|
|
533 | (3) |
|
|
536 | (10) |
|
|
537 | (9) |
|
|
546 | (1) |
|
|
546 | (3) |
Chapter 19 Filesystems |
|
549 | (60) |
|
|
549 | (1) |
|
|
549 | (1) |
|
|
550 | (1) |
|
|
551 | (2) |
|
The Linux Filesystem Hierarchical Standard |
|
|
553 | (4) |
|
|
553 | (3) |
|
|
556 | (1) |
|
Using the filesystem incorrectly |
|
|
556 | (1) |
|
|
557 | (1) |
|
Linux unified directory structure |
|
|
557 | (2) |
|
|
559 | (2) |
|
|
561 | (1) |
|
The Linux EXT4 filesystem |
|
|
562 | (10) |
|
|
563 | (6) |
|
|
569 | (1) |
|
|
570 | (2) |
|
Data allocation strategies |
|
|
572 | (6) |
|
|
573 | (5) |
|
|
578 | (16) |
|
|
578 | (7) |
|
Repairing damaged filesystems |
|
|
585 | (9) |
|
Creating a new filesystem |
|
|
594 | (10) |
|
|
595 | (1) |
|
Add a new virtual hard drive |
|
|
596 | (8) |
|
|
604 | (2) |
|
|
606 | (1) |
|
|
606 | (3) |
Bibliography |
|
609 | (6) |
|
|
609 | (1) |
|
|
610 | (5) |
Index |
|
615 | |