| |
| |
How to Become a Hacker | |
| |
| |
Preface | |
| |
| |
Server Basics | |
| |
| |
| |
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 | |
| |
| |
Revision Control | |
| |
| |
| |
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 | |
| |
| |
Backups | |
| |
| |
| |
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 | |
| |
| |
Networking | |
| |
| |
| |
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 | |
| |
| |
Monitoring | |
| |
| |
| |
Steering syslog | |
| |
| |
| |
Watching Jobs with watch | |
| |
| |
| |
What's Holding That Port Open? | |
| |
| |
| |
Checking On Open Files and Sockets with Isof | |
| |
| |
| |
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 | |
| |
| |
SSH | |
| |
| |
| |
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 | |
| |
| |
Scripting | |
| |
| |
| |
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 | |
| |
| |
Information Servers | |
| |
| |
| |
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 | |
| |
| |
Index | |