Book description
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.
Publisher resources
Table of contents
-
Linux Server Hacks, Volume Two
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Credits
- Preface
-
1. Linux Authentication
- 1.1. Hacks 1–9: 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
- 1.6.1. Software Requirements
- 1.6.2. Critical Samba Configuration for Using Windows Authentication
- 1.6.3. Updating /etc/nsswitch.conf
- 1.6.4. Integrating the pam_winbind.so PAM into System Authentication
- 1.6.5. Starting the winbindd Daemon
- 1.6.6. Joining the Domain
- 1.6.7. Testing Windows Authentication
- 1.6.8. Debugging Windows Authentication Problems
- 1.6.9. See Also
- Hack #6. Centralize Logins with LDAP
- Hack #7. Secure Your System with Kerberos
- Hack #8. Authenticate NFS-Lovers with NIS
- Hack #9. Sync LDAP Data with NIS
-
2. Remote GUI Connectivity
- 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. Put Your Desktops 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
-
3. System Services
- 3.1. Hacks 20–28: Introduction
- Hack #20. Quick and Easy DHCP Setup
- Hack #21. Integrate 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
-
4. Cool Sysadmin Tools and Tips
- 4.1. Hacks 29–45: 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. 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 Desktop
- Hack #42. Speed Up Compiles
- Hack #43. Avoid Common Junior Mistakes
- Hack #44. Get Linux Past the Gatekeeper
- Hack #45. Prioritize Your Work
-
5. Storage Management and Backups
- 5.1. Hacks 46–55: 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. 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
-
6. Standardizing, Sharing, and Synchronizing Resources
- 6.1. Hacks 56–62: 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
-
7. Security
- 7.1. Hacks 63–68: Introduction
- Hack #63. Increase Security by Disabling Unnecessary Services
- Hack #64. Allow or Deny Access by IP Address
- Hack #65. Detect Network Intruders with snort
- Hack #66. Tame Tripwire
- Hack #67. Verify Fileystem Integrity with Afick
- Hack #68. Check for Rootkits and Other Attacks
-
8. Troubleshooting and Performance
- 8.1. Hacks 69–77: Introduction
- Hack #69. Find Resource Hogs with Standard Commands
- Hack #70. Reduce Restart Times with Journaling Filesystems
- Hack #71. Grok and Optimize Your System with sysctl
- Hack #72. Get the Big Picture with Multiple Displays
- Hack #73. Maximize Resources with a Minimalist Window Manager
- Hack #74. Profile Your Systems Using /proc
- Hack #75. Kill Processes the Right Way
- Hack #76. Use a Serial Console for Centralized Access to Your Systems
- Hack #77. Clean Up NIS After Users Depart
-
9. Logfiles and Monitoring
- 9.1. Hacks 78–88: 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 Standalone Apps to Use syslog
- Hack #83. Monitor Your Logfiles
- Hack #84. Send Log Messages to Your Jabber Client
- Hack #85. Monitor Service Availability with Zabbix
- Hack #86. Fine-Tune the syslog Daemon
- Hack #87. Centralize System Logs Securely
- Hack #88. Keep Tabs on Systems and Services
-
10. System Rescue, Recovery, and Repair
- 10.1. Hacks 89–100: Introduction
- Hack #89. 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 Partitions
- Hack #94. Recover Data from Crashed Disks
- Hack #95. Repair and Recover ReiserFS Filesystems
- Hack #96. Piece Together Data from the lost+found
- Hack #97. Recover Deleted Files
- Hack #98. Permanently Delete Files
- Hack #99. Permanently Erase Hard Disks
- Hack #100. Recover Lost Files and Perform Forensic Analysis
- About the Authors
- Colophon
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
Product information
- Title: Linux Server Hacks, Volume Two
- Author(s):
- Release date: December 2005
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596553272
You might also like
book
Linux Server Hacks
A competent system administrator knows that a Linux server is a high performance system for routing …
book
Mastering CentOS 7 Linux Server
Configure, manage, and secure a CentOS 7 Linux server to serve a variety of services provided …
book
CentOS 7 Linux Server Cookbook - Second Edition
Over 80 recipes to get up and running with CentOS 7 Linux server About This Book …
book
Fedora® Linux® TOOLBOX: 1000+ Commands for Fedora, CentOS, and Red Hat® Power Users
In this handy, compact guide, you'll explore a ton of powerful Fedora Linux commands while you …