You are previewing Sams Teach Yourself FreeBSD® in 24 Hours.
O'Reilly logo
Sams Teach Yourself FreeBSD® in 24 Hours

Book Description

There currently no books on the market that offer to teach FreeBSD to a novice. This book will be very attractive to the rushed and impatient, as well as to those who simply have a desire to learn the benefits of FreeBSD when compared to other proprietary operating systems. The book covers the most beneficial uses of FreeBSD, as well as the information needed to install and configure the operating system. This book will be the definitive tutorial reference for the growing FreeBSD market.

Table of Contents

  1. Copyright
  2. About the Authors
  3. About the Development Editor
  4. Acknowledgments
  5. We Want to Hear from You!
  6. Reader Services
  7. Introduction
  8. Introduction to FreeBSD
    1. Planning for and Preparing to Install FreeBSD
      1. What Is FreeBSD?
      2. What Is FreeBSD Being Used for?
      3. FreeBSD Compared to Other Operating Systems
      4. System Requirements
      5. Deciding How and Where to Install FreeBSD
      6. Backing Up Existing Systems
      7. Summary
      8. Workshop
    2. Installing FreeBSD
      1. Beginning the FreeBSD Installation
      2. sysinstall
      3. Hard Disk Partitioning
      4. Boot Manager
      5. Creating BSD Partitions
      6. Choosing the Distribution to Install
      7. Choosing Installation Media
      8. Post Installation
      9. Shutting Down the System After Reboot
      10. Summary
      11. Q&A
      12. Workshop
    3. A Basic Tour of FreeBSD
      1. The Basics of the FreeBSD Startup Process
      2. Logging In to FreeBSD
      3. Your Home Directory
      4. The Rest of the Directory Structure
      5. Working with Files and Directories
      6. Logging Out of the System
      7. Importance of Proper System Shutdown
      8. Workshop
    4. Basic UNIX Shell Use
      1. The Role of the Shell
      2. Different Shells Available
      3. Special Features of Bash
      4. File Permissions
      5. Process Management
      6. Summary
      7. Q&A
      8. Workshop
  9. Basic FreeBSD Administration
    1. Users and Groups
      1. Multiuser Capabilities of FreeBSD
      2. Adding Users to FreeBSD
      3. Removing a User Account
      4. Groups and Their Purpose
      5. Primary Versus Secondary Groups
      6. Summary
      7. Workshop
    2. Adding and Removing Third-Party Software
      1. FreeBSD's Software Packaging Systems
      2. The Differences Between Packages and Ports
      3. Discovering What's Available
      4. Installing Software from Prebuilt Packages
      5. Installing Software from Ports
      6. Removing Installed Software
      7. Updating Installed Software
      8. Notes on Ports and Disk Space
      9. Working with Linux Applications
      10. Summary
      11. Workshop
    3. System Configuration and Startup Scripts
      1. Understanding the FreeBSD Startup Process
      2. Resource Configuration Scripts
      3. Modifying System Settings
      4. The inetd Daemon and the inetd.conf Configuration File
      5. The System Logger (syslogd) and the syslog.conf File
      6. Summary
      7. Q&A
      8. Workshop
    4. Storage Systems and Backup Utilities
      1. Understanding UNIX Filesystems
      2. Mounting and Unmounting Various Media Formats
      3. The /etc/fstab File
      4. The FreeBSD Automounter
      5. System Backup Strategies and Utilities
      6. Summary
      7. Q&A
      8. Workshop
    5. The FreeBSD Printing System
      1. How FreeBSD Handles Printing
      2. Configuring the Printer
      3. Starting lpd
      4. Command Line Printing
      5. Checking the Status of Jobs
      6. Removing Jobs from the Queue
      7. Controlling the Printers
      8. Summary
      9. Workshop
    6. The FreeBSD Kernel and Device Tree
      1. The Kernel and Its Purpose
      2. Why Build a Custom Kernel?
      3. The Kernel Configuration File
      4. Building the New Kernel
      5. Installing the New Kernel
      6. Recovering from Botched Kernel Builds
      7. Summary
      8. Workshop
    7. Updating FreeBSD
      1. The Two FreeBSD Source Trees
      2. Updating Your Source Tree
      3. The UPDATING File
      4. The /etc/make.conf File
      5. Updating Important Files
      6. Rebuilding the System
      7. Installing the New World
      8. Building the New Kernel
      9. Troubleshooting
      10. Summary
      11. Q&A
      12. Workshop
  10. Networking
    1. Introduction to Networks
      1. The OSI Networking Model
      2. Basic Networking Components
      3. The IP Address System and Subnets
      4. Subnets and the Network Mask
      5. Summary
      6. Q&A
      7. Workshop
    2. Connecting FreeBSD to an Existing Network
      1. The Network Interface Device
      2. Configuring Network Settings with sysinstall
      3. Summary
      4. Q&A
      5. Workshop
    3. Dial-Up Network Connections
      1. Selecting an Internet Service Provider
      2. Modem Information
      3. Configuring the Dial-up Internet Connection
      4. Troubleshooting the Connection
      5. Summary
      6. Q&A
      7. Workshop
    4. Network Security
      1. Ensuring Password Integrity
      2. Remote Login Issues
      3. Configuring a Basic Firewall
      4. Securing the Console
      5. Security Holes in FreeBSD
      6. Summary
      7. Q&A
      8. Workshop
  11. FreeBSD as a Workstation
    1. Command-Line Applications
      1. Working with Text
      2. Email Applications
      3. The Lynx Web Browser
      4. Summary
      5. Q&A
      6. Workshop
    2. Configuring the X Window System
      1. More About X
      2. Configuring X
      3. Starting X
      4. Summary
      5. Q&A
      6. Workshop
    3. The K Desktop Environment (KDE)
      1. What Is a Desktop Environment?
      2. Installing KDE
      3. Making KDE Your Default Window Manager
      4. Starting KDE
      5. Navigating the KDE Desktop
      6. KDE Applets
      7. File Management in KDE
      8. Customizing Your KDE Desktop
      9. Summary
      10. Q&A
      11. Workshop
    4. Window Managers and Desktop Environments
      1. The Difference Between Window Managers and Desktop Environments
      2. Alternative (Non-KDE) Windowing Environments
      3. Installing and Configuring Alternative Window Managers
      4. Changing Your Default Window Manager
      5. Summary
      6. Q&A
      7. Workshop
    5. Productivity in the X Window System
      1. Office Software
      2. Image Editing
      3. Internet Applications
      4. Summary
      5. Q&A
      6. Workshop
    6. Multimedia in FreeBSD
      1. Configuring Sound Support in FreeBSD
      2. Sound Applications
      3. CD Burning
      4. Viewing MPEG Video Files
      5. Playing DVDs
      6. Summary
      7. Q&A
      8. Workshop
      9. Exercises
  12. FreeBSD as a Server
    1. Configuring a Basic Web Server
      1. What Is Apache?
      2. Requirements for Running Your Own Web Server
      3. Installing Apache
      4. Basic Apache Configuration: What You Need to Edit
      5. Starting and Stopping the Apache Server
      6. CGI
      7. Apache Modules
      8. Basic Security and Access Control
      9. Summary
      10. Q&A
      11. Workshop
    2. Basic Email Services
      1. SMTP and Sendmail
      2. Basic Sendmail Configuration
      3. Mail Relaying and Spam Control
      4. Summary
      5. Q&A
      6. Workshop
    3. File Sharing
      1. File Sharing Through FTP
      2. Basic NFS Configuration
      3. Samba and Windows File Sharing
      4. Summary
      5. Q&A
      6. Workshop
  13. Appendixes
    1. Resources for FreeBSD Users
      1. Web Sites
      2. Mailing Lists
      3. USENET Newsgroups
      4. IRC Channels
    2. FreeBSD Quick Reference
  14. Index