A Practical Guide to Red Hat Linux: Fedora Core and Red Hat Enterprise Linux, 3/e (Paperback)
暫譯: 實用的 Red Hat Linux 指南:Fedora Core 與 Red Hat Enterprise Linux,第 3 版 (平裝本)

Mark G. Sobell

  • 出版商: Prentice Hall
  • 出版日期: 2006-07-07
  • 定價: $1,500
  • 售價: 2.7$399
  • 語言: 英文
  • 頁數: 1168
  • 裝訂: Paperback
  • ISBN: 0132280272
  • ISBN-13: 9780132280273
  • 相關分類: Linux
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

Description

Appropriate for:

  • Students taking a class in which they use Linux
  • Computer science students who are studying the Linux operating system
  • Students learning system administration who need a deeper understanding of Linux and the tools available

Gives a broad understanding of Linux, from installing Red Hat Linux through using and customizing it.

 

 

Table of Contents

Preface xxxvChapter 1: Welcome to Linux 1

The GNU-Linux Connection 2

The Linux 2.6 Kernel 5

The Heritage of Linux: UNIX 5

What Is So Good About Linux? 6

Overview of Linux 10

Additional Features of Linux 14

Conventions Used in This Book 17

Chapter Summary 19

Exercises 19

PART I: Installing Red Hat Linux 21Chapter 2: Installation Overview 23

More Information 24

Planning the Installation 24

How the Installation Works 33

The Medium: Where Is the Source Data? 34

Downloading, Burning, and Installing a CD Set or a DVD (FEDORA) 35

Rescue CD 40

Gathering Information About the System 40

Finding the Installation Manual 41

Chapter Summary 41

Exercises 42

Advanced Exercises 42

Chapter 3: Step-by-Step Installation 43

Installing Red Hat Linux 44

Installation Tasks 58

The X Window System 69

Chapter Summary 77

Exercises 78

Advanced Exercises 78

PART II: Getting Started with Red Hat Linux 79Chapter 4: Introduction to Red Hat Linux 81

Curbing Your Power: Superuser/root Access 82

A Tour of the Red Hat Linux Desktop 82

Getting the Facts: Where to Find Documentation 102

More About Logging In 111

Controlling Windows: Advanced Operations 119

Chapter Summary 122

Exercises 123

Advanced Exercises 124

Chapter 5: The Linux Utilities 125

Special Characters 126

Basic Utilities 127

Working with Files 129

| (Pipe): Communicates Between Processes 136

Four More Utilities 137

Compressing and Archiving Files 139

Locating Commands 144

Obtaining User and System Information 146

Communicating with Other Users 150

Email 152

Tutorial: Creating and Editing a File with vim 152

Chapter Summary 159

Exercises 162

Advanced Exercises 163

Chapter 6: The Linux Filesystem 165

The Hierarchical Filesystem 166

Directory Files and Ordinary Files 166

Pathnames 171

Directory Commands 173

Working with Directories 178

Access Permissions 180

ACLs: Access Control Lists 185

Links 190

Chapter Summary 196

Exercises 198

Advanced Exercises 200

Chapter 7: The Shell 201

The Command Line 202

Standard Input and Standard Output 208

Running a Program in the Background 219

Filename Generation/Pathname Expansion 221

Builtins 225

Chapter Summary 226

Exercises 227

Advanced Exercises 228

PART III: Digging into Red Hat Linux 231Chapter 8: Linux GUIs: X, GNOME, and KDE 233

X Window System 234

Using GNOME 242

Using KDE 252

Chapter Summary 262

Exercises 264

Advanced Exercises 264

Chapter 9: The Bourne Again Shell 265

Background 266

Shell Basics 267

Parameters and Variables 285

Special Characters 299

Processes 300

History 302

Aliases 318

Functions 321

Controlling bash Features and Options 324

Processing the Command Line 328

Chapter Summary 337

Exercises 339

Advanced Exercises 341

Chapter 10: Networking and the Internet 343

Types of Networks and How They Work 345

Communicate Over a Network 360

Network Utilities 362

Distributed Computing 369

Usenet 378

WWW: World Wide Web 381

Chapter Summary 383

Exercises 384

Advanced Exercises 385

PART IV: System Administration 387Chapter 11: System Administration: Core Concepts 389

System Administrator and Superuser 391

Rescue Mode 397

SELinux 400

System Operation 403

System Administration Utilities 415

Setting Up a Server 421

nsswitch.conf: Which Service to Look at First 435

PAM 438

Chapter Summary 443

Exercises 444

Advanced Exercises 445

Chapter 12: Files, Directories, and Filesystems 447

Important Files and Directories 448

File Types 459

Filesystems 464

Chapter Summary 473

Exercises 474

Advanced Exercises 474

Chapter 13: Downloading and Installing Software 475

yum: Keeps the System Up-to-Date (FEDORA) 476

pirut: Adds and Removes Software Packages (FEDORA) 483

BitTorrent (FEDORA) 484

rpm: Red Hat Package Manager 487

Installing Non-rpm Software 491

Keeping Software Up-to-Date 493

wget: Downloads Files Noninteractively 500

Chapter Summary 500

Exercises 501

Advanced Exercises 501

Chapter 14: Printing with CUPS 503

Introduction 504

JumpStart I: Configuring a Local Printer Using system-config-printer 505

JumpStart II: Configuring a Remote Printer Using CUPS 508

Traditional UNIX Printing 510

Configuring Printers Using CUPS 512

The KDE Printing Manager 519

Integration with Windows 520

Chapter Summary 522

Exercises 522

Advanced Exercises 523

Chapter 15: Rebuilding the Linux Kernel 525

Preparing the Source Code 526

Read the Documentation 528

Configuring and Compiling the Linux Kernel 529

Installing the Kernel and Associated Files 532

Rebooting 532

Boot Loader 533

dmesg: Displays Kernel Messages 535

Chapter Summary 535

Exercises 536

Advanced Exercises 536

Chapter 16: Administration Tasks 537

Configuring User and Group Accounts 538

Backing Up Files 540

Scheduling Tasks 547

System Reports 548

Keeping Users Informed 551

Creating Problems 552

Solving Problems 553

Chapter Summary 564

Exercises 564

Advanced Exercises 565

Chapter 17: Configuring a LAN 567

Setting Up the Hardware 568

Configuring the Systems 570

Setting Up Servers 574

More Information 575

Chapter Summary 575

Exercises 576

Advanced Exercises 576

PART V: Using Clients and Setting Up Servers 577Chapter 18: OpenSSH: Secure Network Communication 579

Introduction 580

About OpenSSH 580

OpenSSH Clients 583

sshd: OpenSSH Server 591

Troubleshooting 595

Tunneling/Port Forwarding 596

Chapter Summary 598

Exercises 598

Advanced Exercises 599

Chapter 19: FTP: Transferring Files Across a Network 601

Introduction 602

More Information 603

FTP Client 603

FTP Server (vsftpd) 612

Chapter Summary 624

Exercises 625

Advanced Exercises 625

Chapter 20: sendmail: Setting Up Mail Clients, Servers, and More 627

Introduction 628

JumpStart I: Configuring sendmail on a Client 630

JumpStart II: Configuring sendmail on a Server 631

How sendmail Works 632

Configuring sendmail 635

Additional Email Tools 640

Authenticated Relaying 650

Alternatives to sendmail 652

Chapter Summary 652

Exercises 653

Advanced Exercises 653

Chapter 21: NIS: Network Information Service 655

Introduction to NIS 656

How NIS Works 656

Setting Up an NIS Client 659

Setting Up an NIS Server 663

Chapter Summary 670

Exercises 670

Advanced Exercises 671

Chapter 22: NFS: Sharing Filesystems 673

Introduction 674

More Information 676

Setting Up an NFS Client 676

Setting Up an NFS Server 682

automount: Automatically Mounts Directory Hierarchies 690

Chapter Summary 692

Exercises 692

Advanced Exercises 693

Chapter 23: Samba: Integrating Linux and Windows 695

Introduction 696

About Samba 697

JumpStart: Configuring a Samba Server Using system-config-samba 699

swat: Configures a Samba Server 701

Manually Configuring a Samba Server 705

Accessing Linux Shares from Windows 711

Accessing Windows Shares from Linux 712

Troubleshooting 714

Chapter Summary 716

Exercises 717

Advanced Exercises 717

Chapter 24: DNS/BIND: Tracking Domain Names and Addresses 719

Introduction to DNS 720

About DNS 731

JumpStart I: Setting Up a DNS Cache 733

JumpStart II: Setting Up a Domain Using system-config-bind (FEDORA) 734

Setting Up BIND 739

Troubleshooting 751

A Full-Functioned Nameserver 752

A Slave Server 756

A Split Horizon Server 757

Chapter Summary 761

Exercises 762

Advanced Exercises 762

Chapter 25: iptables: Setting Up a Firewall 763

How iptables Works 764

About iptables 766

JumpStart: Building a Firewall Using system-config-securitylevel 768

Anatomy of an iptables Command 769

Building a Set of Rules 770

system-config-securitylevel: Generates a Set of Rules 777

Sharing an Internet Connection Using NAT 779

Chapter Summary 783

Exercises 783

Advanced Exercises 784

Chapter 26: Apache (httpd): Setting Up a Web Server 785

Introduction 786

About Apache 786

JumpStart I: Getting Apache Up and Running 789

JumpStart II: Setting Up Apache Using system-config-httpd 790

Filesystem Layout 792

Configuration Directives 794

The Red Hat httpd.conf File 814

Redirects 817

Multiviews 818

Server-Generated Directory Listings (Indexing) 818

Virtual Hosts 818

Troubleshooting 819

Modules 820

webalizer: Analyzes Web Traffic 825

MRTG: Monitors Traffic Loads 826

Error Codes 826

Chapter Summary 827

Exercises 828

Advanced Exercises 828

PART VI: Programming 829Chapter 27: Programming Tools 831

Programming in C 832

Using Shared Libraries 840

make: Keeps a Set of Programs Current 842

Debugging C Programs 850

Threads 860

System Calls 861

Source Code Management 863

Chapter Summary 873

Exercises 874

Advanced Exercises 875

Chapter 28: Programming the Bourne Again Shell 877

Control Structures 878

File Descriptors 911

Parameters and Variables 914

Builtin Commands 926

Expressions 940

Shell Programs 948

Chapter Summary 958

Exercises 960

Advanced Exercises 962

PART VII: Appendixes 965Appendix A: Regular Expressions 967

Characters 968

Delimiters 968

Simple Strings 968

Special Characters 968

Rules 971

Bracketing Expressions 972

The Replacement String 972

Extended Regular Expressions 973

Appendix Summary 975

Appendix B: Help 977

Solving a Problem 978

Finding Linux-Related Information 979

Specifying a Terminal 984

Appendix C: Security 987

Encryption 988

File Security 993

Email Security 993

Network Security 994

Host Security 997

Security Resources 1002

Appendix Summary 1005

Appendix D: The Free Software Definition 1007Appendix E: The Linux 2.6 Kernel 1011

Native Posix Thread Library (NPTL) 1012

IPSecurity (IPSec) 1012

Asynchronous I/O (AIO) 1012

O(1) Scheduler 1013

OProfile 1013

kksymoops 1013

Reverse Map Virtual Memory (rmap VM) 1013

HugeTLBFS: Translation Look-Aside Buffer Filesystem 1014

remap_file_pages 1014

2.6 Network Stack Features (IGMPv3, IPv6, and Others) 1014

Internet Protocol Virtual Server (IPVS) 1014

Access Control Lists (ACLs) 1015

4GB-4GB Memory Split: Physical Address Extension (PAE) 1015

Scheduler Support for HyperThreaded CPUs 1015

Block I/O (BIO) Block Layer 1015

Support for Filesystems Larger Than 2 Terabytes 1016

New I/O Elevators 1016

Interactive Scheduler Response Tuning 1016

Glossary 1017Index 1065

商品描述(中文翻譯)

**描述**

適合對象:
- 使用 Linux 的課程學生
- 學習 Linux 作業系統的計算機科學學生
- 需要深入了解 Linux 及其可用工具的系統管理學生

本書提供了對 Linux 的廣泛理解,從安裝 Red Hat Linux 到使用和自定義它。

**目錄**

**前言 xxxv**
**第一章:歡迎來到 Linux 1**
GNU-Linux 連結 2
Linux 2.6 核心 5
Linux 的遺產:UNIX 5
Linux 有什麼好處? 6
Linux 概述 10
Linux 的其他特性 14
本書使用的慣例 17
章節摘要 19
練習 19

**第一部分:安裝 Red Hat Linux 21**
**第二章:安裝概述 23**
更多資訊 24
安裝計劃 24
安裝的運作方式 33
媒介:來源數據在哪裡? 34
下載、燒錄和安裝 CD 套件或 DVD (FEDORA) 35
救援 CD 40
收集系統資訊 40
尋找安裝手冊 41
章節摘要 41
練習 42
進階練習 42

**第三章:逐步安裝 43**
安裝 Red Hat Linux 44
安裝任務 58
X Window 系統 69
章節摘要 77
練習 78
進階練習 78

**第二部分:開始使用 Red Hat Linux 79**
**第四章:Red Hat Linux 介紹 81**
限制你的權限:超級用戶/root 訪問 82
Red Hat Linux 桌面的導覽 82
獲取事實:在哪裡找到文檔 102
更多登錄資訊 111
控制窗口:進階操作 119
章節摘要 122
練習 123
進階練習 124

**第五章:Linux 工具 125**
特殊字符 126
基本工具 127
處理文件 129
| (管道):進程之間的通信 136
四個額外的工具 137
壓縮和歸檔文件 139
定位命令 144
獲取用戶和系統資訊 146
與其他用戶通信 150
電子郵件 152
教程:使用 vim 創建和編輯文件 152
章節摘要 159
練習 162
進階練習 163

**第六章:Linux 檔案系統 165**
層次檔案系統 166
目錄文件和普通文件 166
路徑名 171
目錄命令 173
處理目錄 178
訪問權限 180
ACLs:訪問控制列表 185
鏈接 190
章節摘要 196
練習 198
進階練習 200

**第七章:Shell 201**
命令行 202
標準輸入和標準輸出 208
在背景運行程序 219
文件名生成/路徑擴展 221
內建命令 225
章節摘要 226
練習 227
進階練習 228

**第三部分:深入 Red Hat Linux 231**
**第八章:Linux GUI:X、GNOME 和 KDE 233**
X Window 系統 234
使用 GNOME 242
使用 KDE 252
章節摘要 262
練習 264
進階練習 264

**第九章:Bourne Again Shell 265**
背景 266
Shell 基礎 267
參數和變數 285
特殊字符 299
進程 300
歷史 302
別名 318
函數 321
控制 bash 特性和選項 324
處理命令行 328
章節摘要 337
練習 339
進階練習 341

**第十章:網絡和互聯網 343**
網絡類型及其運作方式 345
通過網絡通信 360
網絡工具 362
分佈式計算 369
Usenet 378
WWW:全球資訊網 381
章節摘要 383
練習 384
進階練習 385

**第四部分:系統管理 387**
**第十一章:系統管理:核心概念 389**
系統管理員和超級用戶 391
救援模式 397
SELinux 400
系統操作 403
系統管理工具 415
設置伺服器 421
nsswitch.conf:首先查看哪個服務 435
PAM 438
章節摘要 443
練習 444
進階練習 445

**第十二章:文件、目錄和檔案系統 447**
重要文件和目錄 448
文件類型 459
檔案系統 464
章節摘要 473
練習 474
進階練習 474

**第十三章:下載和安裝軟體 475**
yum:保持系統最新 (FEDORA) 476
pirut:添加和移除軟體包 (FEDORA) 483
BitTorrent (FEDORA) 484
rpm:Red Hat 套件管理器 487
安裝非 rpm 軟體 491
保持軟體最新 493
wget:非互動式下載文件 500
章節摘要 500
練習 501
進階練習 501

**第十四章:使用 CUPS 打印 503**
介紹 504
JumpStart I:使用 system-config-printer 配置本地打印機 505
JumpStart II:使用 CUPS 配置遠程打印機 508
傳統 UNIX 打印 510
使用 CUPS 配置打印機 512
KDE 打印管理器 519
與 Windows 的整合 520
章節摘要 522
練習 522
進階練習 523

**第十五章:重建 Linux 核心 525**
準備源代碼 526
閱讀文檔 528
配置和編譯 Linux 核心 529
安裝核心及相關文件 532
重啟 532
啟動加載器 533
dmesg:顯示核心消息 535
章節摘要 535
練習 536
進階練習 536

**第十六章:管理任務 537**
配置用戶和組帳戶 538
備份文件 540
排程任務 547
系統報告 548
保持用戶知情 551
創建問題 552
解決問題 553
章節摘要 564
練習 564
進階練習 565

**第十七章:配置局域網 567**
設置硬體 568
配置系統 570
設置伺服器 574
更多資訊 575
章節摘要 575
練習 576
進階練習 576

**第五部分:使用客戶端和設置伺服器 577**
**第十八章:OpenSSH:安全網絡通信 579**
介紹 580
關於 OpenSSH 580
OpenSSH 客戶端 583
sshd:OpenSSH 伺服器 591
故障排除 595
隧道/端口轉發 596
章節摘要 598
練習 598
進階練習 599

**第十九章:FTP:跨網絡傳輸文件 601**
介紹 602
更多資訊 603
FTP 客戶端 603
FTP 伺服器 (vsftpd) 612
章節摘要 624
練習 625
進階練習 625

**第二十章:sendmail:設置郵件客戶端、伺服器等 627**
介紹 628
JumpStart I:在客戶端配置 sendmail 630
JumpStart II:在伺服器配置 sendmail 631
sendmail 的運作方式 632
配置 sendmail 635
其他電子郵件工具 640
身份驗證中繼 650
sendmail 的替代方案 652
章節摘要 652
練習 653
進階練習 653

**第二十一章:NIS:網絡資訊服務 655**
NIS 介紹 656
NIS 的運作方式 656
設置 NIS 客戶端 659
設置 NIS 伺服器 663
章節摘要 670
練習 670
進階練習 671

**第二十二章:NFS:共享檔案系統 673**
介紹 674
更多資訊 676
設置 NFS 客戶端 676
設置 NFS 伺服器 682
automount:自動掛載目錄層次 690
章節摘要 692
練習 692
進階練習 693

**第二十三章:Samba:整合 Linux 和 Windows 695**
介紹 696
關於 Samba 697
JumpStart:使用 system-config-samba 配置 Samba 伺服器 699
swat:配置 Samba 伺服器 701
手動配置 Samba 伺服器 705
從 Windows 訪問 Linux 共享 711
從 Linux 訪問 Windows 共享 712
故障排除 714
章節摘要 716
練習 717
進階練習 717

**第二十四章:DNS/BIND:追蹤域名和地址 719**
DNS 介紹 720
關於 DNS 731
JumpStart I:設置 DNS 快取 733
JumpStart II:使用 system-config-bind 設置域 (FEDORA) 734
設置 BIND 739
故障排除 751
全功能名稱伺服器 752
從屬伺服器 756
分割視野伺服器 757
章節摘要 761
練習 762
進階練習 762

**第二十五章:iptables:設置防火牆 763**
iptables 的運作方式 764
關於 iptables 766
JumpStart:使用 system-config-securitylevel 建立防火牆 768
iptables 命令的結構 769
建立一組規則 770
system-config-securitylevel:生成一組規則 777
使用 NAT 共享網際網路連接 779
章節摘要 783
練習 783
進階練習 784

**第二十六章:Apache (httpd):設置網頁伺服器 785**
介紹 786
關於 Apache 786
JumpStart I:啟動 Apache 789
JumpStart II:使用 system-config-httpd 設置 Apache 790
檔案系統佈局 792
配置指令 794
Red Hat httpd.conf 文件 814
重定向 817
多視圖 818
伺服器生成的目錄列表 (索引) 818
虛擬主機 818
故障排除 819