You are previewing The OpenBSD 4.0 Crash Course.
O'Reilly logo
The OpenBSD 4.0 Crash Course

Book Description

OpenBSD is a Unix-like computer operating system that is widely regarded for its excellent documentation and its fanatical focus on security. "The OpenBSD Crash Course" Short Cut will help you get an x86 or AMD64/EM64T server, desktop, or network appliance up and running quickly with OpenBSD. You'll learn how to install or upgrade OpenBSD on x86 and AMD64 machines, how to configure it for server or workstation use, and how to properly maintain it until the next release.

Table of Contents

  1. The OpenBSD 4.1 Crash Course
  2. Learn OpenBSD Quickly
  3. Understanding OpenBSD 4.1
    1. What Is OpenBSD?
    2. What Is OpenBSD Good For?
    3. Supported Architectures and Hardware
  4. Installing OpenBSD 4.1
    1. Installation Methods
      1. Burning a CD from an ISO file
        1. Microsoft Windows
        2. Unix, GNU, and BSD systems
        3. Mac OS X
      2. Creating a diskette from an FS file
        1. From Unix-like operating systems
        2. From Microsoft Windows
      3. Installing over PXE
    2. Booting from the Installation Disc
      1. Modifying the boot order
    3. Installation Walkthrough
      1. Initial installation settings
      2. Slices, partitions, and filesystems
      3. Network configuration
      4. Package sets
        1. From the official CD
        2. Over FTP/HTTP
        3. Choosing package sets
      5. The final few steps
  5. Upgrading from OpenBSD 4.0
    1. Upgrading the Base System and Package Sets
    2. Post-Installation Upgrading
      1. Checking for updated config files
      2. Updating your .profile
      3. Adding new hoststated and RIP users and groups
      4. Upgrading the Ports tree
      5. Upgrading your installed programs
      6. Upgrading the base system source code
      7. Recompiling your old custom kernel
  6. Post-Install Configuration
    1. First Boot in OpenBSD 4.1
    2. Creating User Accounts
    3. A Quick Introduction to the vi Editor
    4. Customizing the Terminal
      1. Changing the terminal type
      2. Setting the key repeat delay and rate
    5. CD/DVD Mounting Made Easy
    6. Installing the Ports Tree and the Base System Source Code
      1. Installing the Ports tree
      2. Installing the base system source tree
    7. Using the OpenBSD Package Tools
      1. Installing programs through Ports and pkg_add
    8. Custom Kernel Configurations
      1. Creating a custom OpenBSD kernel
    9. Enabling Binary Compatibility with Other OSes
    10. Shutting Down and Restarting the Computer
  7. OpenBSD as a Desktop Operating System
    1. Configuring X.org
    2. Installing a Desktop Environment or Window Manager
    3. Starting X.org
    4. Finding and Installing Desktop-Oriented Programs
    5. Font Configuration
      1. Troubleshooting
  8. Server Installation and Service Configuration
    1. The inetd Internet Super-Server
    2. Apache
    3. Databases
      1. MySQL
      2. SQLite
      3. PostgreSQL
    4. Mail Transfer Agents
      1. Sendmail
      2. Postfix
    5. Mail Delivery Agents
      1. popa3d
      2. Courier-IMAP
      3. Cyrus-IMAPd
    6. OpenLDAP
    7. NFS
    8. NIS
    9. BIND
    10. CARP
    11. Basic Packet Filter Setup
    12. Enabling and Configuring OpenNTPD
  9. Installing the Languages of the Web
    1. Java
    2. PHP
    3. Perl
    4. Ruby
    5. Python
  10. Automation and Reporting
    1. The Cron Daemon
    2. Insecurity Reports
    3. Syslog
  11. Keeping OpenBSD Up-to-Date
    1. Staying Up-to-Date with Ports and Packages
    2. Switching to the OpenBSD 4.1-STABLE Branch
    3. Switching to OpenBSD-CURRENT
  12. Where to Go for Help
    1. Commercial Support for OpenBSD
    2. Further Reading
  13. About the Author
  14. Copyright