Debian Reference
Nov. 29th, 2015 01:28 amAbstract
This Debian Reference is intended to provide a broad overview of the Debian system as a post-installation user's guide. It covers many aspects of system administration through shell-commandexamples. Basic tutorials, tips, and other information are provided for topics including fundamental concepts of the Debian system, system installation hints, Debian package management, the Linux kernel under Debian, system tuning, building a gateway, text editors, CVS, programming, and GnuPG for non-developers.
Copyright Notice
Copyright © 2001–2005 by Osamu Aoki <osamu#at#debian.org>.
Copyright (Chapter 2) © 1996–2001 by Software in the Public Interest.
This document may be used under the terms of the GNU General Public License version 2 or higher.
Permission is granted to make and distribute verbatim copies of this document provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this document under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this document into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English.
Contents
- 1 Preface
- 2 Debian fundamentals
- 2.1 The Debian archives
- 2.1.1 Directory structures
- 2.1.2 Debian distributions
- 2.1.3 The stable distribution
- 2.1.4 The testing distribution
- 2.1.5 The unstable distribution
- 2.1.6 The frozen distribution
- 2.1.7 Debian distribution codenames
- 2.1.8 Codenames used in the past
- 2.1.9 The source for codenames
- 2.1.10 The
pooldirectory - 2.1.11 Historical notes about Sid
- 2.1.12 Uploaded packages in
incoming/ - 2.1.13 Retrieving an older package
- 2.1.14 Architecture sections
- 2.1.15 The source code
- 2.2 The Debian package management system
- 2.2.1 Overview of Debian packages
- 2.2.2 Debian package format
- 2.2.3 Naming conventions for Debian package filenames
- 2.2.4 Preservation of local configuration
- 2.2.5 Debian maintenance scripts
- 2.2.6 Package priorities
- 2.2.7 Virtual packages
- 2.2.8 Package dependencies
- 2.2.9 The meaning of "Pre-Depends"
- 2.2.10 Package status
- 2.2.11 Holding back packages from an upgrade
- 2.2.12 Source packages
- 2.2.13 Building binary packages from a source package
- 2.2.14 Creating new Debian packages
- 2.3 Upgrading a Debian system
- 2.4 The Debian boot process
- 2.5 Supporting diversity
- 2.6 Internationalization
- 2.7 Debian and the kernel
- 2.1 The Debian archives
- 3 Debian System installation hints
- 3.1 General Linux system installation hints
- 3.1.1 Hardware compatibility basics
- 3.1.2 Determining a PC's hardware and chip set
- 3.1.3 Determining a PC's hardware via Debian
- 3.1.4 Determining a PC's hardware via other OSs
- 3.1.5 A Lilo myth
- 3.1.6 GRUB
- 3.1.7 Choice of boot floppies
- 3.1.8 Installation
- 3.1.9 Hosts and IP to use for LAN
- 3.1.10 User accounts
- 3.1.11 Creating filesystems
- 3.1.12 DRAM memory guidelines
- 3.1.13 Swap space
- 3.2 Bash configuration
- 3.3 Mouse configuration
- 3.4 NFS configuration
- 3.5 Samba configuration
- 3.6 Printer configuration
- 3.7 CRON for desktop PC
- 3.8 Other host installation hints
- 3.1 General Linux system installation hints
- 4 Debian tutorials
- 4.1 Getting started
- 4.2 Midnight Commander (MC)
- 4.3 Unix-like work environment
- 4.3.1 Special key strokes
- 4.3.2 Basic Unix commands
- 4.3.3 The command execution
- 4.3.4 Simple command
- 4.3.5 Command execution and environment variable
- 4.3.6 Command search path
- 4.3.7 Command line options
- 4.3.8 Shell wildcards
- 4.3.9 Return value of the command
- 4.3.10 Typical command sequences
- 4.3.11 Command alias
- 4.4 Unix-like text processing
- 4.5 Unix-like filesystem
- 4.6 X Window System
- 4.7 Further study
- 5 Upgrading a distribution to stable, testing, or unstable
- 6 Debian package management
- 6.1 Introduction
- 6.2 Beginning Debian package management
- 6.3 Debian survival commands
- 6.4 Debian nirvana commands
- 6.4.1 Information on a file
- 6.4.2 Information on a package
- 6.4.3 Unattended installation with APT
- 6.4.4 Reconfigure installed packages
- 6.4.5 Remove and purge packages
- 6.4.6 Holding older packages
- 6.4.7 Mixed stable/testing/unstable system
- 6.4.8 Prune cached package files
- 6.4.9 Record/copy system configuration
- 6.4.10 Port a package to the stable system
- 6.4.11 Local package archive
- 6.4.12 Convert or install an alien binary package
- 6.4.13 Automatically install command
- 6.4.14 Verify installed package files
- 6.4.15 Optimized
sources.list
- 6.5 Other Debian peculiarities
- 7 The Linux kernel under Debian
- 8 Debian tips
- 8.1 Booting the system
- 8.2 Recording activities
- 8.3 Copy and archive a whole subdirectory
- 8.4 Differential backup and data synchronization
- 8.5 System freeze recovery
- 8.6 Nifty little commands to remember
- 8.6.1 Pager
- 8.6.2 Free memory
- 8.6.3 Set time (BIOS)
- 8.6.4 Set time (NTP)
- 8.6.5 How to control console features such as the screensaver
- 8.6.6 Search administrative database
- 8.6.7 Disable sound (beep)
- 8.6.8 Error messages on the console screen
- 8.6.9 Set console to the correct type
- 8.6.10 Get the console back to a sane state
- 8.6.11 Convert a text file from DOS to Unix style
- 8.6.12 Convert a text file with
recode - 8.6.13 Regular-expression substitution
- 8.6.14 Edit a file in place using a script
- 8.6.15 Extract differences and merge updates for source files
- 8.6.16 Convert a large file into small files
- 8.6.17 Extract data from text file table
- 8.6.18 Script snippets for piping commands
- 8.6.19 Script snippets for looping over each file
- 8.6.20 Perl short script madness
- 8.6.21 Get text or a mailing list archive from a web page
- 8.6.22 Pretty print a web page
- 8.6.23 Pretty print a manual page
- 8.6.24 Merge two PostScript or PDF files
- 8.6.25 Time a command
- 8.6.26
nicecommand - 8.6.27 Schedule activity (
cron,at) - 8.6.28 Console switching with
screen - 8.6.29 Network testing basics
- 8.6.30 Flush mail from local spool
- 8.6.31 Remove frozen mail from local spool
- 8.6.32 Redeliver
mboxcontents - 8.6.33 Clear file contents
- 8.6.34 Dummy files
- 8.6.35
chroot - 8.6.36 How to check hard links
- 8.6.37
mounthard disk image file - 8.6.38 Samba
- 8.6.39 Utilities for foreign filesystems
- 8.7 Typical mistakes to be noted
- 9 Tuning a Debian system
- 9.1 System initialization
- 9.2 Restricting access
- 9.3 CD writers
- 9.3.1 Introduction
- 9.3.2 Approach 1: modules +
lilo - 9.3.3 Approach 2: recompile the kernel
- 9.3.4 Post-configuration steps
- 9.3.5 CD-image file (bootable)
- 9.3.6 Write to the CD-writer (R, RW):
- 9.3.7 Make an image file of a CD
- 9.3.8 Debian CD images
- 9.3.9 Back up the system to CD-R
- 9.3.10 Copy a music CD to CD-R
- 9.3.11 Writing DVD-R, DVD-RW, and DVD+RW
- 9.4 X
- 9.4.1 X packages
- 9.4.2 Hardware detection for X
- 9.4.3 The X server
- 9.4.4 X clients
- 9.4.5 X sessions
- 9.4.6 Using X over TCP/IP
- 9.4.7 Connecting to a remote X server –
xhost - 9.4.8 Connecting to a remote X server –
ssh - 9.4.9 The X terminal emulator –
xterm - 9.4.10 X resources
- 9.4.11 Keymaps and pointer button mappings in X
- 9.4.12 Getting root in X
- 9.4.13 TrueType fonts in X
- 9.4.14 Web browsers in X
- 9.4.15 Mail Clients (MUAs) in X
- 9.5 SSH
- 9.6 Mail
- 9.7 Localization (l10n)
- 9.7.1 Basics of localization
- 9.7.2 Locales
- 9.7.3 Introduction to locales
- 9.7.4 Activating locale support
- 9.7.5 Activating a particular locale
- 9.7.6 ISO 8601 date format locale
- 9.7.7 Example for the US (ISO-8859-1)
- 9.7.8 Example for France with Euro sign (ISO-8859-15)
- 9.7.9 Example for a multilingual X window system
- 9.7.10 Alternative X input methods
- 9.7.11 X terminal emulators
- 9.7.12 UTF-8 support for the X terminal emulator
- 9.7.13 Example for UTF-8 in a framebuffer console
- 9.7.14 Beyond locales
- 9.8 Multilingualization (m17n)
- 10 Network configuration
- 10.1 Basics of IP networking
- 10.2 Low level network configuration
- 10.3 Naming the computer
- 10.4 Domain Name Service (DNS)
- 10.5 Configuring network interfaces using DHCP
- 10.6 High level network configuration in Debian
- 10.6.1 High level network configuration using
ifupdown - 10.6.2 High level network configuration using
ifupdownlogical interface definitions - 10.6.3 Automatic network configuration using
ifupdown - 10.6.4 Automatic network configuration using
laptop-net - 10.6.5 Automatic network configuration using
network-manager
- 10.6.1 High level network configuration using
- 10.7 Dealing with inconsistent naming of interfaces by the kernel
- 10.8 Triggering network configuration
- 10.9 Multi-stage mapping
- 10.10 Network service configuration
- 10.11 Network troubleshooting
- 10.12 Building a gateway router
- 11 Editors
- 12 Version Control Systems
- 13 Programming
- 14 GnuPG
- 15 Support for Debian
- A Appendix
http://www.linuxtopia.org/online_books/linux_system_administration/debian_linux_guides/debian_linux_reference_guide/