Preface |
|
xxxi | |
|
|
1 | (20) |
|
|
2 | (3) |
|
|
2 | (2) |
|
|
4 | (1) |
|
|
5 | (1) |
|
|
5 | (1) |
|
The Heritage of Linux: UNIX |
|
|
5 | (1) |
|
What Is So Good About Linux? |
|
|
6 | (4) |
|
Why Linux Is Popular with Hardware Companies and Developers |
|
|
7 | (1) |
|
|
8 | (1) |
|
|
8 | (1) |
|
The C Programming Language |
|
|
9 | (1) |
|
|
10 | (4) |
|
Linux Has a Kernel Programming Interface |
|
|
10 | (1) |
|
Linux Can Support Many Users |
|
|
10 | (1) |
|
|
11 | (1) |
|
Linux Provides a Secure Hierarchical Filesystem |
|
|
11 | (1) |
|
The Shell: Command Interpreter and Programming Language |
|
|
12 | (2) |
|
A Large Collection of Useful Utilities |
|
|
14 | (1) |
|
Interprocess Communication |
|
|
14 | (1) |
|
|
14 | (1) |
|
Additional Features of Linux |
|
|
14 | (2) |
|
GUIs: Graphical User Interfaces |
|
|
15 | (1) |
|
(Inter) Networking Utilities |
|
|
16 | (1) |
|
|
16 | (1) |
|
Conventions Used in This Book |
|
|
16 | (3) |
|
|
19 | (1) |
|
|
19 | (2) |
|
PART I Installing Fedora and Red Hat Enterprise Linux |
|
|
21 | (70) |
|
|
23 | (24) |
|
The Desktop Live Media CD and the Install Media DVD |
|
|
24 | (1) |
|
Planning the Installation |
|
|
24 | (12) |
|
|
25 | (1) |
|
|
25 | (1) |
|
Interfaces: Installer and Installed System |
|
|
26 | (1) |
|
Which Are You Installing: Fedora or Red Hat Enterprise Linux? |
|
|
27 | (1) |
|
Upgrading an Existing Fedora/RHEL System Versus Installing a Fresh Copy |
|
|
28 | (1) |
|
|
29 | (4) |
|
|
33 | (2) |
|
LVM: Logical Volume Manager |
|
|
35 | (1) |
|
|
36 | (1) |
|
The Medium: Where Is the Source Data? |
|
|
36 | (1) |
|
Downloading a CD/DVD (FEDORA) |
|
|
37 | (4) |
|
The Easy Way to Download a CD ISO Image File |
|
|
38 | (1) |
|
Finding a Mirror Site to Download from |
|
|
39 | (2) |
|
Using BitTorrent to Download a CD/DVD ISO Image File |
|
|
41 | (1) |
|
Checking and Burning the CD/DVD |
|
|
41 | (1) |
|
|
41 | (1) |
|
|
42 | (1) |
|
|
42 | (1) |
|
Gathering Information About the System |
|
|
43 | (1) |
|
Finding the Installation Manual |
|
|
44 | (1) |
|
|
44 | (1) |
|
|
45 | (1) |
|
|
46 | (1) |
|
|
46 | (1) |
|
Step-By-Step Installation |
|
|
47 | (44) |
|
Running a Fedora Live Session |
|
|
48 | (2) |
|
|
48 | (2) |
|
Installing Fedora/RHEL Linux |
|
|
50 | (13) |
|
Installing from a Live Session |
|
|
51 | (1) |
|
Installing/Upgrading from the Install DVD |
|
|
51 | (1) |
|
|
52 | (1) |
|
|
53 | (8) |
|
Firstboot: When You Reboot |
|
|
61 | (2) |
|
Initializing Database and Updating the System |
|
|
63 | (1) |
|
|
63 | (17) |
|
Modifying Boot Parameters (Options) |
|
|
63 | (3) |
|
|
66 | (3) |
|
gparted: The GNOME Partition Editor |
|
|
69 | (3) |
|
parted: Reports on and Partitions a Hard Disk |
|
|
72 | (3) |
|
|
75 | (3) |
|
Using the Kickstart Configurator |
|
|
78 | (1) |
|
Setting Up a Dual-Boot System |
|
|
79 | (1) |
|
|
80 | (8) |
|
system-config-display: Configures the Display |
|
|
80 | (2) |
|
|
82 | (6) |
|
gdm: Displays a Graphical Login |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
89 | (1) |
|
|
89 | (2) |
|
PART II Getting Started With Fedora and Red Hat Enterprise Linux |
|
|
91 | (152) |
|
Introduction to Fedora and Red Hat Enterprise Linux |
|
|
93 | (44) |
|
Curbing Your Power: Superuser/root Access |
|
|
94 | (1) |
|
A Tour of the Fedora/RHEL Desktop |
|
|
94 | (20) |
|
|
96 | (1) |
|
Getting the Most from the Desktop |
|
|
96 | (10) |
|
Using Konqueror to Manage Files, Run Programs, and Browse the Web |
|
|
106 | (3) |
|
Customizing Your Desktop with the KDE Control Center |
|
|
109 | (3) |
|
Customizing the Main Panel Using the Panel Menu |
|
|
112 | (2) |
|
Getting the Facts: Where to Find Documentation |
|
|
114 | (9) |
|
|
114 | (1) |
|
|
115 | (1) |
|
man: Displays the System Manual |
|
|
116 | (2) |
|
info: Displays Information About Utilities |
|
|
118 | (2) |
|
|
120 | (1) |
|
HOWTOs: Finding Out How Things Work |
|
|
121 | (1) |
|
Getting Help with the System |
|
|
121 | (2) |
|
|
123 | (8) |
|
|
124 | (1) |
|
What to Do if You Cannot Log In |
|
|
124 | (1) |
|
|
125 | (1) |
|
|
125 | (1) |
|
Logging In Remotely: Terminal Emulation and ssh or telnet |
|
|
125 | (1) |
|
|
126 | (2) |
|
|
128 | (3) |
|
Controlling Windows: Advanced Operations |
|
|
131 | (3) |
|
|
131 | (1) |
|
Changing the Resolution of the Display |
|
|
132 | (1) |
|
|
133 | (1) |
|
|
134 | (1) |
|
|
135 | (1) |
|
|
136 | (1) |
|
|
137 | (40) |
|
|
138 | (1) |
|
|
139 | (2) |
|
Is: Lists the Names of Files |
|
|
139 | (1) |
|
cat: Displays a Text File |
|
|
139 | (1) |
|
|
140 | (1) |
|
Less Is more: Display a Text File One Screen at a Time |
|
|
140 | (1) |
|
hostname: Displays the System Name |
|
|
141 | (1) |
|
|
141 | (7) |
|
|
141 | (1) |
|
mv: Changes the Name of a File |
|
|
142 | (1) |
|
|
143 | (1) |
|
grep: Searches for a String |
|
|
143 | (1) |
|
head: Displays the Beginning of a File |
|
|
144 | (1) |
|
tail: Displays the End of a File |
|
|
144 | (1) |
|
sort: Displays a File in Order |
|
|
145 | (1) |
|
uniq: Removes Duplicate Lines from a File |
|
|
146 | (1) |
|
|
147 | (1) |
|
file: Tests the Contents of a File |
|
|
147 | (1) |
|
I (Pipe): Communicates Between Processes |
|
|
148 | (1) |
|
|
149 | (2) |
|
|
149 | (1) |
|
date: Displays the Time and Date |
|
|
149 | (1) |
|
script: Records a Shell Session |
|
|
150 | (1) |
|
unix2dos: Converts Linux and Macintosh Files to Windows Format |
|
|
151 | (1) |
|
Compressing and Archiving Files |
|
|
151 | (5) |
|
|
152 | (1) |
|
bunzip2 and bzcat: Decompress a File |
|
|
152 | (1) |
|
|
153 | (1) |
|
tar: Packs and Unpacks Archives |
|
|
153 | (3) |
|
|
156 | (2) |
|
which and whereis: Locate a Utility |
|
|
156 | (1) |
|
apropos: Searches for a Keyword |
|
|
157 | (1) |
|
locate: Searches for a File |
|
|
158 | (1) |
|
Obtaining User and System Information |
|
|
158 | (4) |
|
who: Lists Users on the System |
|
|
159 | (1) |
|
finger: Lists Users on the System |
|
|
159 | (2) |
|
w: Lists Users on the System |
|
|
161 | (1) |
|
Communicating with Other Users |
|
|
162 | (2) |
|
|
162 | (1) |
|
mesg: Denies or Accepts Messages |
|
|
163 | (1) |
|
|
164 | (1) |
|
Tutorial: Creating and Editing a File with vim |
|
|
164 | (7) |
|
|
165 | (1) |
|
|
166 | (1) |
|
|
167 | (1) |
|
|
168 | (3) |
|
Ending the Editing Session |
|
|
171 | (1) |
|
|
171 | (1) |
|
|
171 | (3) |
|
|
174 | (1) |
|
|
175 | (2) |
|
|
177 | (36) |
|
The Hierarchical Filesystem |
|
|
178 | (1) |
|
Directory Files and Ordinary Files |
|
|
178 | (5) |
|
|
179 | (3) |
|
|
182 | (1) |
|
|
182 | (1) |
|
|
183 | (2) |
|
|
183 | (1) |
|
|
184 | (1) |
|
|
185 | (5) |
|
mkdir: Creates a Directory |
|
|
185 | (3) |
|
Important Standard Directories and Files |
|
|
188 | (2) |
|
|
190 | (2) |
|
rmdir: Deletes a Directory |
|
|
190 | (1) |
|
|
191 | (1) |
|
mv, cp: Move or Copy Files |
|
|
191 | (1) |
|
|
192 | (1) |
|
|
192 | (5) |
|
Is -I: Displays Permissions |
|
|
193 | (1) |
|
chmod: Changes Access Permissions |
|
|
194 | (1) |
|
Setuid and Setgid Permissions |
|
|
195 | (1) |
|
Directory Access Permissions |
|
|
196 | (1) |
|
ACLs: Access Control Lists |
|
|
197 | (5) |
|
|
198 | (1) |
|
Working with Access Rules |
|
|
198 | (3) |
|
Setting Default Rules for a Directory |
|
|
201 | (1) |
|
|
202 | (6) |
|
|
204 | (2) |
|
|
206 | (2) |
|
|
208 | (1) |
|
|
208 | (2) |
|
|
210 | (2) |
|
|
212 | (1) |
|
|
213 | (30) |
|
|
214 | (6) |
|
|
214 | (3) |
|
Processing the Command Line |
|
|
217 | (2) |
|
Executing the Command Line |
|
|
219 | (1) |
|
|
219 | (1) |
|
Standard Input and Standard Output |
|
|
220 | (11) |
|
|
220 | (1) |
|
The Keyboard and Screen as Standard Input and Standard Output |
|
|
221 | (1) |
|
|
222 | (6) |
|
|
228 | (3) |
|
Running a Program in the Background |
|
|
231 | (2) |
|
Filename Generation/Pathname Expansion |
|
|
233 | (4) |
|
|
233 | (1) |
|
|
234 | (1) |
|
The [ ] Special Characters |
|
|
235 | (2) |
|
|
237 | (1) |
|
|
238 | (1) |
|
|
239 | (2) |
|
|
241 | (2) |
|
PART III Digging Into Fedora and Red Hat Enterprise Linux |
|
|
243 | (158) |
|
Linux GUIs: X, GNOME, and KDE |
|
|
245 | (34) |
|
|
246 | (9) |
|
|
248 | (5) |
|
|
253 | (2) |
|
|
255 | (11) |
|
The Nautilus File Manager |
|
|
255 | (6) |
|
|
261 | (1) |
|
|
261 | (5) |
|
|
266 | (10) |
|
Konqueror Browser/File Manager |
|
|
266 | (7) |
|
|
273 | (3) |
|
|
276 | (1) |
|
|
277 | (1) |
|
|
277 | (2) |
|
|
279 | (78) |
|
|
280 | (1) |
|
|
281 | (18) |
|
|
281 | (3) |
|
Commands That Are Symbols |
|
|
284 | (1) |
|
Redirecting Standard Error |
|
|
284 | (2) |
|
Writing a Simple Shell Script |
|
|
286 | (4) |
|
Separating and Grouping Commands |
|
|
290 | (4) |
|
|
294 | (2) |
|
Manipulating the Directory Stack |
|
|
296 | (3) |
|
|
299 | (14) |
|
|
300 | (3) |
|
|
303 | (2) |
|
|
305 | (8) |
|
|
313 | (1) |
|
|
314 | (2) |
|
|
314 | (1) |
|
|
314 | (2) |
|
|
316 | (1) |
|
|
316 | (16) |
|
Variables That Control History |
|
|
316 | (2) |
|
Reexecuting and Editing Commands |
|
|
318 | (8) |
|
|
326 | (6) |
|
|
332 | (3) |
|
Single Versus Double Quotation Marks in Aliases |
|
|
333 | (1) |
|
|
334 | (1) |
|
|
335 | (3) |
|
Controlling bash Features and Options |
|
|
338 | (4) |
|
|
338 | (1) |
|
|
338 | (4) |
|
Processing the Command Line |
|
|
342 | (9) |
|
|
342 | (1) |
|
|
342 | (1) |
|
Parsing and Scanning the Command Line |
|
|
342 | (1) |
|
|
343 | (8) |
|
|
351 | (2) |
|
|
353 | (2) |
|
|
355 | (2) |
|
Networking and the Internet |
|
|
357 | (44) |
|
Types of Networks and How They Work |
|
|
359 | (15) |
|
|
360 | (1) |
|
|
360 | (1) |
|
|
360 | (1) |
|
|
361 | (1) |
|
|
362 | (1) |
|
Internetworking Through Gateways and Routers |
|
|
362 | (3) |
|
|
365 | (2) |
|
|
367 | (4) |
|
CIDR: Classless Inter-Domain Routing |
|
|
371 | (1) |
|
|
372 | (2) |
|
Communicate Over a Network |
|
|
374 | (2) |
|
finger: Displays Information About Remote Users |
|
|
374 | (1) |
|
Sending Mail to a Remote User |
|
|
375 | (1) |
|
|
376 | (1) |
|
|
376 | (7) |
|
|
376 | (1) |
|
|
377 | (1) |
|
telnet: Logs In on a Remote System |
|
|
377 | (2) |
|
ftp: Transfers Files Over a Network |
|
|
379 | (1) |
|
ping: Tests a Network Connection |
|
|
379 | (1) |
|
traceroute: Traces a Route Over the Internet |
|
|
380 | (2) |
|
host and dig: Query Internet Nameservers |
|
|
382 | (1) |
|
jwhois: Looks Up Information About an Internet Site |
|
|
382 | (1) |
|
|
383 | (9) |
|
|
384 | (1) |
|
|
385 | (2) |
|
|
387 | (1) |
|
NIS: Network Information Service |
|
|
387 | (1) |
|
|
387 | (1) |
|
|
388 | (3) |
|
|
391 | (1) |
|
|
391 | (1) |
|
|
392 | (3) |
|
|
395 | (2) |
|
URL: Uniform Resource Locator |
|
|
396 | (1) |
|
|
396 | (1) |
|
|
396 | (1) |
|
|
397 | (1) |
|
|
398 | (1) |
|
|
399 | (2) |
|
PART IV System Administration |
|
|
401 | (188) |
|
System Administration: Core Concepts |
|
|
403 | (58) |
|
System Administrator and Superuser |
|
|
405 | (6) |
|
System Administration Tools |
|
|
407 | (4) |
|
|
411 | (3) |
|
|
412 | (1) |
|
|
413 | (1) |
|
|
414 | (3) |
|
|
415 | (1) |
|
config: The SELinux Configuration File |
|
|
415 | (1) |
|
sestatus: Displays the State of SELinux |
|
|
416 | (1) |
|
Setting the Targeted Policy with system-config-selinux |
|
|
416 | (1) |
|
|
417 | (12) |
|
|
417 | (1) |
|
Init Scripts: Start and Stop System Services |
|
|
418 | (5) |
|
|
423 | (1) |
|
|
423 | (1) |
|
|
424 | (1) |
|
|
424 | (1) |
|
|
425 | (1) |
|
|
426 | (2) |
|
|
428 | (1) |
|
System Administration Utilities |
|
|
429 | (6) |
|
Fedora/RHEL Configuration Tools |
|
|
429 | (3) |
|
|
432 | (3) |
|
|
435 | (14) |
|
Standard Rules in Configuration Files |
|
|
435 | (2) |
|
rpcinfo: Displays Information About portmap |
|
|
437 | (2) |
|
|
439 | (2) |
|
|
441 | (4) |
|
|
445 | (4) |
|
nsswitch.conf: Which Service to Look at First |
|
|
449 | (3) |
|
|
449 | (3) |
|
|
452 | (5) |
|
|
453 | (1) |
|
Configuration Files, Module Types, and Control Flags |
|
|
453 | (2) |
|
|
455 | (1) |
|
Modifying the PAM Configuration |
|
|
456 | (1) |
|
|
457 | (1) |
|
|
458 | (1) |
|
|
459 | (2) |
|
Files, Directories, and Filesystems |
|
|
461 | (28) |
|
Important Files and Directories |
|
|
462 | (11) |
|
|
473 | (5) |
|
Ordinary Files, Directories, Links, and Inodes |
|
|
474 | (1) |
|
|
474 | (4) |
|
|
478 | (9) |
|
mount: Mounts a Filesystem |
|
|
480 | (3) |
|
umount: Unmounts a Filesystem |
|
|
483 | (1) |
|
fstab: Keeps Track of Filesystems |
|
|
483 | (1) |
|
fsck: Checks Filesystem Intergrity |
|
|
484 | (1) |
|
tune2fs: Changes Filesystem Parameters |
|
|
485 | (2) |
|
|
487 | (1) |
|
|
487 | (1) |
|
|
488 | (1) |
|
|
488 | (1) |
|
Downloading and Installing Software |
|
|
489 | (22) |
|
yum: Keeps the System Up-to-Date |
|
|
490 | (7) |
|
|
490 | (2) |
|
Using yum to Update, Install, and Remove Packages |
|
|
492 | (3) |
|
|
495 | (1) |
|
|
496 | (1) |
|
yum-updatesd: Runs yum Automatically |
|
|
496 | (1) |
|
Upgrading a System with yum |
|
|
496 | (1) |
|
Downloading rpm Package Files with yumdownloader |
|
|
496 | (1) |
|
pirut: Adds and Removes Software Packages |
|
|
497 | (1) |
|
|
498 | (3) |
|
rpm: Red Hat Package Manager |
|
|
501 | (3) |
|
Querying Packages and Files |
|
|
502 | (1) |
|
Installing, Upgrading, and Removing Packages |
|
|
502 | (1) |
|
Installing a Linux Kernel Binary |
|
|
503 | (1) |
|
Installing Non-rpm Software |
|
|
504 | (2) |
|
The/opt and /usr/local Directories |
|
|
504 | (1) |
|
GNU Configure and Build System |
|
|
504 | (2) |
|
Keeping Software Up-to-Date |
|
|
506 | (2) |
|
|
506 | (1) |
|
|
507 | (1) |
|
|
507 | (1) |
|
wget: Downloads Files Noninteractively |
|
|
508 | (1) |
|
|
509 | (1) |
|
|
509 | (1) |
|
|
509 | (2) |
|
|
511 | (26) |
|
|
512 | (1) |
|
|
512 | (1) |
|
|
513 | (1) |
|
|
513 | (1) |
|
JumpStart I: Configuring a Local Printer |
|
|
513 | (1) |
|
system-config-printer: Configuring a Printer |
|
|
514 | (4) |
|
|
515 | (1) |
|
Setting Up a Remote Printer |
|
|
515 | (3) |
|
JumpStart II: Configuring a Remote Printer Using the CUPS Web Interface |
|
|
518 | (5) |
|
Traditional UNIX Printing |
|
|
523 | (1) |
|
|
524 | (7) |
|
|
524 | (2) |
|
|
526 | (3) |
|
|
529 | (2) |
|
|
531 | (1) |
|
|
532 | (2) |
|
|
532 | (1) |
|
|
533 | (1) |
|
|
534 | (1) |
|
|
534 | (1) |
|
|
535 | (1) |
|
|
535 | (2) |
|
Rebuilding the Linux Kernel |
|
|
537 | (12) |
|
Preparing the Source Code |
|
|
538 | (2) |
|
|
538 | (1) |
|
Installing the Source Code |
|
|
539 | (1) |
|
|
540 | (1) |
|
Configuring and Compiling the Linux Kernel |
|
|
541 | (3) |
|
|
541 | (1) |
|
Configuring the Linux Kernel |
|
|
541 | (2) |
|
Compiling the Linux Kernel |
|
|
543 | (1) |
|
Using Loadable Kernel Modules |
|
|
543 | (1) |
|
Installing the Kernel and Associated Files |
|
|
544 | (1) |
|
|
544 | (1) |
|
|
545 | (2) |
|
|
545 | (2) |
|
dmesg: Displays Kernel Messages |
|
|
547 | (1) |
|
|
547 | (1) |
|
|
548 | (1) |
|
|
548 | (1) |
|
|
549 | (30) |
|
Configuring User and Group Accounts |
|
|
550 | (2) |
|
system-config-users: Manages User Accounts |
|
|
550 | (1) |
|
useradd: Adds a User Account |
|
|
551 | (1) |
|
userdel: Removes a User Account |
|
|
552 | (1) |
|
|
552 | (1) |
|
|
552 | (7) |
|
|
553 | (1) |
|
|
554 | (2) |
|
Performing a Simple Backup |
|
|
556 | (1) |
|
dump, restore: Back Up and Restore Filesystems |
|
|
557 | (2) |
|
|
559 | (1) |
|
crond and crontab: Schedule Routine Tasks |
|
|
559 | (1) |
|
at: Runs Occasional Tasks |
|
|
559 | (1) |
|
|
560 | (1) |
|
|
560 | (3) |
|
vmstat: Reports Virtual Memory Statistics |
|
|
561 | (1) |
|
top: Lists Processes Using the Most Resources |
|
|
562 | (1) |
|
|
563 | (1) |
|
|
564 | (1) |
|
Failing to Perform Regular Backups |
|
|
564 | (1) |
|
Not Reading and Following Instructions |
|
|
564 | (1) |
|
Failing to Ask for Help When Instructions Are Not Clear |
|
|
564 | (1) |
|
Deleting or Mistyping a Critical File |
|
|
564 | (1) |
|
|
565 | (11) |
|
Helping When a User Cannot Log In |
|
|
565 | (1) |
|
|
566 | (1) |
|
|
567 | (1) |
|
|
567 | (1) |
|
Keeping the System Secure |
|
|
568 | (1) |
|
Log Files and Mail for root |
|
|
569 | (1) |
|
|
569 | (2) |
|
Iogrotate: Manages Log Files |
|
|
571 | (1) |
|
Removing Unused Space from Directories |
|
|
572 | (1) |
|
|
573 | (1) |
|
rsyslogd: Logs System Messages |
|
|
574 | (2) |
|
|
576 | (1) |
|
|
576 | (1) |
|
|
577 | (2) |
|
|
579 | (10) |
|
|
580 | (2) |
|
|
580 | (1) |
|
|
581 | (1) |
|
NIC: Network Interface Card |
|
|
581 | (1) |
|
|
582 | (4) |
|
system-config-network: Configures the Hardware |
|
|
583 | (1) |
|
iwconfig: Configures a Wireless NIC |
|
|
584 | (2) |
|
|
586 | (1) |
|
|
587 | (1) |
|
|
587 | (1) |
|
|
588 | (1) |
|
|
588 | (1) |
|
PART V Using Clients and Setting Up Servers |
|
|
589 | (266) |
|
OpenSSH: Secure Network Communication |
|
|
591 | (22) |
|
|
592 | (1) |
|
|
592 | (3) |
|
|
592 | (2) |
|
|
594 | (1) |
|
|
594 | (1) |
|
|
595 | (8) |
|
|
595 | (1) |
|
JumpStart: Using ssh and scp |
|
|
595 | (1) |
|
|
596 | (1) |
|
ssh: Connects to or Executes Commands on a Remote System |
|
|
597 | (3) |
|
scp: Copies Files from/to a Remote System |
|
|
600 | (1) |
|
sftp: A Secure FTP Client |
|
|
601 | (1) |
|
~/.ssh/config and /etc/ssh/ssh_config Configuration Files |
|
|
601 | (2) |
|
|
603 | (4) |
|
|
603 | (1) |
|
|
603 | (1) |
|
JumpStart: Starting the sshd Daemon |
|
|
603 | (1) |
|
Authorized Keys: Automatic Login |
|
|
604 | (1) |
|
|
605 | (1) |
|
/etc/ssh/sshd_config Configuration File |
|
|
605 | (2) |
|
|
607 | (1) |
|
Tunneling/Port Forwarding |
|
|
608 | (2) |
|
|
610 | (1) |
|
|
610 | (1) |
|
|
611 | (2) |
|
FTP: Transferring Files Across A Network |
|
|
613 | (26) |
|
|
614 | (1) |
|
|
615 | (1) |
|
|
615 | (9) |
|
|
615 | (1) |
|
JumpStart: Downloading Files Using ftp |
|
|
616 | (3) |
|
|
619 | (1) |
|
|
619 | (1) |
|
|
619 | (1) |
|
Binary Versus ASCII Transfer Mode |
|
|
620 | (1) |
|
|
620 | (4) |
|
|
624 | (12) |
|
|
624 | (1) |
|
|
624 | (1) |
|
JumpStart: Starting a vsftpd Server |
|
|
625 | (1) |
|
|
625 | (1) |
|
vsftpd.conf: The vsftpd Configuration File |
|
|
626 | (10) |
|
|
636 | (1) |
|
|
637 | (1) |
|
|
637 | (2) |
|
sendmail: Setting Up Mail Clients, Servers, and More |
|
|
639 | (28) |
|
|
640 | (2) |
|
|
641 | (1) |
|
|
641 | (1) |
|
|
642 | (1) |
|
JumpStart I: Configuring sendmail on a Client |
|
|
642 | (1) |
|
JumpStart II: Configuring sendmail on a Server |
|
|
643 | (1) |
|
|
644 | (3) |
|
|
644 | (1) |
|
|
645 | (1) |
|
|
646 | (1) |
|
|
647 | (5) |
|
The sendmail.mc and sendmail.cf Files |
|
|
647 | (3) |
|
|
650 | (2) |
|
|
652 | (10) |
|
|
652 | (4) |
|
|
656 | (2) |
|
|
658 | (1) |
|
Setting Up an IMAP or POP3 Server |
|
|
659 | (1) |
|
|
659 | (3) |
|
|
662 | (2) |
|
|
664 | (1) |
|
|
664 | (1) |
|
|
665 | (1) |
|
|
665 | (2) |
|
|
667 | (30) |
|
|
668 | (1) |
|
|
668 | (3) |
|
|
670 | (1) |
|
|
671 | (4) |
|
|
671 | (1) |
|
|
671 | (1) |
|
|
671 | (2) |
|
|
673 | (1) |
|
yppasswd: Changes NIS Passwords |
|
|
674 | (1) |
|
|
675 | (7) |
|
|
675 | (1) |
|
|
676 | (1) |
|
|
676 | (5) |
|
|
681 | (1) |
|
yppasswdd: The NIS Password Update Daemon |
|
|
681 | (1) |
|
|
682 | (3) |
|
|
684 | (1) |
|
Setting Up an LDAP Server |
|
|
685 | (8) |
|
|
685 | (1) |
|
|
685 | (1) |
|
|
685 | (5) |
|
Other Tools for Working with LDAP |
|
|
690 | (3) |
|
|
693 | (1) |
|
|
694 | (1) |
|
|
694 | (3) |
|
|
697 | (22) |
|
|
698 | (2) |
|
|
700 | (1) |
|
|
700 | (6) |
|
|
700 | (1) |
|
JumpStart I: Mounting a Remote Directory Hierarchy |
|
|
700 | (2) |
|
mount: Mounts a Directory Hierarchy |
|
|
702 | (2) |
|
|
704 | (1) |
|
/etc/fstab: Mounts Directory Hierarchies Automatically |
|
|
705 | (1) |
|
|
706 | (8) |
|
|
706 | (1) |
|
|
706 | (1) |
|
JumpStart II: Configuring an NFS Server Using system-config-nfs |
|
|
707 | (1) |
|
Exporting a Directory Hierarchy |
|
|
708 | (4) |
|
exportfs: Maintains the List of Exported Directory Hierarchies |
|
|
712 | (1) |
|
|
713 | (1) |
|
automount: Automatically Mounts Directory Hierarchies |
|
|
714 | (2) |
|
|
716 | (1) |
|
|
716 | (1) |
|
|
717 | (2) |
|
Samba: Integrating Linux and Windows |
|
|
719 | (24) |
|
|
720 | (1) |
|
|
721 | (2) |
|
|
721 | (1) |
|
|
721 | (1) |
|
|
721 | (1) |
|
Samba Users, User Maps, and Passwords |
|
|
722 | (1) |
|
JumpStart: Configuring a Samba Server Using system-config-samba |
|
|
723 | (2) |
|
swat: Configures a Samba Server |
|
|
725 | (4) |
|
Manually Configuring a Samba Server |
|
|
729 | (6) |
|
Parameters in the smbd.conf File |
|
|
730 | (5) |
|
The [ homes] Share: Sharing Users' Home Directories |
|
|
735 | (1) |
|
Accessing Linux Shares from Windows |
|
|
735 | (1) |
|
|
735 | (1) |
|
|
736 | (1) |
|
Accessing Windows Shares from Linux |
|
|
736 | (2) |
|
smbtree: Displays Windows Shares |
|
|
736 | (1) |
|
smbclient: Connects to Windows Shares |
|
|
737 | (1) |
|
Browsing Windows Networks |
|
|
737 | (1) |
|
|
737 | (1) |
|
|
738 | (2) |
|
|
740 | (1) |
|
|
741 | (1) |
|
|
741 | (2) |
|
DNS/BIND: Tracking Domain Names and Addresses |
|
|
743 | (46) |
|
|
744 | (11) |
|
Nodes, Domains, and Subdomains |
|
|
744 | (2) |
|
|
746 | (1) |
|
|
747 | (1) |
|
|
748 | (1) |
|
|
749 | (3) |
|
|
752 | (1) |
|
|
753 | (2) |
|
|
755 | (2) |
|
|
755 | (1) |
|
|
755 | (1) |
|
|
756 | (1) |
|
|
756 | (1) |
|
JumpStart I: Setting Up a DNS Cache |
|
|
757 | (2) |
|
JumpStart II: Setting Up a Domain Using system-config-bind |
|
|
759 | (4) |
|
|
759 | (1) |
|
Using the BIND Configuration GUI Window |
|
|
760 | (1) |
|
Setting Up a Domain Server |
|
|
761 | (1) |
|
|
762 | (1) |
|
|
763 | (12) |
|
named.conf: The named Configuration File |
|
|
764 | (2) |
|
|
766 | (1) |
|
|
767 | (5) |
|
|
772 | (1) |
|
TSIGs: Transaction Signatures |
|
|
773 | (1) |
|
Running BIND in a chroot Jail |
|
|
774 | (1) |
|
|
775 | (2) |
|
A Full-Functioned Nameserver |
|
|
777 | (3) |
|
|
780 | (1) |
|
|
781 | (5) |
|
|
786 | (1) |
|
|
786 | (1) |
|
|
787 | (2) |
|
iptables: Setting Up a Firewall |
|
|
789 | (22) |
|
|
790 | (2) |
|
|
792 | (2) |
|
|
792 | (1) |
|
|
793 | (1) |
|
|
793 | (1) |
|
JumpStart: Building a Firewall Using system-config-firewall |
|
|
794 | (1) |
|
Anatomy of an iptables Command |
|
|
795 | (1) |
|
|
796 | (7) |
|
|
797 | (1) |
|
|
798 | (1) |
|
|
798 | (1) |
|
|
799 | (2) |
|
|
801 | (1) |
|
Copying Rules to and from the Kernel |
|
|
802 | (1) |
|
system-config-firewall: Generates a Set of Rules |
|
|
803 | (2) |
|
Sharing an Internet Connection Using NAT |
|
|
805 | (4) |
|
Connecting Several Clients to a Single Internet Connection |
|
|
806 | (2) |
|
Connecting Several Servers to a Single Internet Connection |
|
|
808 | (1) |
|
|
809 | (1) |
|
|
809 | (1) |
|
|
809 | (2) |
|
Apache (httpd): Setting Up a Web Server |
|
|
811 | (44) |
|
|
812 | (1) |
|
|
812 | (2) |
|
|
813 | (1) |
|
|
813 | (1) |
|
|
814 | (1) |
|
JumpStart I: Getting Apache Up and Running |
|
|
814 | (2) |
|
Modifying the httpd.conf Configuration File |
|
|
815 | (1) |
|
|
815 | (1) |
|
Putting Your Content in Place |
|
|
816 | (1) |
|
JumpStart II: Setting Up Apache Using system-config-httpd |
|
|
816 | (2) |
|
|
818 | (2) |
|
|
820 | (20) |
|
Directives I: Directives You May Want to Modify as You Get Started |
|
|
820 | (4) |
|
|
824 | (4) |
|
Directives II: Advanced Directives |
|
|
828 | (12) |
|
The Fedora/RHEL httpd.conf File |
|
|
840 | (3) |
|
|
841 | (1) |
|
Main Server Configuration |
|
|
842 | (1) |
|
|
843 | (1) |
|
|
843 | (1) |
|
|
844 | (1) |
|
Server-Generated Directory Listings (Indexing) |
|
|
844 | (1) |
|
|
844 | (1) |
|
|
845 | (1) |
|
|
846 | (5) |
|
|
846 | (1) |
|
|
847 | (1) |
|
|
847 | (3) |
|
Authentication Modules and .htaccess |
|
|
850 | (1) |
|
|
851 | (1) |
|
webalizer: Analyzes Web Traffic |
|
|
851 | (1) |
|
MRTG: Monitors Traffic Loads |
|
|
852 | (1) |
|
|
852 | (1) |
|
|
853 | (1) |
|
|
854 | (1) |
|
|
854 | (1) |
|
|
855 | (136) |
|
|
857 | (46) |
|
|
858 | (8) |
|
|
858 | (1) |
|
|
859 | (3) |
|
Compiling and Linking a C Program |
|
|
862 | (4) |
|
|
866 | (2) |
|
|
867 | (1) |
|
Creating Shared Libraries |
|
|
868 | (1) |
|
make: Keeps a Set of Programs Current |
|
|
868 | (8) |
|
|
871 | (3) |
|
|
874 | (2) |
|
|
876 | (10) |
|
Gcc Compiler Warning Options |
|
|
878 | (2) |
|
|
880 | (6) |
|
|
886 | (1) |
|
|
887 | (2) |
|
strace: Traces System Calls |
|
|
887 | (1) |
|
|
888 | (1) |
|
|
888 | (1) |
|
|
889 | (10) |
|
CVS: Concurrent Versions System |
|
|
890 | (9) |
|
|
899 | (1) |
|
|
900 | (1) |
|
|
901 | (2) |
|
Programming the Bourne Again Shell |
|
|
903 | (88) |
|
|
904 | (33) |
|
|
904 | (4) |
|
|
908 | (3) |
|
|
911 | (6) |
|
|
917 | (1) |
|
|
918 | (2) |
|
|
920 | (4) |
|
|
924 | (2) |
|
|
926 | (1) |
|
|
927 | (6) |
|
|
933 | (2) |
|
|
935 | (2) |
|
|
937 | (3) |
|
|
940 | (12) |
|
|
940 | (2) |
|
|
942 | (2) |
|
|
944 | (2) |
|
|
946 | (5) |
|
Expanding Null and Unset Variables |
|
|
951 | (1) |
|
|
952 | (14) |
|
type: Displays Information About a Command |
|
|
953 | (1) |
|
|
953 | (3) |
|
|
956 | (3) |
|
|
959 | (3) |
|
|
962 | (1) |
|
|
962 | (3) |
|
A Partial List of Builtins |
|
|
965 | (1) |
|
|
966 | (8) |
|
|
966 | (1) |
|
Logical Evaluation (Conditional Expressions) |
|
|
967 | (1) |
|
|
968 | (1) |
|
|
969 | (5) |
|
|
974 | (10) |
|
|
975 | (3) |
|
|
978 | (6) |
|
|
984 | (2) |
|
|
986 | (2) |
|
|
988 | (3) |
|
|
991 | (52) |
|
Appendix A: Regular Expressions |
|
|
993 | (1) |
|
|
994 | (1) |
|
|
994 | (1) |
|
|
994 | (1) |
|
|
994 | (3) |
|
|
995 | (1) |
|
|
995 | (1) |
|
|
996 | (1) |
|
|
996 | (1) |
|
Quoting Special Characters |
|
|
997 | (1) |
|
|
997 | (1) |
|
|
997 | (1) |
|
Empty Regular Expressions |
|
|
998 | (1) |
|
|
998 | (1) |
|
|
998 | (1) |
|
|
999 | (1) |
|
|
999 | (1) |
|
Extended Regular Expressions |
|
|
999 | (2) |
|
|
1001 | (2) |
|
|
1003 | (1) |
|
|
1004 | (1) |
|
Finding Linux-Related Information |
|
|
1005 | (5) |
|
|
1005 | (1) |
|
|
1006 | (1) |
|
|
1007 | (1) |
|
|
1007 | (1) |
|
|
1008 | (1) |
|
|
1008 | (2) |
|
Office Suites and Word Processors |
|
|
1010 | (1) |
|
|
1010 | (3) |
|
|
1013 | (1) |
|
|
1014 | (5) |
|
|
1015 | (1) |
|
|
1016 | (1) |
|
Encryption Implementation |
|
|
1017 | (1) |
|
|
1018 | (1) |
|
|
1019 | (1) |
|
|
1019 | (1) |
|
MTAs (Mail Transfer Agents) |
|
|
1019 | (1) |
|
|
1020 | (1) |
|
|
1020 | (3) |
|
Network Security Solutions |
|
|
1021 | (1) |
|
Network Security Guidelines |
|
|
1021 | (2) |
|
|
1023 | (5) |
|
|
1024 | (1) |
|
|
1025 | (1) |
|
|
1026 | (1) |
|
|
1026 | (2) |
|
|
1028 | (3) |
|
|
1031 | (2) |
|
Appendix D: The Free Software Definition |
|
|
1033 | (4) |
|
Appendix E: The Linux 2.6 Kernel |
|
|
1037 | (1) |
|
Native Posix Thread Library (NPTL) |
|
|
1038 | (1) |
|
|
1038 | (1) |
|
|
1038 | (1) |
|
|
1039 | (1) |
|
|
1039 | (1) |
|
|
1039 | (1) |
|
Reverse Map Virtual Memory (rmap VM) |
|
|
1039 | (1) |
|
HugeTLBFS: Translation Look-Aside Buffer Filesystem |
|
|
1040 | (1) |
|
|
1040 | (1) |
|
2.6 Network Stack Features (IGMPv3, IPv6, and Others) |
|
|
1040 | (1) |
|
Internet Protocol Virtual Server (IPVS) |
|
|
1040 | (1) |
|
Access Control Lists (ACLs) |
|
|
1041 | (1) |
|
4GB-4GB Memory Split: Physical Address Extension (PAE) |
|
|
1041 | (1) |
|
Scheduler Support for Hyper Threaded CPUs |
|
|
1041 | (1) |
|
Block I/O (BIO) Block Layer |
|
|
1041 | (1) |
|
Support for Filesystems Larger Than 2 Terabytes |
|
|
1042 | (1) |
|
|
1042 | (1) |
|
Interactive Scheduler Response Tuning |
|
|
1042 | (1) |
Glossary |
|
1043 | (48) |
Index |
|
1091 | |