Books & Videos

Table of Contents

  1. Chapter 1 Server Basics

    1. Hacks #1-22

    2. Removing Unnecessary Services

    3. Forgoing the Console Login

    4. Common Boot Parameters

    5. Creating a Persistent Daemon with init

    6. n>&m: Swap Standard Output and Standard Error

    7. Building Complex Command Lines

    8. Working with Tricky Files in xargs

    9. Immutable Files in ext2/ext3

    10. Speeding Up Compiles

    11. At Home in Your Shell Environment

    12. Finding and Eliminating setuid/setgid Binaries

    13. Make sudo Work Harder

    14. Using a Makefile to Automate Admin Tasks

    15. Brute Forcing Your New Domain Name

    16. Playing Hunt the Disk Hog

    17. Fun with /proc

    18. Manipulating Processes Symbolically with procps

    19. Managing System Resources per Process

    20. Cleaning Up after Ex-Users

    21. Eliminating Unnecessary Drivers from the Kernel

    22. Using Large Amounts of RAM

    23. hdparm: Fine Tune IDE Drive Parameters

  2. Chapter 2 Revision Control

    1. Hacks #23-36

    2. Getting Started with RCS

    3. Checking Out a Previous Revision in RCS

    4. Tracking Changes with rcs2log

    5. Getting Started with CVS

    6. CVS: Checking Out a Module

    7. CVS: Updating Your Working Copy

    8. CVS: Using Tags

    9. CVS: Making Changes to a Module

    10. CVS: Merging Files

    11. CVS: Adding and Removing Files and Directories

    12. CVS: Branching Development

    13. CVS: Watching and Locking Files

    14. CVS: Keeping CVS Secure

    15. CVS: Anonymous Repositories

  3. Chapter 3 Backups

    1. Hacks #37-44

    2. Backing Up with tar over ssh

    3. Using rsync over ssh

    4. Archiving with Pax

    5. Backing Up Your Boot Sector

    6. Keeping Parts of Filesystems in sync with rsync

    7. Automated Snapshot-Style Incremental Backups with rsync

    8. Working with ISOs and CDR/CDRWs

    9. Burning a CD Without Creating an ISO File

  4. Chapter 4 Networking

    1. Hacks #45-53

    2. Creating a Firewall from the Command Line of any Server

    3. Simple IP Masquerading

    4. iptables Tips & Tricks

    5. Forwarding TCP Ports to Arbitrary Machines

    6. Using Custom Chains in iptables

    7. Tunneling: IPIP Encapsulation

    8. Tunneling: GRE Encapsulation

    9. Using vtun over ssh to Circumvent NAT

    10. Automatic vtund.conf Generator

  5. Chapter 5 Monitoring

    1. Hacks #54-65

    2. Steering syslog

    3. Watching Jobs with watch

    4. What's Holding That Port Open?

    5. Checking On Open Files and Sockets with lsof

    6. Monitor System Resources with top

    7. Constant Load Average Display in the Titlebar

    8. Network Monitoring with ngrep

    9. Scanning Your Own Machines with nmap

    10. Disk Age Analysis

    11. Cheap IP Takeover

    12. Running ntop for Real-Time Network Stats

    13. Monitoring Web Traffic in Real Time with httptop

  6. Chapter 6 SSH

    1. Hacks #66-71

    2. Quick Logins with ssh Client Keys

    3. Turbo-mode ssh Logins

    4. Using ssh-Agent Effectively

    5. Running the ssh-Agent in a GUI

    6. X over ssh

    7. Forwarding Ports over ssh

  7. Chapter 7 Scripting

    1. Hacks #72-75

    2. Get Settled in Quickly with

    3. Global Search and Replace with Perl

    4. Mincing Your Data into Arbitrary Chunks (in bash)

    5. Colorized Log Analysis in Your Terminal

  8. Chapter 8 Information Servers

    1. Hacks #76-100

    2. Running BIND in a chroot Jail

    3. Views in BIND 9

    4. Setting Up Caching DNS with Authority for Local Domains

    5. Distributing Server Load with Round-Robin DNS

    6. Running Your Own Top-Level Domain

    7. Monitoring MySQL Health with mtop

    8. Setting Up Replication in MySQL

    9. Restoring a Single Table from a Large MySQL Dump

    10. MySQL Server Tuning

    11. Using proftpd with a mysql Authentication Source

    12. Optimizing glibc, linuxthreads, and the Kernel for a Super MySQL Server

    13. Apache Toolbox

    14. Display the Full Filename in Indexes

    15. Quick Configuration Changes with IfDefine

    16. Simplistic Ad Referral Tracking

    17. Mimicking FTP Servers with Apache

    18. Rotate and compress Apache Server Logs

    19. Generating an SSL cert and Certificate Signing Request

    20. Creating Your Own CA

    21. Distributing Your CA to Client Browsers

    22. Serving multiple sites with the same DocumentRoot

    23. Delivering Content Based on the Query String Using mod_rewrite

    24. Using mod_proxy on Apache for Speed

    25. Distributing Load with Apache RewriteMap

    26. Ultrahosting: Mass Web Site Hosting with Wildcards, Proxy, and Rewrite

  1. Colophon