DragonFly BSD

handbook

Copyright © 2004-2009 The DragonFly Documentation Project

Copyright © 1995-2004 The FreeBSD Documentation Project

Welcome to DragonFly! This handbook covers the installation and day to day use of the DragonFly operating system. This manual is a work in progress and is the work of many individuals. Many sections do not yet exist and some of those that do exist need to be updated. If you are interested in helping with this project, send email to the DragonFly Documentation project mailing list.

Portions of this document originally documented use of the FreeBSD operating system. While many functions should be similar on DragonFly, some differences should be expected. If you find instructions here that no longer apply to DragonFly, please contact the documentation mailing list at DragonFly Documentation project mailing list.

Preface

  1. Preface
  2. Getting Started

Chapter 1 Introduction

  1. Synopsis
  2. Welcome to DragonFly!
  3. About the DragonFly Project

Chapter 2 Installation

  1. Installation from CD
  2. First steps
  3. Disk setup
  4. Installing to Disk from CD
  5. New system setup

Chapter 3 UNIX Basics

  1. Synopsis
  2. Virtual Consoles and Terminals
  3. Permissions
  4. Directory Structure
  5. Disk Organization
  6. Mounting and Unmounting File Systems
  7. Processes
  8. Daemons, Signals, and Killing Processes
  9. Shells
  10. Text Editors
  11. Devices and Device Nodes
  12. Binary Formats
  13. For More Information

Chapter 4 Installing Applications

  1. Synopsis
  2. Overview of Software Installation
  3. Finding Your Application
  4. Using the Binary Packages System
  5. Using the pkgsrc Source Tree
  6. Post-installation Activities
  7. Dealing with Broken Packages

Chapter 5 The X Window System

  1. Synopsis
  2. Understanding X
  3. Installing X11
  4. X11 Configuration
  5. Using Fonts in X11
  6. The X Display Manager
  7. Desktop Environments
  8. System Administration

Chapter 6 UNIX Configuring and Tuning

  1. Synopsis
  2. Initial Configuration
  3. Core Configuration
  4. Application Configuration
  5. Starting Services
  6. Configuring the cron Utility
  7. Using rc under DragonFly
  8. Setting Up Network Interface Cards
  9. Virtual Hosts
  10. Configuration Files
  11. Tuning with sysctl
  12. Tuning Disks
  13. Tuning Kernel Limits
  14. Adding Swap Space
  15. Power and Resource Management
  16. Using and Debugging DragonFly ACPI

Chapter 7 The DragonFly virtual kernel

  1. The DragonFly virtual kernel
  2. Setup a virtual kernel environment
  3. Setup networking
  4. Run a virtual kernel

Chapter 8 The DragonFly Booting Process

  1. Synopsis
  2. The Booting Problem
  3. The Boot Manager and Boot Stages
  4. Kernel Interaction During Boot
  5. Init: Process Control Initialization
  6. Shutdown Sequence

Chapter 9 Users and Basic Account Management

  1. Synopsis
  2. Introduction
  3. The Superuser Account
  4. System Accounts
  5. User Accounts
  6. Modifying Accounts
  7. Limiting Users
  8. Personalizing Users
  9. Groups

Chapter 10 Configuring the DragonFly Kernel

  1. Synopsis
  2. Why Build a Custom Kernel?
  3. Building and Installing a Custom Kernel
  4. The Configuration File
  5. Making Device Nodes
  6. If Something Goes Wrong

Chapter 11 Security

  1. Synopsis
  2. Introduction
  3. Securing DragonFly
  4. DES, MD5, and Crypt
  5. One-time Passwords
  6. '''Kerberos5'''
  7. Firewalls
  8. OpenSSL
  9. VPN over IPsec
  10. OpenSSH

Chapter 12 Jails

  1. Synopsis
  2. Terms Related to Jails
  3. Introduction
  4. Creating and Controlling Jails
  5. Fine Tuning and Administration

Chapter 13 Printing

  1. Synopsis
  2. Introduction
  3. Basic Setup
  4. Advanced Printer Setup
  5. Using Printers
  6. Alternatives to the Standard Spooler
  7. Troubleshooting

Chapter 14 Storage

  1. Synopsis
  2. Device Names
  3. Adding Disks
  4. RAID
  5. Creating and Using Optical Media (CDs)
  6. Creating and Using Optical Media (DVDs)
  7. Creating and Using Floppy Disks
  8. Creating and Using Data Tapes
  9. Backups to Floppies
  10. Backup Basics
  11. Network, Memory, and File-Backed File Systems
  12. File System Quotas

Chapter 15 The Vinum Volume Manager

  1. Synopsis
  2. Disks Are Too Small
  3. Access Bottlenecks
  4. Data Integrity
  5. Vinum Objects
  6. Some Examples
  7. Object Naming
  8. Configuring Vinum
  9. Using Vinum for the Root Filesystem

Chapter 16 Localization - I18N/L10N Usage and Setup

  1. Synopsis
  2. The Basics
  3. Using Localization
  4. Compiling I18N Programs
  5. Localizing DragonFly to Specific Languages

Chapter 17 Desktop Applications

  1. Synopsis
  2. Browsers
  3. Productivity
  4. Document Viewers
  5. Finance
  6. Summary

Chapter 18 Multimedia

  1. Synopsis
  2. Setting Up the Sound Card
  3. MP3 Audio
  4. Video Playback
  5. Setting Up TV Cards

Chapter 19 Serial Communications

  1. Synopsis
  2. Introduction
  3. Terminals
  4. Dial-in Service
  5. Dial-out Service
  6. Setting Up the Serial Console

Chapter 20 PPP and SLIP

  1. Synopsis
  2. Using User PPP
  3. Using Kernel PPP
  4. Troubleshooting PPP Connections
  5. Using PPP over Ethernet (PPPoE)
  6. Using SLIP

Chapter 21 Advanced Networking

  1. Synopsis
  2. Gateways and Routes
  3. Wireless Networking
  4. Bluetooth
  5. Bridging
  6. NFS
  7. Diskless Operation
  8. ISDN
  9. NIS/YP
  10. DHCP
  11. DNS
  12. NTP
  13. Network Address Translation
  14. The '''inetd ''' Super-Server
  15. Parallel Line IP (PLIP)
  16. IPv6

Chapter 22 Electronic Mail

  1. Synopsis
  2. Using Electronic Mail
  3. '''sendmail ''' Configuration
  4. Changing Your Mail Transfer Agent
  5. Troubleshooting
  6. Advanced Topics
  7. SMTP with UUCP
  8. Setting up to send only
  9. Using Mail with a Dialup Connection
  10. SMTP Authentication
  11. Mail User Agents
  12. Using fetchmail
  13. Using procmail

Chapter 23 Updating DragonFly

  1. Initial Setup
  2. Configuration
  3. Preparing to Update
  4. Updating the System

Chapter 24 Debug the DragonFly kernel

  1. Debug the DragonFly kernel
  2. Configure your system
  3. Debug the crash dump
  4. Further information

Chapter 25 Linux Binary Compatibility

  1. Synopsis
  2. Installation
  3. Installing Mathematica ®
  4. Installing Maple ®
  5. Installing MATLAB $reg;
  6. Installing Oracle $reg;
  7. Installing SAP ® R/3 ®
  8. Advanced Topics

Appendices

  1. Appendices
  2. Obtaining DragonFly
  3. CDROM and DVD Publishers
  4. Mirror Sites
  5. Bibliography
  6. Books and Magazines Specific to BSD
  7. Users' Guides
  8. Administrators' Guides
  9. Programmers' Guides
  10. Operating System Internals
  11. Security Reference
  12. Hardware Reference
  13. UNIX ® History
  14. Magazines and Journals
  15. Resources on the Internet
  16. Mailing Lists
  17. Usenet Newsgroups
  18. World Wide Web Servers