Linux Server Hacks, Volume Two: Tips & Tools for Connecting, Monitoring, and Troubleshooting

Linux Server Hacks, Volume Two: Tips & Tools for Connecting, Monitoring, and Troubleshooting

by William Hagen, Brian Jones
Linux Server Hacks, Volume Two: Tips & Tools for Connecting, Monitoring, and Troubleshooting

Linux Server Hacks, Volume Two: Tips & Tools for Connecting, Monitoring, and Troubleshooting

by William Hagen, Brian Jones

Paperback

$39.99 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

Today's system administrators deal with a vast number of situations, operating systems, software packages, and problems. Those who are in the know have kept their copy of Linux Server Hacks close at hand to ease their burden. And while this helps, it's not enough: any sys admin knows there are many more hacks, cool tips, and ways of solving problems than can fit in a single volume (one that mere mortals can lift, that is).

Which is why we created Linux Server Hacks, Volume Two, a second collection of incredibly useful tips and tricks for finding and using dozens of open source tools you can apply to solve your sys admin problems. The power and flexibility of Linux and Open Source means that there is an astounding amount of great software out there waiting to be applied to your sys admin problems — if only you knew about it and had enough information to get started. Hence, Linux Server Hacks, Volume Two.

This handy reference offers 100 completely new server management tips and techniques designed to improve your productivity and sharpen your administrative skills. Each hack represents a clever way to accomplish a specific task, saving you countless hours of searching for the right answer. No more sifting through man pages, HOWTO websites, or source code comments — the only resource you need is right here. And you don't have to be a system administrator with hundreds of boxen to get something useful from this book as many of the hacks apply equally well to a single system or a home network.

Compiled by experts, these hacks not only give you the step-by-step instructions necessary to implement the software, but they also provide the context to truly enable you to learn the technology. Topics include:

  • Authentication
  • Remote GUI connectivity
  • Storage management
  • File sharing and synchronizing resources
  • Security/lockdown instruction
  • Log files and monitoring
  • Troubleshooting
  • System rescue, recovery, and repair

Whether they help you recover lost data, collect information from distributed clients, or synchronize administrative environments, the solutions found in Linux Server Hacks, Volume Two will simplify your life as a system administrator.


Product Details

ISBN-13: 9780596100827
Publisher: O'Reilly Media, Incorporated
Publication date: 12/01/2005
Series: Hacks
Pages: 478
Product dimensions: 6.00(w) x 9.00(h) x 1.03(d)

About the Author

Bill von Hagen is a seasoned Linux/Unix systems administrator and computer collector. He writes articles and product reviews for Linux Planet, Linux Today, Linux Format, and Linux Magazine. He is the author of several technology books including "Hacking the TiVo, Second Edition" (Muska and Lipman), "The Definitive Guide to GCC" (Apress), and co-author of "SUSE Linux 9 Bible" (Wiley). In a past life, he was the drummer for a hardcore punk rock band, The Cynics.

Brian K. Jones is a system administrator in the department of computer science at Princeton University.

Table of Contents

Creditsix
Prefacexiii
Chapter 1Linux Authentication1
1Disable User Accounts Instantly2
2Edit Your Password File for Greater Access Control5
3Deny All Access in One Second or Less7
4Customize Authentication with PAMs8
5Authenticate Linux Users with a Windows Domain Controller16
6Centralize Logins with LDAP21
7Secure Your System with Kerberos29
8Authenticate NFS-Lovers with NIS36
9Sync LDAP Data with NIS41
Chapter 2Remote GUI Connectivity45
10Access Systems Remotely with VNC46
11Access VNC Servers over the Web54
12Secure VNC via SSH56
13Autostart VNC Servers on Demand60
14Put Your Desktops on a Thin Client Diet69
15Run Windows over the Network78
16Secure, Lightweight X Connections with FreeNX82
17Secure VNC Connections with FreeNX89
18Secure Windows Terminal Connections with FreeNX91
19Remote Administration with Webmin93
Chapter 3System Services97
20Quick and Easy DHCP Setup98
21Integrate DHCP and DNS with Dynamic DNS Updates102
22Synchronize Your Watches!108
23Centralize X Window System Font Resources111
24Create a CUPS Print Server119
25Configure Linux Connections to Remote CUPS Printers128
26Integrate Windows Printing with CUPS130
27Centralize Macintosh Printing with CUPS134
28Define a Secure CUPS Printer138
Chapter 4Cool Sysadmin Tools and Tips143
29Execute Commands Simultaneously on Multiple Servers144
30Collaborate Safely with a Secured Wiki145
31Edit Your GRUB Configuration with grubby149
32Give Your Tab Key a Workout150
33Keep Processes Running After a Shell Exits153
34Disconnect Your Console Without Ending Your Session155
35Use script to Save Yourself Time and Train Others157
36Install Linux Simply by Booting159
37Turn Your Laptop into a Makeshift Console164
38Usable Documentation for the Inherently Lazy167
39Exploit the Power of Vim170
40Move Your PHP Web Scripting Skills to the Command Line173
41Enable Quick telnet/SSH Connections from the Desktop176
42Speed Up Compiles178
43Avoid Common Junior Mistakes181
44Get Linux Past the Gatekeeper184
45Prioritize Your Work187
Chapter 5Storage Management and Backups193
46Create Flexible Storage with LVM194
47Combine LVM and Software RAID203
48Create a Copy-on-Write Snapshot of an LVM Volume210
49Clone Systems Quickly and Easily214
50Make Disk-to-Disk Backups for Large Drives221
51Free Up Disk Space Now228
52Share Files Using Linux Groups229
53Refine Permissions with ACLs233
54Make Files Easier to Find with Extended Attributes240
55Prevent Disk Hogs with Quotas246
Chapter 6Standardizing, Sharing, and Synchronizing Resources251
56Centralize Resources Using NFS251
57Automount NFS Home Directories with autofs257
58Keep Filesystems Handy, but Out of Your Way260
59Synchronize root Environments with rsync263
60Share Files Across Platforms Using Samba264
61Quick and Dirty NAS269
62Share Files and Directories over the Web276
Chapter 7Security280
63Increase Security by Disabling Unnecessary Services281
64Allow or Deny Access by IP Address283
65Detect Network Intruders with snort286
66Tame Tripwire293
67Verify Fileystem Integrity with Afick299
68Check for Rootkits and Other Attacks303
Chapter 8Troubleshooting and Performance311
69Find Resource Hogs with Standard Commands311
70Reduce Restart Times with Journaling Filesystems316
71Grok and Optimize Your System with sysctl321
72Get the Big Picture with Multiple Displays323
73Maximize Resources with a Minimalist Window Manager327
74Profile Your Systems Using /proc332
75Kill Processes the Right Way337
76Use a Serial Console for Centralized Access to Your Systems339
77Clean Up NIS After Users Depart343
Chapter 9Logfiles and Monitoring346
78Avoid Catastrophic Disk Failure346
79Monitor Network Traffic with MRTG351
80Keep a Constant Watch on Hosts354
81Remotely Monitor and Configure a Variety of Networked Equipment357
82Force Standalone Apps to Use syslog362
83Monitor Your Logfiles364
84Send Log Messages to Your Jabber Client368
85Monitor Service Availability with Zabbix371
86Fine-Tune the syslog Daemon375
87Centralize System Logs Securely379
88Keep Tabs on Systems and Services382
Chapter 10System Rescue, Recovery, and Repair388
89Resolve Common Boot and Startup Problems389
90Rescue Me!396
91Bypass the Standard Init Sequence for Quick Repairs398
92Find Out Why You Can't Unmount a Partition400
93Recover Lost Partitions404
94Recover Data from Crashed Disks407
95Repair and Recover ReiserFS Filesystems415
96Piece Together Data from the lost+found422
97Recover Deleted Files430
98Permanently Delete Files433
99Permanently Erase Hard Disks435
100Recover Lost Files and Perform Forensic Analysis438
Index447
From the B&N Reads Blog

Customer Reviews