Linux Server Hacks: 100 Industrial-Strength Tips and Tools

A competent system administrator knows that a Linux server is a high performance system for routing large amounts of information through a network connection. Setting up and maintaining a Linux server requires understanding not only the hardware, but the ins and outs of the Linux operating system along with its supporting cast of utilities as well as layers of applications software. There's basic documentation online but there's a lot beyond the basics you have to know, and this only comes from people with hands-on, real-world experience. This kind of "know how" is what we sought to capture in Linux Server Hacks.Linux Server Hacks is a collection of 100 industrial-strength hacks, providing tips and tools that solve practical problems for Linux system administrators. Every hack can be read in just a few minutes but will save hours of searching for the right answer. Some of the hacks are subtle, many of them are non-obvious, and all of them demonstrate the power and flexibility of a Linux system. You'll find hacks devoted to tuning the Linux kernel to make your system run more efficiently, as well as using CVS or RCS to track the revision to system files. You'll learn alternative ways to do backups, how to use system monitoring tools to track system performance and a variety of secure networking solutions. Linux Server Hacks also helps you manage large-scale Web installations running Apache, MySQL, and other open source tools that are typically part of a Linux system.O'Reilly's new Hacks Series proudly reclaims the term "hacking" for the good guys. Hackers use their ingenuity to solve interesting problems. Rob Flickenger is an experienced system administrator, having managed the systems for O'Reilly Network for several years. (He's also into community wireless networking and he's written a book on that subject for O'Reilly.) Rob has also collected the best ideas and tools from a number of other highly skilled contributors.Written for users who already understand the basics, Linux Server Hacks is built upon the expertise of people who really know what they're doing.

1110925498
Linux Server Hacks: 100 Industrial-Strength Tips and Tools

A competent system administrator knows that a Linux server is a high performance system for routing large amounts of information through a network connection. Setting up and maintaining a Linux server requires understanding not only the hardware, but the ins and outs of the Linux operating system along with its supporting cast of utilities as well as layers of applications software. There's basic documentation online but there's a lot beyond the basics you have to know, and this only comes from people with hands-on, real-world experience. This kind of "know how" is what we sought to capture in Linux Server Hacks.Linux Server Hacks is a collection of 100 industrial-strength hacks, providing tips and tools that solve practical problems for Linux system administrators. Every hack can be read in just a few minutes but will save hours of searching for the right answer. Some of the hacks are subtle, many of them are non-obvious, and all of them demonstrate the power and flexibility of a Linux system. You'll find hacks devoted to tuning the Linux kernel to make your system run more efficiently, as well as using CVS or RCS to track the revision to system files. You'll learn alternative ways to do backups, how to use system monitoring tools to track system performance and a variety of secure networking solutions. Linux Server Hacks also helps you manage large-scale Web installations running Apache, MySQL, and other open source tools that are typically part of a Linux system.O'Reilly's new Hacks Series proudly reclaims the term "hacking" for the good guys. Hackers use their ingenuity to solve interesting problems. Rob Flickenger is an experienced system administrator, having managed the systems for O'Reilly Network for several years. (He's also into community wireless networking and he's written a book on that subject for O'Reilly.) Rob has also collected the best ideas and tools from a number of other highly skilled contributors.Written for users who already understand the basics, Linux Server Hacks is built upon the expertise of people who really know what they're doing.

19.99 In Stock
Linux Server Hacks: 100 Industrial-Strength Tips and Tools

Linux Server Hacks: 100 Industrial-Strength Tips and Tools

by Rob Flickenger
Linux Server Hacks: 100 Industrial-Strength Tips and Tools

Linux Server Hacks: 100 Industrial-Strength Tips and Tools

by Rob Flickenger

eBook

$19.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

A competent system administrator knows that a Linux server is a high performance system for routing large amounts of information through a network connection. Setting up and maintaining a Linux server requires understanding not only the hardware, but the ins and outs of the Linux operating system along with its supporting cast of utilities as well as layers of applications software. There's basic documentation online but there's a lot beyond the basics you have to know, and this only comes from people with hands-on, real-world experience. This kind of "know how" is what we sought to capture in Linux Server Hacks.Linux Server Hacks is a collection of 100 industrial-strength hacks, providing tips and tools that solve practical problems for Linux system administrators. Every hack can be read in just a few minutes but will save hours of searching for the right answer. Some of the hacks are subtle, many of them are non-obvious, and all of them demonstrate the power and flexibility of a Linux system. You'll find hacks devoted to tuning the Linux kernel to make your system run more efficiently, as well as using CVS or RCS to track the revision to system files. You'll learn alternative ways to do backups, how to use system monitoring tools to track system performance and a variety of secure networking solutions. Linux Server Hacks also helps you manage large-scale Web installations running Apache, MySQL, and other open source tools that are typically part of a Linux system.O'Reilly's new Hacks Series proudly reclaims the term "hacking" for the good guys. Hackers use their ingenuity to solve interesting problems. Rob Flickenger is an experienced system administrator, having managed the systems for O'Reilly Network for several years. (He's also into community wireless networking and he's written a book on that subject for O'Reilly.) Rob has also collected the best ideas and tools from a number of other highly skilled contributors.Written for users who already understand the basics, Linux Server Hacks is built upon the expertise of people who really know what they're doing.


Product Details

ISBN-13: 9781449378929
Publisher: O'Reilly Media, Incorporated
Publication date: 01/20/2003
Sold by: Barnes & Noble
Format: eBook
Pages: 242
File size: 2 MB

About the Author

Rob Flickenger has been a professional systems administrator for more than 10 years, and all around hacker for as long as he can remember. Rob enjoys spreading the good word of open networks, open standards, and ubiquitous wireless networking. His current professional project is Metrix Communication LLC, which provides wireless hardware and software that embodies the same open source principles he rants about in his books. Rob also works with the U.N. and various international organizations to bring these ideas to places where communications infrastructure is badly needed. He hopes that all of this effort is contributing toward the ultimate goal of infinite bandwidth everywhere for free. He is the author of Linux Server Hacks, Wireless Hacks, and Building Wireless Community Networks (which is in its second edition).

Table of Contents

How to Become a Hackervii
Prefacexi
Server Basics1
1.Removing Unnecessary Services3
2.Forgoing the Console Login6
3.Common Boot Parameters7
4.Creating a Persistent Daemon with init8
5.n>&m: Swap Standard Output and Standard Error10
6.Building Complex Command Lines12
7.Working with Tricky Files in xargs15
8.Immutable Files in ext2/ext317
9.Speeding Up Compiles18
10.At Home in Your Shell Environment19
11.Finding and Eliminating setuid/setgid Binaries22
12.Make sudo Work Harder25
13.Using a Makefile to Automate Admin Tasks27
14.Brute Forcing Your New Domain Name29
15.Playing Hunt the Disk Hog29
16.Fun with /proc31
17.Manipulating Processes Symbolically with procps34
18.Managing System Resources per Process35
19.Cleaning Up after Ex-Users37
20.Eliminating Unnecessary Drivers from the Kernel39
21.Using Large Amounts of RAM42
22.hdparm: Fine Tune IDE Drive Parameters43
Revision Control46
23.Getting Started with RCS47
24.Checking Out a Previous Revision in RCS48
25.Tracking Changes with rcs2log49
26.Getting Started with CVS51
27.CVS: Checking Out a Module54
28.CVS: Updating Your Working Copy54
29.CVS: Using Tags55
30.CVS: Making Changes to a Module56
31.CVS: Merging Files57
32.CVS: Adding and Removing Files and Directories57
33.CVS: Branching Development58
34.CVS: Watching and Locking Files59
35.CVS: Keeping CVS Secure60
36.CVS: Anonymous Repositories61
Backups63
37.Backing Up with tar over ssh64
38.Using rsync over ssh65
39.Archiving with Pax66
40.Backing Up Your Boot Sector72
41.Keeping Parts of Filesystems in sync with rsync73
42.Automated Snapshot-Style Incremental Backups with rsync78
43.Working with ISOs and CDR/CDRWs84
44.Burning a CD Without Creating an ISO File85
Networking87
45.Creating a Firewall from the Command Line of any Server87
46.Simple IP Masquerading90
47.iptables Tips & Tricks91
48.Forwarding TCP Ports to Arbitrary Machines93
49.Using Custom Chains in iptables94
50.Tunneling: IPIP Encapsulation96
51.Tunneling: GRE Encapsulation98
52.Using vtun over ssh to Circumvent NAT99
53.Automatic vtund.conf Generator105
Monitoring110
54.Steering syslog110
55.Watching Jobs with watch113
56.What's Holding That Port Open?114
57.Checking On Open Files and Sockets with Isof115
58.Monitor System Resources with top118
59.Constant Load Average Display in the Titlebar119
60.Network Monitoring with ngrep121
61.Scanning Your Own Machines with nmap123
62.Disk Age Analysis124
63.Cheap IP Takeover126
64.Running ntop for Real-Time Network Stats129
65.Monitoring Web Traffic in Real Time with httptop131
SSH139
66.Quick Logins with ssh Client Keys139
67.Turbo-mode ssh Logins141
68.Using ssh-Agent Effectively142
69.Running the ssh-Agent in a GUI144
70.X over ssh145
71.Forwarding Ports over ssh146
Scripting149
72.Get Settled in Quickly with movein.sh149
73.Global Search and Replace with Perl151
74.Mincing Your Data into Arbitrary Chunks (in bash)153
75.Colorized Log Analysis in Your Terminal155
Information Servers157
76.Running BIND in a chroot Jail158
77.Views in BIND 9160
78.Setting Up Caching DNS with Authority for Local Domains165
79.Distributing Server Load with Round-Robin DNS167
80.Running Your Own Top-Level Domain168
81.Monitoring MySQL Health with mtop169
82.Setting Up Replication in MySQL172
83.Restoring a Single Table from a Large MySQL Dump175
84.MySQL Server Tuning175
85.Using proftpd with a mysql Authentication Source178
86.Optimizing glibc, linuxthreads, and the Kernel for a Super MySQL Server180
87.Apache Toolbox182
88.Display the Full Filename in Indexes185
89.Quick Configuration Changes with IfDefine186
90.Simplistic Ad Referral Tracking188
91.Mimicking FTP Servers with Apache191
92.Rotate and compress Apache Server Logs193
93.Generating an SSL cert and Certificate Signing Request194
94.Creating Your Own CA196
95.Distributing Your CA to Client Browsers198
96.Serving multiple sites with the same DocumentRoot201
97.Delivering Content Based on the Query String Using mod_rewrite203
98.Using mod_proxy on Apache for Speed204
99.Distributing Load with Apache RewriteMap206
100.Ultrahosting: Mass Web Site Hosting with Wildcards, Proxy, and Rewrite208
Index213
From the B&N Reads Blog

Customer Reviews