Linux Server Hacks Volume Two phần 1 docx

39 219 0
Linux Server Hacks Volume Two phần 1 docx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Linux Server Hacks, Volume Two By Brian K. Jones, William von Hagen Publisher: O'Reilly Pub Date: December 2005 Print ISBN-10: 0-596-10082-5 Print ISBN-13: 978-0-59-610082-7 Pages: 478 Table of Contents | Index 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. 1 1 Linux Server Hacks, Volume Two By Brian K. Jones, William von Hagen Publisher: O'Reilly Pub Date: December 2005 Print ISBN-10: 0-596-10082-5 Print ISBN-13: 978-0-59-610082-7 Pages: 478 Table of Contents | Index Copyright Credits About the Authors Contributors Acknowledgments Preface Why Linux Server Hacks, Volume Two? How to Use This Book How This Book Is Organized Conventions Used in This Book Using Code Examples How to Contact Us Safari® Enabled Got a Hack? 2 2 Chapter 1. Linux Authentication Section 1.1. Hacks 19: Introduction Hack 1. Disable User Accounts Instantly Hack 2. Edit Your Password File for Greater Access Control Hack 3. Deny All Access in One Second or Less Hack 4. Customize Authentication with PAMs Hack 5. Authenticate Linux Users with a Windows Domain Controller Hack 6. Centralize Logins with LDAP Hack 7. Secure 3 3 Your System with Kerberos Hack 8. Authenticate NFS-Lovers with NIS Hack 9. Sync LDAP Data with NIS Chapter 2. Remote GUI Connectivity Section 2.1. Hacks 1019: Introduction Hack 10. Access Systems Remotely with VNC Hack 11. Access VNC Servers over the Web Hack 12. Secure VNC via SSH Hack 13. Autostart VNC Servers on Demand Hack 14. Put Your Desktops 4 4 on a Thin Client Diet Hack 15. Run Windows over the Network Hack 16. Secure, Lightweight X Connections with FreeNX Hack 17. Secure VNC Connections with FreeNX Hack 18. Secure Windows Terminal Connections with FreeNX Hack 19. Remote Administration with Webmin Chapter 3. System Services Section 3.1. Hacks 2028: Introduction Hack 20. Quick and Easy DHCP Setup Hack 21. Integrate 5 5 DHCP and DNS with Dynamic DNS Updates Hack 22. Synchronize Your Watches! Hack 23. Centralize X Window System Font Resources Hack 24. Create a CUPS Print Server Hack 25. Configure Linux Connections to Remote CUPS Printers Hack 26. Integrate Windows Printing with CUPS Hack 27. Centralize Macintosh Printing with CUPS Hack 28. Define a Secure CUPS Printer Chapter 4. Cool 6 6 Sysadmin Tools and Tips Section 4.1. Hacks 2945: Introduction Hack 29. Execute Commands Simultaneously on Multiple Servers Hack 30. Collaborate Safely with a Secured Wiki Hack 31. Edit Your GRUB Configuration with grubby Hack 32. Give Your Tab Key a Workout Hack 33. Keep Processes Running After a Shell Exits Hack 34. Disconnect Your Console Without Ending Your Session Hack 35. 7 7 Use script to Save Yourself Time and Train Others Hack 36. Install Linux Simply by Booting Hack 37. Turn Your Laptop into a Makeshift Console Hack 38. Usable Documentation for the Inherently Lazy Hack 39. Exploit the Power of Vim Hack 40. Move Your PHP Web Scripting Skills to the Command Line Hack 41. Enable Quick telnet/SSH Connections from the 8 8 Desktop Hack 42. Speed Up Compiles Hack 43. Avoid Common Junior Mistakes Hack 44. Get Linux Past the Gatekeeper Hack 45. Prioritize Your Work Chapter 5. Storage Management and Backups Section 5.1. Hacks 4655: Introduction Hack 46. Create Flexible Storage with LVM Hack 47. Combine LVM and Software RAID Hack 48. Create a Copy-on-Write Snapshot of an LVM Volume Hack 49. 9 9 Clone Systems Quickly and Easily Hack 50. Make Disk-to-Disk Backups for Large Drives Hack 51. Free Up Disk Space Now Hack 52. Share Files Using Linux Groups Hack 53. Refine Permissions with ACLs Hack 54. Make Files Easier to Find with Extended Attributes Hack 55. Prevent Disk Hogs with Quotas Chapter 6. Standardizing, Sharing, and Synchronizing Resources Section 6.1. 10 10 [...]... consultant since 2000 You can reach him at jonesy@linuxlaboratory.org 18 19 Contributors The following people contributed their writing, code, and inspiration to Linux Server Hacks, Volume Two: • Jon Fox [Hacks #33 and #62] (jon.fox@gnu.org.uk) is a Linux user and free software advocate He's been using Linux since 19 96 • Tom Limoncelli [Hack #45] has over 15 years of system administration experience and... title, Son of Linux Server Hacks, was rejected The original Linux Server Hacks is a great bookboth authors owned it before starting this projectbut there are many more hacks, cool tips, and ways of resolving problems that sysadmins face than can fit in a single volume (one that mere mortals can lift, that is) The power and flexibility of Linux means that there is an incredible amount of great Linux software.. .11 Hacks 5662: Introduction Hack 56 Centralize Resources Using NFS Hack 57 Automount NFS Home Directories with autofs Hack 58 Keep Filesystems Handy, but Out of Your Way Hack 59 Synchronize root Environments with rsync Hack 60 Share Files Across Platforms Using Samba Hack 61 Quick and Dirty NAS Hack 62 Share Files and Directories over the Web Chapter 7 Security 11 12 Section 7 .1 Hacks 6368:... a Serial Console 13 14 for Centralized Access to Your Systems Hack 77 Clean Up NIS After Users Depart Chapter 9 Logfiles and Monitoring Section 9 .1 Hacks 7888: Introduction Hack 78 Avoid Catastrophic Disk Failure Hack 79 Monitor Network Traffic with MRTG Hack 80 Keep a Constant Watch on Hosts Hack 81 Remotely Monitor and Configure a Variety of Networked Equipment Hack 82 Force 14 15 Standalone Apps... or to contribute a hack for future titles, visit: http:/ /hacks. oreilly.com Chapter 1 Linux Authentication Section 1. 1 Hacks 19 : Introduction Hack 1 Disable User Accounts Instantly Hack 2 Edit Your Password File for Greater Access Control Hack 3 Deny All Access in One Second or Less Hack 4 Customize Authentication with PAMs Hack 5 Authenticate Linux Users with a Windows Domain Controller Hack 6 Centralize... future editions You can write to us at: O'Reilly Media, Inc 10 05 Gravenstein Highway North Sebastopol, CA 95472 (800) 998-9938 (in the U.S or Canada) (707) 829-0 515 (international/local) (707) 829- 010 4 (fax) To ask technical questions or to comment on the book, send email to: bookquestions@oreilly.com 24 25 The web site for Linux Server Hacks, Volume Two lists examples, errata, and plans for future editions... 86 Fine-Tune the syslog Daemon Hack 87 Centralize System Logs Securely Hack 88 Keep Tabs on Systems and Services Chapter 10 System Rescue, Recovery, and Repair Section 10 .1 Hacks 8 910 0: Introduction Hack 89 15 16 Resolve Common Boot and Startup Problems Hack 90 Rescue Me! Hack 91 Bypass the Standard Init Sequence for Quick Repairs Hack 92 Find Out Why You Can't Unmount a Partition Hack 93 Recover Lost... administrator for 20 years and a Linux fanatic since 19 93 He has also worked as a systems programmer, product manager, writer, application developer, drummer, and content manager Bill has written or cowritten books on such topics as Linux filesystems, SUSE Linux, Red Hat Linux, GCC, SGML, Mac OS X, Linux system administration, and hacking the TiVo He has written numerous articles on Linux, Unix, and open source... Printing History: December 2005: First Edition Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly Media, Inc The Hacks series designations, Linux Server Hacks, Volume Two, the image of two hatchets, and related trade dress are trademarks of O'Reilly Media, Inc Many of the designations used by manufacturers and sellers to distinguish their products... Brian contributed [Hacks #19 , #55, #64, #66, #67, #73, #75, #76, #79, #85, #86, and #87] • David Brickner [Hack #42] is not a Linux server administrator, but as a Gentoo user, he has learned a couple of things about compiling software David believes Linux will be the dominant desktop operating system in the near future, and to encourage its adoption, he has written Test Driving Linux and Linux Desktop Pocket . synchronize administrative environments, the solutions found in Linux Server Hacks, Volume Two will simplify your life as a system administrator. 1 1 Linux Server Hacks, Volume Two By Brian K. Jones, William von Hagen . Remote GUI Connectivity Section 2 .1. Hacks 10 19: Introduction Hack 10 . Access Systems Remotely with VNC Hack 11 . Access VNC Servers over the Web Hack 12 . Secure VNC via SSH Hack 13 . Autostart VNC Servers on Demand Hack 14 Linux Server Hacks, Volume Two By Brian K. Jones, William von Hagen Publisher: O'Reilly Pub Date: December 2005 Print ISBN -10 : 0-596 -10 082-5 Print ISBN -13 : 978-0-59- 610 082-7 Pages:

Ngày đăng: 09/08/2014, 04:22

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan