UNIX/Linux 系统管理技术手册(第四版)

所需积分/C币:42 2012-05-31 19:55:02 16.07MB PDF
66
收藏 收藏
举报

高清英文PDF版。 《unix/linux系统管理技术手册(第四版)》(ulahv4)是《linux系统管理技术手册》和《unix系统管理技术手册》的终结版,也是evi nemeth的封刀之作。   《unix/linux系统管理技术手册(第四版)》延续了《linux系统管理技术手册(第二版)》以及《unix系统管理技术手册(第三版)》的讲解风格,以当前主流的5种linux发行版本(red hat es、suse、debian、fedora core和ubuntu)为例,把linux系统管理技术分为3部分分别介绍。第一部分全面介绍了运行单机linux系统涉及的各种管理知识和技术,如系统引导和关机、进程控制、文件系统管理、用户管理、设备管理、系统备份、软件配置以及cron和系统日志的管理使用等。第二部分从详细讲解tcp/ip协议基本原理开始,深入讨论了网络的两大基本应用——域名系统和路由技术,然后逐章讲解linux上的各种internet关键应用,如电子邮件、nfs、文件共享、web托管和internet服务,在这部分里还有专门的章节介绍网络硬件、网络管理与调试以及系统安全。第三部分包括了多种不容忽视的重要主题:x窗口系统、打印系统、系统维护与环境、性能分析、与windows系统的协作、串行设备、操作系统驱动程序和内核、系统守护进程以及政策与行政管理方面的知识等。《unix/linux系统管理技术手册(第四版)》的几位作者是分别来自学术界、企业界以及职业培训领域的linux/unix系统管理专家,这使得本书从第一版开始,即成为全面、深入而且颇富实用性的linux系统管理权威参考书。
This page intentionally left blank UNXANDLINUXSYSTEM ADMINSTRATION HANDBOOK FOURTH EDITION Evi Nemeth Garth Snyder Trent r. hein Ben whaley with Terry Morreale, Ned mcclain Ron jachim, David schweikert, and Tobi Oetiker PRENTICE HALL Upper Saddle river, NJ. Boston. Indianapolis. San Francisco New york· Toronto· Montreal|· London· munich· Paris· madrid Capetown· Sydney· Tokyo· Singapore· Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals Red Hat Enterprise Linux and the red Hat ShadOWMan logo are registered trademarks of red Hat Inc, and such trademarks are used with permission Ubuntu is a registered trademark of Canonical Limited and is used with permission SUSE and open SUSE are registered trademarks of Novell Inc in the United States and other countries Oracle solaris and Open Solaris are registered trademarks of Oracle and/or its affiliates all rights reserved HP-UX is a registered trademark of Hewlett-Packard Company(HP-UX) AIX is a trademark of IBM Corp, registered in the U.S. and other countries The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact U.S. Corporate and government Sales (800382-3419 corpsales@pearsontechgroup.com ForsalesoutsidetheUnitedStates,pleasecontactInternationalSales(international@pearson.com) Visit us on the Web: informit. com/ph Library of Congress Cataloging-in-Publication data UNIX and Linux system administration handbook/ Evi Nemeth.[et al. j -4th ed p. Cm Rev. ed of: Unix system administration handbook, 3rd ed, 2001 Includes inde ISBN 978-0-13-148005-6(pbk. alk paper 1. Operating systems( Computers)2. UNIX (Computer file)3. Linux I Nemeth, Evi. I I. Unix system administration handbook QA76.76.063N452010 005432-dc22 2010018773 Copyright o 2011 Pearson Education, Inc All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, write to Pearson education Inc Rights and Contracts Department 501 Boylston Street, Suite 900 Boston MA 02116 Fax:(617)671-3447 ISBN-13:978-0-13-148005-6 ISBN-10 0-13-148005-7 Text printed in the United States on recycled paper at Edwards Brothers in Ann Arbor, Michigan First printing, June 2010 Table of contents FOREWORD xIii PREFACE xliv AcKNOWLEDGMENTS xlvi SECTION ONE: BASIC ADMINISTRATION CHAPTER 1 WHERE TO START Essential duties of the system administrator Account provisioning Adding and removing hardware Performing backups Installing and upgrading software Monitoring the system Troubleshooting Maintaining local documentation Vigilantly monitoring security Fire fighting Suggested back Friction between uNiX and linux Linux distributions Example systems used in this book 10 Example linux distributions Ex mp Dle unix distributions 12 UNIX and Linux System Administration Handbook System-specific administration tools 13 Notation and typographical conventions Unit 14 Man pages and other on-line documentatio 16 Organization of the man pages 16 man: read man pages...... age of man pages 17 GNU Texinfo .18 Other authoritative documentation ...,,,18 System-specific guides 18 Package-specific documentation ..,,,,19 Book RFCs and other internet documents The linux documentation Project 20 Other sources of information 20 Ways to find and install software 21 Determining whether software has already been installed ........ 22 Adding new software 23 Building software from source code ,..25 System administration under duress .26 Recommended reading ..,,,,,,,,,,.27 System administration .27 Essential tools E xercises .28 CHAPTER 2 SCRIPTING AND THE SHELL 29 Shell basics .30 Command editing.∴ Pipes and redirection 31 Variables and quoting 32 Common filter commands cut: separate lines into fields ......34 sort: sort lines .34 unig: print unique lines 35 wc: count lines, words, and characters ..35 tee: copy input to two places head and tail: read the beginning or end of a file .,36 grep: search text 36 Table e of con tents a pting From commands to scripts 38 Input and or 40 Command-line arguments and functions 40 Variable scope 42 Control fl e 43 45 Arrays and arithmetic ......47 gular exp 48 he matching process 49 Literal characters ...,49 Special charac 50 Example regular expressions 51 apt 52 Greediness, laziness, and catastrophic backtracking 53 Perl programming..... 54 Variables and arrays Array and string literals ..56 Function calls ...,.56 Type conversions in expressions 57 String expansions and disambiguation of variable references ...57 Hashes 7 References and autovivification ..,,.59 Regular expressions in Perl 0 Input and output 61 Control fl e 61 Accepting and validating input ..63 Perl as a filte 64 Add-on modules for perl 65 Python scripting 66 67 Objects, strings, numbers, lists, dictionaries, tuples, and files ...... 69 Input validation example Loops∴ 71 Scripting best pi Recommended reading 74 Shell basics and bash scripting 74 Re egular expressions .,,75 Perl pting 75 Python scripting Exercises. 76 UNIX and Linux System Administration Handbook CHAPTER 3 BOOTING AND SHUTTING DOWN Bootstrapping 78 Recovery boot to a shell ..·.··:···..··:· Steps in the boot pi 78 Kernel initialization Hardware configuration Creation of kernel processes Operator intervention(recovery mode only) 80 Execution of startup scripts 81 Boot process completion ..81 Booting PCs 82 GRUB: The GRand unified boot loader ,,,.83 Kernel options .84 Multibootins g Booting to single-user mode...... Single-user mode with GruB Single-user mode on SParc HP-UX single .87 AIX single-user mode ..87 Worki g th up scrip 87 init and its run levels 88 Overview of startup scripts..∴… .....89 Red Hat startup scripts 91 SUSE Startup scripts ..93 Ubuntu startup scripts and the upstart daemon .94 HP-UX Startup scripts 95 AIX startup∴∴ 95 Booting Solaris... 97 The Solaris Service Management Facility 97 a brave new world: booting with SMF Rebooting and shutting down 100 shutdown: the genteel way to halt the system ,.,,,,,,,.100 halt and reboot: simpler ways to shut down.............101 Exe .102 CHAPTER 4 ACCESS CONTROL AND ROOTLY POWERS 103 Traditional UNIX access control ,,,,,,,,,,,,,,,,,,,,104 Filesystem access control 104 Process ownership∴ ...105 The root account Setuid and setgid execution 106 Table of contents Modern access control 106 Role-based access control ...,,,108 SELinux: security-enhanced Linux................. 109 POSIX capabilities(Linux) .109 PAM: Pluggable Authentication Modules 109 Kerberos: third-party cryptographic authentication 110 Access control lists 110 Real-world access control .,.,110 Choosing a root password ...111 ,ogging in to the root account 112 su: substitute user identity...... 13 sudo: limited s ......113 Password vaults and password escrow ..117 Pseudo-users other than root 118 Xercises 119 CHAPTER 5 CONTROLLING PROCESSES 120 Components of a process ...,,,,120 PID: process ID number ..121 PPID: parent PID· 121 UI D and EUID: real and effective user i 122 GID and EGID: real and effective group ID .122 Niceness∴........,, 123 Control terminal ..,,,,123 The life cycle of a process 123 Signals 124 kill: send signals 127 Process states .,,,,128 nice and renice: influence scheduling priority ..129 ps: monitor processes 130 Dynamic monitoring with top, prstat, and topas 133 The/proc filesystem ..135 strace truss, and tusc: trace signals and system calls............ 136 unaway processes.…… .138 Recommended reading .139 Exercises ..139 CHAPTER 6 THE FILESYSTEM Pathnames 142 Absolute and relative path 142 paces in filenames .,,,,,,,142 Filesystem mounting and unmounting ...,,,,,,,,,,143 The or tion of the file 145

...展开详情
试读 127P UNIX/Linux 系统管理技术手册(第四版)
立即下载 低至0.43元/次 身份认证VIP会员低至7折
一个资源只可评论一次,评论内容不能少于5个字
henrybocheng 不错,谢谢分享
2019-09-06
回复
farawayspring 不错的资源,谢谢分享
2018-03-23
回复
nidu2523 英文不好的还是看中文书
2017-11-03
回复
Rocky_200808 评价都不错,希望可以早点看完啊。
2017-08-31
回复
cai824 不错, 可以给初学者学学
2016-10-30
回复
dreamzme 非常不错推荐!!!!!
2016-09-21
回复
WinnerBoy_2007 不错,但是没有时间看,需要学习的太多了啊
2016-08-30
回复
tanxiqiao 英文不好的还是看中文书籍吧。
2016-08-27
回复
xiaoxiao346691378 英文不好啊,书是好书,出了好多版本了。
2016-07-28
回复
每次都取名字好烦啊 额,英文版看起来还是很吃力啊
2016-04-25
回复
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
上传资源赚积分or赚钱
    最新推荐
    UNIX/Linux 系统管理技术手册(第四版) 42积分/C币 立即下载
    1/127
    UNIX/Linux 系统管理技术手册(第四版)第1页
    UNIX/Linux 系统管理技术手册(第四版)第2页
    UNIX/Linux 系统管理技术手册(第四版)第3页
    UNIX/Linux 系统管理技术手册(第四版)第4页
    UNIX/Linux 系统管理技术手册(第四版)第5页
    UNIX/Linux 系统管理技术手册(第四版)第6页
    UNIX/Linux 系统管理技术手册(第四版)第7页
    UNIX/Linux 系统管理技术手册(第四版)第8页
    UNIX/Linux 系统管理技术手册(第四版)第9页
    UNIX/Linux 系统管理技术手册(第四版)第10页
    UNIX/Linux 系统管理技术手册(第四版)第11页
    UNIX/Linux 系统管理技术手册(第四版)第12页
    UNIX/Linux 系统管理技术手册(第四版)第13页
    UNIX/Linux 系统管理技术手册(第四版)第14页
    UNIX/Linux 系统管理技术手册(第四版)第15页
    UNIX/Linux 系统管理技术手册(第四版)第16页
    UNIX/Linux 系统管理技术手册(第四版)第17页
    UNIX/Linux 系统管理技术手册(第四版)第18页
    UNIX/Linux 系统管理技术手册(第四版)第19页
    UNIX/Linux 系统管理技术手册(第四版)第20页

    试读结束, 可继续阅读

    42积分/C币 立即下载 >