You are previewing Debian 7: System Administration Best Practices.
O'Reilly logo
Debian 7: System Administration Best Practices

Book Description

Learn the best ways to install and administer a Debian Linux distribution

  • An in-depth look at Debian administration subjects

  • Discover what distinguishes Debian from other Linux distributions

  • Learn how to install, maintain, and administer Debian Linux

In Detail

Debian is one of the most popular Linux-based operating systems, with over 37 thousand software packages available in several architectures. Debian 7 is the latest version of this universal operating system and provides the foundation for thousands of web servers. It is easy to install, stable, and provides mechanisms for system security.

Debian 7: System Administration Best Practices provides valuable background information, tips, and advice on the major areas of installing, maintaining, and administering Debian Linux, from single systems to clusters. Learn what makes Debian the most stable and popular Linux distribution for Internet sites.

Debian 7: System Administration Best Practices is an overview of what administrators need to know in order to effectively administer Debian Linux systems, providing guidance and advice on what is available, and what experience has shown to work best. Starting with what distinguishes Debian from other Linux distributions, you will learn about the Debian project. Learn about the ways systems are booted, and how best to lay out disk partitions, and the basic methods to install and configure Debian software packages. Discover how to manage Debian systems, from bootup to shutdown, and what security measures may be required for your peace of mind, as well as advice on advanced topics that include high availability clustering.

Table of Contents

  1. Debian 7: System Administration Best Practices
    1. Table of Contents
    2. Debian 7: System Administration Best Practices
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Errata
        2. Piracy
        3. Questions
    8. 1. Debian Basics for Administrators
      1. Linux distributions
      2. The three branches
        1. SLS
        2. RPM
        3. DPKG or DEB
      3. Other differences
      4. The Debian Project
        1. The social contract
        2. Constitution
        3. Policies
        4. Licensing
          1. What happened to Firefox?
        5. Repositories
        6. Debian environments
        7. Impact on administration
          1. Debian support
          2. Proprietary features
          3. Where to find installation help and information
      5. Summary
    9. 2. Filesystem Layout
      1. Partition tables
        1. Single or multiboot
        2. BIOS versus UEFI
          1. Boot code under BIOS
          2. Boot code under UEFI
      2. Filesystem types
        1. ext2, ext3, and ext4
        2. Journaled File System
        3. SGI's XFS File System
        4. Reiser File System
        5. B-Tree File System
        6. Clustered formats
        7. Non-Linux formats
        8. Other Unix formats
        9. Choosing a format
      3. Partitioning
        1. Partitioning for backup and recovery
        2. Space-limiting partitions
        3. Disk management
        4. Logical Volume Management
        5. The swap partition
        6. Selecting a partitioning scheme
      4. Encryption
        1. Why encrypt?
        2. Disk encryption
        3. Directory encryption
        4. Choosing encryption
      5. Installing Debian
      6. Summary
    10. 3. Package Management
      1. Package managers
        1. dpkg and dselect
        2. Advanced Package Tool
        3. aptitude
        4. Synaptic
      2. Package selection and maintenance
        1. Configuring media or repositories
        2. The significance of the release name
        3. Selecting packages
        4. Updating your package cache
          1. Command-line selection
          2. Selection lists
        5. Meta packages
        6. A word about dependency resolution
        7. Removing packages
      3. Keeping current
        1. Automatic updates
      4. Foreign packages
        1. Alien
        2. Manual builds
      5. Upgrading your system
        1. Prior to the upgrade
        2. During the upgrade
        3. After the upgrade
      6. Summary
    11. 4. Basic Package Configuration
      1. Configuration files
        1. /etc/default
        2. /etc/<package name>
        3. Initial configuration
      2. Configuration utilities
        1. dpkg-reconfigure
        2. gadmin
        3. Desktop configuration
        4. Other utilities
      3. Local configuration trends
        1. Local configuration files
        2. Configuration subdirectories
        3. Configuration advice
      4. Apache configuration
        1. Configuration files
        2. Enabling sites and modules
        3. Testing and activating the configuration
      5. Other examples
      6. Summary
    12. 5. System Management
      1. Startup and shutdown
        1. Debian run levels
        2. Dependency-based boot sequence
        3. Managing SysV scripts
        4. Third-party and local scripts
        5. Network administration
        6. The interfaces file
        7. Network Manager
        8. Combining methods
        9. Which method?
      2. Filesystem maintenance
        1. Partition maintenance
          1. Filesystem Check (FSCK)
          2. Partition resizing
        2. Backups
          1. Low-level backups
          2. File-level backups
          3. Backup utilities
          4. Choosing your solution
        3. System logging
          1. The logging facility
          2. Controlling the logs
          3. Monitoring the logs
      3. Display managers
        1. Where did my desktop go?
        2. GNOME
        3. KDE
        4. Other desktops
        5. Showing your best face
      4. Summary
    13. 6. Basic System Security
      1. User administration
        1. Default user group
        2. ACLs
        3. The root account
      2. Debian hardening packages
      3. Firewall tools
        1. IPTABLES
        2. Basic firewall design
          1. Inbound opens
          2. Outbound traffic
          3. Local loopback traffic
          4. The perimeter network
      4. Intrusion detection
        1. NIDS
        2. File Monitors
        3. System scanners
      5. A final word on remote logging
      6. Summary
    14. 7. Advanced System Management
      1. Remote backups
        1. Amanda
        2. Bacula
        3. Other backup systems
        4. Beyond backups
      2. Configuration management
        1. Fully Automated Installation
        2. Puppet
        3. Other packages
      3. Clusters
        1. High Availability clusters
        2. Beowulf clusters
        3. Common tools
      4. Webmin
        1. Installing Webmin
        2. Using Webmin
        3. Webmin and Debian
        4. Webmin security
        5. Usermin
      5. Summary
    15. Index