My Account
View Cart
Home
Community
Books & Videos
Safari Books Online
Conferences
Training
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
Tell a friend
Linux Server Hacks
100 Industrial-Strength Tips and Tools
By
Rob Flickenger
January 2003
Pages: 240
|
Table of Contents
|
Index
|
Colophon
Table of Contents
Chapter 1
Server Basics
Hacks #1-22
Removing Unnecessary Services
Forgoing the Console Login
Common Boot Parameters
Creating a Persistent Daemon with init
n>&m: Swap Standard Output and Standard Error
Building Complex Command Lines
Working with Tricky Files in xargs
Immutable Files in ext2/ext3
Speeding Up Compiles
At Home in Your Shell Environment
Finding and Eliminating setuid/setgid Binaries
Make sudo Work Harder
Using a Makefile to Automate Admin Tasks
Brute Forcing Your New Domain Name
Playing Hunt the Disk Hog
Fun with /proc
Manipulating Processes Symbolically with procps
Managing System Resources per Process
Cleaning Up after Ex-Users
Eliminating Unnecessary Drivers from the Kernel
Using Large Amounts of RAM
hdparm: Fine Tune IDE Drive Parameters
Chapter 2
Revision Control
Hacks #23-36
Getting Started with RCS
Checking Out a Previous Revision in RCS
Tracking Changes with rcs2log
Getting Started with CVS
CVS: Checking Out a Module
CVS: Updating Your Working Copy
CVS: Using Tags
CVS: Making Changes to a Module
CVS: Merging Files
CVS: Adding and Removing Files and Directories
CVS: Branching Development
CVS: Watching and Locking Files
CVS: Keeping CVS Secure
CVS: Anonymous Repositories
Chapter 3
Backups
Hacks #37-44
Backing Up with tar over ssh
Using rsync over ssh
Archiving with Pax
Backing Up Your Boot Sector
Keeping Parts of Filesystems in sync with rsync
Automated Snapshot-Style Incremental Backups with rsync
Working with ISOs and CDR/CDRWs
Burning a CD Without Creating an ISO File
Chapter 4
Networking
Hacks #45-53
Creating a Firewall from the Command Line of any Server
Simple IP Masquerading
iptables Tips & Tricks
Forwarding TCP Ports to Arbitrary Machines
Using Custom Chains in iptables
Tunneling: IPIP Encapsulation
Tunneling: GRE Encapsulation
Using vtun over ssh to Circumvent NAT
Automatic vtund.conf Generator
Chapter 5
Monitoring
Hacks #54-65
Steering syslog
Watching Jobs with watch
What's Holding That Port Open?
Checking On Open Files and Sockets with lsof
Monitor System Resources with top
Constant Load Average Display in the Titlebar
Network Monitoring with ngrep
Scanning Your Own Machines with nmap
Disk Age Analysis
Cheap IP Takeover
Running ntop for Real-Time Network Stats
Monitoring Web Traffic in Real Time with httptop
Chapter 6
SSH
Hacks #66-71
Quick Logins with ssh Client Keys
Turbo-mode ssh Logins
Using ssh-Agent Effectively
Running the ssh-Agent in a GUI
X over ssh
Forwarding Ports over ssh
Chapter 7
Scripting
Hacks #72-75
Get Settled in Quickly with movein.sh
Global Search and Replace with Perl
Mincing Your Data into Arbitrary Chunks (in bash)
Colorized Log Analysis in Your Terminal
Chapter 8
Information Servers
Hacks #76-100
Running BIND in a chroot Jail
Views in BIND 9
Setting Up Caching DNS with Authority for Local Domains
Distributing Server Load with Round-Robin DNS
Running Your Own Top-Level Domain
Monitoring MySQL Health with mtop
Setting Up Replication in MySQL
Restoring a Single Table from a Large MySQL Dump
MySQL Server Tuning
Using proftpd with a mysql Authentication Source
Optimizing glibc, linuxthreads, and the Kernel for a Super MySQL Server
Apache Toolbox
Display the Full Filename in Indexes
Quick Configuration Changes with IfDefine
Simplistic Ad Referral Tracking
Mimicking FTP Servers with Apache
Rotate and compress Apache Server Logs
Generating an SSL cert and Certificate Signing Request
Creating Your Own CA
Distributing Your CA to Client Browsers
Serving multiple sites with the same DocumentRoot
Delivering Content Based on the Query String Using mod_rewrite
Using mod_proxy on Apache for Speed
Distributing Load with Apache RewriteMap
Ultrahosting: Mass Web Site Hosting with Wildcards, Proxy, and Rewrite
Colophon
Return to
Linux Server Hacks