
Linux Server Hacks
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Contents
- Credits
- About the Author
- Contributors
- Acknowledgments
- How to Become a Hacker
- The Hacker Attitude
- 1. The world is full of fascinating problems waiting to be solved.
- 2. No problem should ever have to be solved twice.
- 3. Boredom and drudgery are evil.
- 4. Freedom is good.
- 5. Attitude is no substitute for competence.
- Preface
- How This Book Is Organized
- How to Use This Book
- Conventions Used in This Book
- How to Contact Us
- Gotta Hack?
- Server Basics
- Removing Unnecessary Services
- See also:
- Forgoing the Console Login
- Common Boot Parameters
- See also:
- Creating a Persistent Daemon with init
- See also:
- n&&m: Swap Standard Output and Standard Error
- Building Complex Command Lines
- Hacking the Hack
- Working with Tricky Files in xargs
- Listing: albumize
- 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
- Listing: Makefile.mail
- Listing: Makefile.push
- Brute Forcing Your New Domain Name
- Playing Hunt the Disk Hog
- Fun with /proc
- Manipulating Processes Symbolically with procps
- See also:
- Managing System Resources per Process
- See also:
- Cleaning Up after Ex-Users
- Eliminating Unnecessary Drivers from the Kernel
- See also:
- 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
- Typical Uses
- Creating a Repository
- Importing a New Module
- Environment Variables
- See Also:
- 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
- Removing Files
- Removing Directories
- CVS: Branching Development
- CVS: Watching and Locking Files
- CVS: Keeping CVS Secure
- Remote Repositories
- Permissions
- Developer Machines
- CVS: Anonymous Repositories
- Creating an Anonymous Repository
- Installing pserver
- Using a Remote pserver
- Backups
- Backing Up with tar over ssh
- See also:
- Using rsync over ssh
- See also:
- Archiving with Pax
- Creating Archives
- Expanding Archives
- Interactive Restores
- Recursively Copy a Directory
- Incremental Backups
- Skipping Files on Restore
- See also:
- Backing Up Your Boot Sector
- See also:
- Keeping Parts of Filesystems in sync with rsync
- Listing: Balance-push.sh
- Automated Snapshot-Style Incremental Backups with rsync
- Extensions: Hourly, Daily, and Weekly Snapshots
- Listing: make_snapshot.sh
- Listing: Daily_snapshot_rotate.sh
- Sample Output of ls -l /snapshot/home
- See also:
- Working with ISOs and CDR/CDRWs
- See also:
- Burning a CD Without Creating an ISO File
- Networking
- Creating a Firewall from the Command Line of any Server
- See also:
- Simple IP Masquerading
- See also:
- iptables Tips & Tricks
- Advanced iptables Features
- See also:
- Forwarding TCP Ports to Arbitrary Machines
- See also:
- Using Custom Chains in iptables
- See also:
- Tunneling: IPIP Encapsulation
- See also:
- Tunneling: GRE Encapsulation
- See also:
- Using vtun over ssh to Circumvent NAT
- See also:
- Automatic vtund.conf Generator
- Listing: vtundconf
- Monitoring
- Steering syslog
- Mark Who?
- Remote Logging
- Watching Jobs with watch
- See also:
- What's Holding That Port Open?
- Checking On Open Files and Sockets with lsof
- See also:
- Monitor System Resources with top
- See also:
- Constant Load Average Display in the Titlebar
- Listing: tl
- Network Monitoring with ngrep
- Listing: go-ogle
- See also:
- Scanning Your Own Machines with nmap
- See also:
- Disk Age Analysis
- Listing: diskage
- Cheap IP Takeover
- Listing: takeover
- See also:
- Running ntop for Real-Time Network Stats
- See also:
- Monitoring Web Traffic in Real Time with httptop
- Listing: httptop
- SSH
- Quick Logins with ssh Client Keys
- Security Concerns
- See Also:
- Turbo-mode ssh Logins
- See also:
- Using ssh-Agent Effectively
- Running the ssh-Agent in a GUI
- See Also:
- X over ssh
- See also:
- Forwarding Ports over ssh
- See also:
- Scripting
- Get Settled in Quickly with movein.sh
- Listing: movein.sh
- See also:
- Global Search and Replace with Perl
- See also:
- Mincing Your Data into Arbitrary Chunks (in bash)
- Listing: mince
- Colorized Log Analysis in Your Terminal
- Information Servers
- Running BIND in a chroot Jail
- See also:
- Views in BIND 9
- Basic Syntax
- Defining Zones in Views
- Views in Slave Name Servers
- Setting Up Caching DNS with Authority for Local Domains
- See also:
- Distributing Server Load with Round-Robin DNS
- See also:
- Running Your Own Top-Level Domain
- Monitoring MySQL Health with mtop
- See also:
- Setting Up Replication in MySQL
- See also:
- Restoring a Single Table from a Large MySQL Dump
- MySQL Server Tuning
- See also:
- Using proftpd with a mysql Authentication Source
- See also:
- Optimizing glibc, linuxthreads, and the Kernel for a Super MySQL Server
- Step 1: Build glib
- Step 2: The Kernel
- Step 3: Build a New MySQL
- Step 4: Expand the Maximum Filehandles at Boot
- Apache Toolbox
- See Also:
- Display the Full Filename in Indexes
- Quick Configuration Changes with IfDefine
- Simplistic Ad Referral Tracking
- Listing: referral-report.pl
- Mimicking FTP Servers with Apache
- Rotate and compress Apache Server Logs
- Listing: logflume.pl
- Generating an SSL cert and Certificate Signing Request
- See also:
- Creating Your Own CA
- See also:
- Distributing Your CA to Client Browsers
- See also:
- Serving multiple sites with the same DocumentRoot
- Delivering Content Based on the Query String Using mod_rewrite
- See also:
- Using mod_proxy on Apache for Speed
- Distributing Load with Apache RewriteMap
- See Also:
- Ultrahosting: Mass Web Site Hosting with Wildcards, Proxy, and Rewrite
- Index
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.