Always Learning

Linux Administration Handbook
Evi NemethUniversity of Colorado, Boulder, Colorado
Garth Snyder
Trent R. Hein

ISBN-10: 0130084662
ISBN-13:  9780130084668

Publisher:  Prentice Hall
Copyright:  2002
Format:  Paper; 890 pp
Published:  03/25/2002
We're sorry, this product is no longer available and has been replaced with Linux Administration Handbook, 2/E.

Please contact your Pearson rep if you are using this product and need instructor resources.


Print this content

In this section:


Description

Appropriate for courses in Linux system administration.

This is the first Linux administration guide specifically focused on preparing students to administer large-scale enterprise systems. Written by the well-respected authors of Unix System Administration Handbook, Third Edition— the classic book that has taught Unix system administration to generations of students—Linux System Administration Handbook covers every key aspect of running systems utilizing today's leading Linux distributions for university and enterprise environments: RedHat, Debian, and SuSe.


Features

  • Sophisticated centralized management techniques—Presents specific techniques for centrally managing multiple RedHat, Debian, and/or SuSe Linux servers.
    • Teaches students to administer multiple Linux systems far more efficiently.

  • Enterprise-class performance measurement and optimization—Teaches students to quantify the potential performance of Linux systems, identify bottlenecks, and ameliorate them.
    • Gives students key skills for maximizing the value of Linux systems in any real-world environment and teaches them to protect the data and applications they will be responsible for.

  • Detailed RedHat, Debian, and SuSe coverage—Covers all three of the Linux distributions used most often in large-scale Linux deployments.
    • Offers well-targeted preparation for the Linux environments students are most likely to encounter.

  • Broad, expert-class application coverage—Includes detailed coverage of configuring and administering sendmail, file and print services, web hosting, and other key applications.
    • Covers the Linux capabilities that are in greatest demand in real-world production environments.

  • Extensive networking coverage—Presents practical guidance for working with TCP/IP networking, routing, network hardware, the Network File System, and other key network-related Linux features.
    • Helps students become effective in administering complex, networked environments.

  • Step-by-step security coverage—Shows students how to secure Linux systems against intrusion and other current threats.
    • Teaches students how to protect servers, data, and applications against a wide range of external threats.

  • Practical troubleshooting techniques—Includes coverage of reading, interpreting, and acting upon information available through syslog and log files.
    • Enables students to independently resolve a wide range of Linux system administration problems.


Table of Contents



Foreword.


Preface.


Acknowledgments.

BASIC ADMINISTRATION.

1.Where to Start.

Suggested background. Linux's relationship to UNIX. Linux and UNIX history. Linux distributions. Notation and typographical conventions. Where to go for information. How to find and install software. Essential tasks of the system administrator. System administration under duress. Recommended reading. Exercises.

2.Booting and Shutting Down.

Bootstrapping. Booting PCs. Boot loaders: LILO and GRUB. Booting single-user mode. Startup Scripts. Rebooting and shutting down. Exercises.

3. Rootly Powers.

Ownership of files and processes. The superuser. Choosing a root password. Becoming root. Other pseudo-users. Exercises.

4. Controlling Processes.

Components of a process. The life cycle of a process. Signals. kill and killall: send signals. Process states. nice and renice: influence scheduling priority. ps: monitor processes. top: monitor processes even better. Runaway processes. Exercises.

5. The Filesystem.

Pathnames. Mounting and unmounting filesystems. The organization of the file tree. File types. File attributes. Exercises.

6. Adding New Users.

The /etc/passwd file. The /etc/shadow file. The /etc/group file. Adding users. Removing users. Disabling logins. Account management utilities. Exercises.

7. Serial Devices.

Serial standards. Alternative connectors. Hard and soft carrier. Hardware flow control. Cable length. Serial device files. setserial: tell the driver about serial port parameters. Software configuration for serial devices. Configuration of hardwired terminals. Special characters and the terminal driver. stty: set terminal options. tset: set options automatically. How to unwedge a terminal. Modems. Debugging a serial line. Other common I/O ports. Exercises.

8. Adding A Disk.

Disk interfaces. Disk geometry. An overview of the disk installation procedure. The ext2 and ext3 filesystems. fsck: check and repair filesystems Adding a disk to Linux: a step-by-step guide. Exercises.

9. Periodic Processes.

cron: schedule commands. The format of crontab files. Crontab management. Some common uses for cron. Exercises.

10. Backups.

Motherhood and apple pie. Backup devices and media. Setting up an incremental backup regime with dump. Restoring from dumps with restore. Dumping and restoring for upgrades. Using other archiving programs. Using multiple files on a single tape. Amanda. Commercial backup products. Recommended reading. Exercises.

11. Syslog and Log Files.

Logging policies. Linux log files. logrotate: manage log files. Syslog: the system event logger. Condensing log files to useful information. Exercises

12. Drivers and The Kernel.

Kernel adaptation. Why configure the kernel? Configuration methods. Tuning a Linux kernel. Adding device drivers. Adding a Linux device driver. Device files. Loadable kernel modules. Building a Linux kernel. Don't fix it if it ain't broken. Recommended reading. Exercises.

NETWORKING.

13. TCP/IP Networking.

TCP/IP and the Internet. Networking road map. Packets and encapsulation. IP addresses: the gory details. Routing. ARP: The address resolution protocol. Adding a machine to a network. Distribution-specific network configuration. DHCP: the Dynamic Host Configuration Protocol. Linux dynamic reconfiguration and tuning. Security issues. Linux NAT (IP masquerading) PPP: the Point-to-Point Protocol. Linux networking quirks. Recommended reading Exercises.

14. Routing.

Packet forwarding: a closer look. Routing daemons and routing protocols. Protocols on parade. routed: RIP yourself a new hole. gated: a better routing daemon. Routing strategy selection criteria. Cisco routers. Recommended reading. Exercises.

15. Network Hardware

LAN, WAN, or MAN? Ethernet: the common LAN. Wireless: the nomad's LAN. FDDI: the disappointing and expensive LAN. ATM: the promised (but sorely defeated) LAN. Frame relay: the sacrificial WAN. ISDN: the indigenous WAN. DSL and cable modems: the people's WAN. Where is the network going? Network testing and debugging. Building wiring. Network design issues. Management issues. Recommended vendors. Recommended reading. Exercises.

16. The Domain Name System.

DNS for the impatient: adding a new machine. The history of DNS. Who needs DNS? What's new in DNS. The DNS namespace. The BIND software. How DNS works. BIND client issues. BIND server configuration. BIND configuration examples. The DNS database. Updating zone files. Security issues. Testing and debugging. Loose ends. Distribution specifics. Recommended reading. Exercises.

17. The Network File System.

General information about NFS. Server-side NFS. Client-side NFS. nfsstat: dump NFS statistics. Dedicated NFS file servers. Automatic mounting. Automount. amd: a more sophisticated automounter. Recommended reading. Exercises.

18. Sharing System Files.

What to share. Copying files around. NIS: the Network Information Service. NIS+: son of NIS. LDAP: the Lightweight Directory Access Protocol. Exercises.

19. Electronic Mail.

Mail systems. The anatomy of a mail message. Mail philosophy. Mail aliases. sendmail: ringmaster of the electronic mail circus. sendmail configuration. Basic sendmail configuration primitives. Fancier sendmail configuration primitives. Configuration file examples. Spam-related features in sendmail. Security and sendmail. Sendmail performance. sendmail statistics, testing, and debugging. The Exim Mail System. Recommended reading. Exercises

20. Network Management and Debugging.

Troubleshooting a network. ping: check to see if a host is alive. traceroute: trace IP packets. netstat: get tons o' network statistics. Packet sniffers. Network management protocols. SNMP: the Simple Network Management Protocol. The NET-SMNP agent. Network management applications. Recommended reading. Exercises.

21. Security.

Is Linux secure? Linux security, the CliffsNotes version. How security is compromised. Security problems in the /etc/passwd and /etc/shadow files. Setuid programs. Important file permissions. Miscellaneous security issues. Security power tools. Cryptographic security tools. Firewalls. Linux firewall features: IP tables. Virtual private networks (VPNs). Sources of security information. Hardened Linux distributions. What to do when your site has been attacked. Recommended reading. Exercises.

22. Web Hosting and Internet Servers.

Web hosting. Web hosting basics. HTTP server installation. Virtual interfaces. Caching and proxy servers. Anonymous FTP server setup. Exercises.

BUNCH O' STUFF.

23. Software Installation and Localization.

Basic Linux installation. Automating installation. Localization. Keeping your systems up to date with rsync or rdist. Package management. apt-get: automate downloading and installation. Recommended reading. Exercises.

24. Printing.

Mini-glossary of printing terms. Linux printing. Types of printers. LPD: the good ol' printing system. LPRng. Adding a printer. Debugging printing problems. Common printing software. Printer philosophy. Exercises.

25. Maintenance and Environment.

Maintenance basics. Maintenance contracts. Board-handling lore. Monitors. Memory modules. Preventive maintenance. Environment. Power. Racks. Tools. Exercises.

26. Performance Analysis.

What you can do to improve performance. Factors that affect performance. System performance checkup. Help! My system just got really slow! Recommended reading. Exercises.

27. Cooperating with Windows.

File and print sharing. Secure terminal emulation with SSH. X Windows emulators. PC mail clients. PC backups. Dual booting. Running Windows applications under Linux. PC hardware tips. Recommended reading. Exercises.

28. Daemons.

init: the primordial process. cron and atd: schedule commands. inetd and xinetd: manage daemons. Kernel daemons. File service daemons. Administrative database daemons. Internet daemons. Time synchronization daemons. Booting and configuration daemons. Exercises.

29. Policy and Politics.

Linux culture. Policy and procedure. Legal issues. Scope of service. Trouble-reporting systems. Managing management. Hiring, firing, and training. War stories and ethics. Local documentation. Procurement. Decommissioning hardware. Organizations, conferences, and other resources. Standards. Sample documents. Recommended reading. Exercises.

Colophon.

Index.



Back to top

Print this content

In this section:


Sample Chapter

View a Sample Chapter PDF:/samplechapter/0130084662.pdf


Author Bios

Evi Nemeth has retired from the computer science faculty at the University of Colorado but still dabbles in network research at CAIDA, the Cooperative Association for Internet Data Analysis at the San Diego Supercomputer Center. She is currently exploring the Caribbean on her new toy, a 40-foot sailboat named Wonderland.

Garth Snyder has worked at NeXT and Sun and holds a degree in Electrical Engineering from Swarthmore College. He is currently an MD/MBA candidate at the University of Rochester.

Trent R. Hein is the co-founder of Applied Trust Engineering, a company which provides network infrastructure security and performance consulting services. Trent holds a BS in Computer Science from the University of Colorado.


Backcover Copy

As the deployment of Linux systems in production environments has accelerated, Linux administrators have longed for a book that addresses the challenges of this complex and exciting frontier. Linux Administration Handbook was written with this audience in mind. This book serves both as a valuable tutorial for the novice administrator and as a trustworthy reference for the seasoned professional. Using the practical approach of their highly regarded UNIX System Administration Handbook, the authors describe every aspect of Linux system administration and cover the following major Linux distributions: Red Hat Linux, SuSE Linux, Debian GNU/Linux.

Replete with war stories and hard-won insights, this book examines how Linux systems behave in real-world ecosystems, not how they might behave in ideal environments. Difficult tasks are described in all their complexity, including DNS configuration, networking, sendmail configuration, security management, kernel building, performance analysis, and routing. The book's many true-life examples will help administrators implement solutions that continue to work effectively as their operations grow.

"As this book shows, Linux systems are just as functional, secure, and reliable as their proprietary counterparts. Thanks to the ongoing efforts of its thousands of developers, Linux is more ready than ever for deployment at the frontlines of the real world. The authors of this book know that terrain well, and I am happy to leave you in their most capable hands."

—Linus Torvalds

"I'm absolutely amazed to see a computing book that focuses on concepts and how to implement them instead of explaining man pages for dummies. I also find the historical remarks very interesting. Your book is the very best of its kind I have ever read."

—Hanspeter Schmid, Bernafon, Switzerland

"I just wanted to tell you guys that I have learned more about system administration from your book than from $10,000 worth of training classes. This book has been an invaluable part of my day-to-day life as a system and network administrator."

—Chris Bourne, Xapnet, Emeryville, CA

"The seminal work in the field. If you can have only one system administration book, this should be it."

—Brad Knowles, Brussels, Belgium

Back to top

Log in to the Instructor Resource Center

Login name: 

  Password: 

Forgot login/password?  |  Need to redeem an access code?

        

Instructor Resource Center File Download

This work is protected by local and international copyright laws and is provided solely for the use of instructors in teaching their courses and assessing student learning. Dissemination or sale of any part of this work (including on the World Wide Web) will destroy the integrity of the work and is not permitted. The work and materials from this site should never be made available to students except by instructors using the accompanying text in their classes. All recipients of this work are expected to abide by these restrictions and to honor the intended pedagogical purposes and the needs of other instructors who rely on these materials.

Cancel     I accept, proceed with download

Print this content

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.

Back to top