17. Linux Server Hacks

    Author: Myanmar Ebook Store Genre: »
    Rating

    1. Server Basics

    Hack #1. Removing Unnecessary Services
    Hack #2. Forgoing the Console Login
    Hack #3. Common Boot Parameters
    Hack #4. Creating a Persistent Daemon with init
    Hack #5. n>&m: Swap Standard Output and Standard Error
    Hack #6. Building Complex Command Lines
    Hack #7. Working with Tricky Files in xargs
    Hack #8. Immutable Files in ext2/ext3
    Hack #9. Speeding Up Compiles
    Hack #10. At Home in Your Shell Environment
    Hack #11. Finding and Eliminating setuid/setgid Binaries
    Hack #12. Make sudo Work Harder
    Hack #13. Using a Makefile to Automate Admin Tasksh
    Hack #14. Brute Forcing Your New Domain Name
    Hack #15. Playing Hunt the Disk Hog
    Hack #16. Fun with /proc
    Hack #17. Manipulating Processes Symbolically with procps
    Hack #18. Managing System Resources per Process
    Hack #19. Cleaning Up after Ex-Users
    Hack #20. Eliminating Unnecessary Drivers from the Kernel
    Hack #21. Using Large Amounts of RAM
    Hack #22. hdparm: Fine Tune IDE Drive Parameters

    2. Revision Control
    Hack #23. Getting Started with RCS
    Hack #24. Checking Out a Previous Revision in RCS
    Hack #25. Tracking Changes with rcs2log
    Hack #26. Getting Started with CVS
    Hack #27. CVS: Checking Out a Module
    Hack #28. CVS: Updating Your Working Copy
    Hack #29. CVS: Using Tags
    Hack #30. CVS: Making Changes to a Module
    Hack #31. CVS: Merging Files
    Hack #32. CVS: Adding and Removing Files and Directories
    Hack #33. CVS: Branching Development
    Hack #34. CVS: Watching and Locking Files
    Hack #35. CVS: Keeping CVS Secure
    Hack #36. CVS: Anonymous Repositories

    3.Backups
    Hack #37. Backing Up with tar over ssh
    Hack #38. Using rsync over ssh
    Hack #39. Archiving with Pax
    Hack #40. Backing Up Your Boot Sector
    Hack #41. Keeping Parts of Filesystems in sync with rsync
    Hack #42. Automated Snapshot-Style Incremental Backups with rsync
    Hack #43. Working with ISOs and CDR/CDRWs
    Hack #44. Burning a CD Without Creating an ISO File

    4.Networking
    Hack #45. Creating a Firewall from the Command Line of any Server
    Hack #46. Simple IP Masquerading
    Hack #47. iptables Tips & Tricks
    Hack #48. Forwarding TCP Ports to Arbitrary Machines
    Hack #49. Using Custom Chains in iptables
    Hack #50. Tunneling: IPIP Encapsulation
    Hack #51. Tunneling: GRE Encapsulation
    Hack #52. Using vtun over ssh to Circumvent NAT
    Hack #53. Automatic vtund.conf Generator

    5.Monitoring
    Hack #54. Steering syslog
    Hack #55. Watching Jobs with watch
    Hack #56. What's Holding That Port Open?
    Hack #57. Checking On Open Files and Sockets with lsof
    Hack #58. Monitor System Resources with top
    Hack #59. Constant Load Average Display in the Titlebar
    Hack #60. Network Monitoring with ngrep
    Hack #61. Scanning Your Own Machines with nmap
    Hack #62. Disk Age Analysis
    Hack #63. Cheap IP Takeover
    Hack #64. Running ntop for Real-Time Network Stats
    Hack #65. Monitoring Web Traffic in Real Time with httptop

    6.SSH
    Hack #66. Quick Logins with ssh Client Keys
    Hack #67. Turbo-mode ssh Logins
    Hack #68. Using ssh-Agent Effectively
    Hack #69. Running the ssh-Agent in a GUI
    Hack #70. X over ssh
    Hack #71. Forwarding Ports over ssh

    7.Scripting
    Hack #72. Get Settled in Quickly with movein.sh
    Hack #73. Global Search and Replace with Perl
    Hack #74. Mincing Your Data into Arbitrary Chunks (in bash)
    Hack #75. Colorized Log Analysis in Your Terminal

    8.Information Servers
    Hack #76. Running BIND in a chroot Jail
    Hack #77. Views in BIND 9
    Hack #78. Setting Up Caching DNS with Authority for Local Domains
    Hack #79. Distributing Server Load with Round-Robin DNS
    Hack #80. Running Your Own Top-Level Domain
    Hack #81. Monitoring MySQL Health with mtop
    Hack #82. Setting Up Replication in MySQL
    Hack #83. Restoring a Single Table from a Large MySQL Dump
    Hack #84. MySQL Server Tuning
    Hack #85. Using proftpd with a mysql Authentication Source
    Hack #86. Optimizing glibc, linuxthreads, and the Kernel for a Super MySQL Server
    Hack #87. Apache Toolbox
    Hack #88. Display the Full Filename in Indexes
    Hack #89. Quick Configuration Changes with IfDefine
    Hack #90. Simplistic Ad Referral Tracking
    Hack #91. Mimicking FTP Servers with Apache
    Hack #92. Rotate and compress Apache Server Logs
    Hack #93. Generating an SSL cert and Certificate Signing Request
    Hack #94. Creating Your Own CA
    Hack #95. Distributing Your CA to Client Browsers
    Hack #96. Serving multiple sites with the same DocumentRoot
    Hack #97. Delivering Content Based on the Query String Using mod_rewrite
    Hack #98. Using mod_proxy on Apache for Speed
    Hack #99. Distributing Load with Apache RewriteMap
    Hack #100. Ultrahosting: Mass Web Site Hosting with Wildcards, Proxy, and Rewrite

    Index

    Leave a Reply

    Blogger templates

    Blogger news

    Blogroll