Debian 7: System Administration Best Practices 9781783283125, 1783283122, 978-1-78328-311-8

A step-by-step, example-based guide to learning how to install and administer the Debian Linux distribution. Debian 7: S

492 19 305KB

English Pages 124 Year 2013

Report DMCA / Copyright

DOWNLOAD FILE

Debian 7: System Administration Best Practices
 9781783283125, 1783283122, 978-1-78328-311-8

Table of contents :
Content: Cover
Copyright
Credits
About the Author
About the Reviewers
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Debian Basics for Administrators
Linux distributions
The three branches
SLS
RPM
DPKG or DEB
Other differences
The Debian Project
The social contract
Constitution
Policies
Licensing
What happened to Firefox?
Repositories
Debian environments
Impact on administration
Debian support
Proprietary features
Where to find installation help and information
Summary
Chapter 2: Filesystem Layout
Partition tables
Single or multiboot
BIOS versus UEFI. Boot code under BIOSBoot code under UEFI
Filesystem types
ext2, ext3, and ext4
Journaled File System
SGI's XFS File System
Reiser File System
B-Tree File System
Clustered formats
Non-Linux formats
Other Unix formats
Choosing a format
Partitioning
Partitioning for backup and recovery
Space-limiting partitions
Disk management
Logical Volume Management
The swap partition
Selecting a partitioning scheme
Encryption
Why encrypt?
Disk encryption
Directory encryption
Choosing encryption
Installing Debian
Summary
Chapter 3: Package Management
Package managers. Dpkg and dselectAdvanced Package Tool
aptitude
Synaptic
Package selection and maintenance
Configuring media or repositories
The significance of the release name
Selecting packages
Updating your package cache
Command-line selection
Selection lists
Meta packages
A word about dependency resolution
Removing packages
Keeping current
Automatic updates
Foreign packages
Alien
Manual builds
Upgrading your system
Prior to the upgrade
During the upgrade
After the upgrade
Summary
Chapter 4: Basic Package Configuration
Configuration files
/etc/default
/etc. Initial configurationConfiguration utilities
dpkg-reconfigure
gadmin
Desktop configuration
Other utilities
Local configuration trends
Local configuration files
Configuration subdirectories
Configuration advice
Apache configuration
Configuration files
Enabling sites and modules
Testing and activating the configuration
Other examples
Summary
Chapter 5: System Management
Startup and shutdown
Debian run levels
Dependency-based boot sequence
Managing SysV scripts
Third-party and local scripts
Network administration
The interfaces file
Network Manager
Combining methods. Which method?Filesystem maintenance
Partition maintenance
Filesystem Check (FSCK)
Partition resizing
Backups
Low-level backups
File-level backups
Backup utilities
Choosing your solution
System logging
The logging facility
Controlling the logs
Monitoring the logs
Display managers
Where did my desktop go?
GNOME
KDE
Other desktops
Showing your best face
Summary
Chapter 6: Basic System Security
User administration
Default user group
ACLs
The root account
Debian hardening packages
Firewall tools
IPTABLES
Basic firewall design
Inbound opens
Outbound traffic.

Polecaj historie