FreeBSD 使用手冊

FreeBSD 文件計畫

歡迎使用 FreeBSD!這份使用手冊涵蓋的範圍包括了 FreeBSD 5.1-RELEASE 的安裝和日常使用。 這份手冊是很多人的集體創作,仍然處於 製作中的階段 。有很多章節仍未完成,已完成的部份也有些需要更新。 如果您有意要協助這個計畫的進行的話,請寫 email 給 FreeBSD documentation project mailing list 您可以在 FreeBSD 網站 找到這份文件的最新版。您也可以從 FreeBSD FTP 站 或是它的任何一個 mirror 站臺 下載資料。 如果你偏好擁有書面的 handbook,你可以向 FreeBSD Mall 購買。 您或許也想 在使用手冊中搜尋資料


Table of Contents
序言
I. 開始使用 FreeBSD
1 介紹
1.1 Synopsis
1.2 Welcome to FreeBSD!
1.3 有關 FreeBSD 計劃
2 安裝 FreeBSD
2.1 概論
2.2 安裝之前的工作
2.3 開始安裝
2.4 介紹 Sysinstall
2.5 磁碟空間配置
2.6 選擇要安裝的套件集
2.7 選擇您要使用的安裝媒介
2.8 安裝確認
2.9 安裝後的設定
2.10 支援的硬體
2.11 疑難解決
2.12 進階安裝指南
2.13 準備您自己的安裝媒介
3 Unix 上的基本資訊
3.1 概要
3.2 權限
3.3 目錄結構
3.4 Shells
3.5 編輯器
3.6 取得進一步的資訊...
4 安裝應用軟體:The Ports collection
4.1 概要
4.2 使用 Ports Collection
4.3 Troubleshooting
4.4 進階專題
5 X 視窗系統
5.1 大綱
5.2 綱要
5.3 安裝 XFree86
5.4 在 XFree86 下使用的字型
5.5 The X Display Manager
5.6 Desktop Environments
II. 系統管理
6 Configuration and Tuning
6.1 Synopsis
6.2 Initial Configuration
6.3 Core Configuration
6.4 Application Configuration
6.5 Starting Services
6.6 Setting Up Network Interface Cards
6.7 Virtual Hosts
6.8 Configuration Files
6.9 Tuning with sysctl
6.10 Tuning Disks
6.11 Tuning Kernel Limits
6.12 Adding Swap Space
6.13 ACPI and FreeBSD
7 FreeBSD 的開機流程
7.1 概述
7.2 開機磁區:開機步驟的一和二
7.3 Loader:開機步驟之三
7.4 開機階段的 kernel 調節
7.5 Init:進行系統控制權轉移
7.6 關機程序
8 使用者及基本帳號管理
8.1 概要
8.2 超級使用者帳號
8.3 系統帳號
8.4 使用者帳號
8.5 更改帳號
8.6 限制使用者
8.7 個人化使用者
9 FreeBSD 核心設定
9.1 章節大意
9.2 為什麼要定製一個核心?
9.3 建立並安裝一個定製的核心
9.4 核心設定檔
9.5 建立裝置節點
9.6 疑難排解
10 安全
10.1 概要
10.2 介紹
10.3 FreeBSD 系統安全
10.4 DES, MD5 和 Crypt
10.5 S/Key
10.6 Kerberos
10.7 防火牆
10.8 OpenSSL
10.9 IPsec
10.10 OpenSSH
11 列印
11.1 Spooler 做了什麼事
11.2 為什麼要使用 Spooler
11.3 設定 Spooling 系統
11.4 簡單的印表機設定
11.5 使用印表機
11.6 進階印表機設定
11.7 標準 Spooler 之外的選擇
11.8 致謝
12 Storage
12.1 Synopsis
12.2 Device Names
12.3 Adding Disks
12.4 RAID
12.5 Creating and Using Optical Media (CDs & DVDs)
12.6 Creating and Using Floppy Disks
12.7 Creating and Using Data Tapes
12.8 Backups to Floppies
12.9 Backup Basics
12.10 Network, Memory, and File-Backed File Systems
12.11 File System Snapshots
12.12 檔案系統配額
13 The Vinum Volume Manager
13.1 Synopsis
13.2 Disks Are Too Small
13.3 Access Bottlenecks
13.4 Data Integrity
13.5 Vinum Objects
13.6 Some Examples
13.7 Object Naming
13.8 Configuring Vinum
13.9 Using Vinum for the Root Filesystem
14 區域化 - I18N/L10N 使用與設定
14.1 概要
14.2 基本概念
14.3 使用區域化
14.4 編譯 I18N 程式
14.5 區域化 FreeBSD 成為特定語言
15 Desktop Applications
15.1 Synopsis
15.2 瀏覽器
15.3 創作軟體
15.4 Document Viewers
15.5 Finance
15.6 結論
16 Multimedia
16.1 Synopsis
16.2 Setting Up the Sound Card
16.3 MP3 Audio
16.4 Video Playback
17 Serial Communications
17.1 Synopsis
17.2 Introduction
17.3 Terminals
17.4 Dial-in Service
17.5 Dial-out Service
17.6 Setting Up the Serial Console
18 PPP and SLIP
18.1 Synopsis
18.2 Using User PPP
18.3 Using Kernel PPP
18.4 Using PPP over Ethernet (PPPoE)
18.5 Using PPP over ATM (PPPoA)
18.6 Using SLIP
19 進階網路使用
19.1 Synopsis
19.2 閘道與路徑
19.3 Bridging
19.4 NFS
19.5 無磁碟作業
19.6 ISDN
19.7 NIS/YP
19.8 DHCP
19.9 DNS
19.10 The inetd ``Super-Server''
19.11 Parallel Line IP (PLIP)
19.12 IPv6
20 電子郵件
20.1 基礎資訊
20.2 組態設定
20.3 FAQ
21 The Cutting Edge: FreeBSD-current and FreeBSD-stable
21.1 使用 FreeBSD Current
21.2 使用 FreeBSD 的穩定版
21.3 透過網路來對 Source Trees 進行同步化
21.4 利用 make world 來重建整個系統
22 原始碼目錄樹的介紹及政策
22.1 Makefile 檔案中的 MAINTAINER
22.2 捐助軟體
22.3 有負擔的 (Encumbered) 檔案
22.4 共享程式庫 (Shared Libraries)
23 Kernel 除錯
23.1 使用 gdb 來除錯 Kernel 的 Crash Dump
23.2 使用 DDD 來除錯 Crash Dump
23.3 對 dump 的事後分析
23.4 用 DDB 對 kernel 做線上除錯
23.5 使用遠端 GDB 來線上除錯 Kernel
23.6 使用 GDB 來除錯可載入模組
23.7 除錯一個 console driver
24 Linux 執行模式
24.1 如何安裝 Linux 執行模式
24.2 如何在 FreeBSD 下安裝 Mathematica
24.3 這個 Linux 執行模式是如何運作的 ?
III. 附錄
A. 取得 FreeBSD
A.1 光碟出版商
A.2 FTP 站臺
A.3 CTM 站臺
A.4 CVSup 站臺
A.5 AFS 站臺
B. 參考文獻
B.1 針對 FreeBSD 的書籍 & 雜誌
B.2 使用者指南
B.3 管理者指南
B.4 程式設計者指南
B.5 深入作業系統
B.6 系統安全參考書
B.7 硬體的參考書
B.8 UNIX 的歷史
B.9 Magazines and Journals
C. 網際網路上的資源
C.1 Mailing lists
C.2 Usenet 新聞群組
C.3 World Wide Web 伺服器
C.4 Email Addresses
C.5 Shell Accounts
D. PGP 鑰匙
D.1 Officers
D.2 Core Team 成員
D.3 開發人員
E. FreeBSD Project 工作人員
E.1 The FreeBSD Core Team
E.2 FreeBSD 開發人員
E.3 FreeBSD 文件計畫
E.4 工作分配
Colophon
List of Tables
2-1. 硬體清單列表
2-2. 磁碟機代碼
2-3. 第一顆硬碟的分割區配置
2-4. 接下來的硬碟分割區配置
2-5. 可能的安全等級
12-1. Physical Disk Naming Conventions
13-1. Vinum Plex Organizations
19-1. Wiring a Parallel Cable for Networking
List of Figures
2-1. 核心組態設定畫面
2-2. 核心裝置視覺化組態設定介面
2-3. 展開驅動程式清單
2-4. 沒有衝突的裝置驅動程式組態畫面
2-5. Sysinstall 主畫面
2-6. 典型的裝置搜尋結果
2-7. 選擇離開 Sysinstall
2-8. 選取 Sysinstall 主畫面的 Usage 項目
2-9. 選擇說明文件選單
2-10. Sysinstall 說明文件選單
2-11. Sysinstall 主畫面
2-12. Sysinstall 鍵盤對應選單
2-13. Sysinstall 主畫面
2-14. Sysinstall 選項設定
2-15. 開始進行標準安裝
2-16. 選擇要 FDisk 的磁碟機
2-17. 典型尚未編輯前的 Fdisk 分割表
2-18. Fdisk 分割使用整顆硬碟
2-19. Sysinstall 開機管理員畫面
2-20. 離開選擇磁碟畫面
2-21. Sysinstall Disklabel 編輯器
2-22. Sysinstall Disklabel 編輯器-使用自動配置
2-23. 根目錄使用空間
2-24. 編輯根目錄大小
2-25. 選擇根目錄類型
2-26. 選擇根目錄配置點
2-27. Sysinstall Disklabel 編輯器
2-28. 選擇套件集
2-29. Confirm Distributions
2-30. 選擇安裝媒介
2-31. 選擇網路裝置
2-32. 設定網路裝置 ed0 的組態
2-33. 編輯 inetd.conf
2-34. 預設的匿名 FTP 組態
2-35. 編輯 FTP 歡迎訊息
2-36. 編輯 Exports 檔
2-37. 選擇安全等級
2-38. 系統終端機組態設定
2-39. 螢幕保護程式選項
2-40. 螢幕保護程式閒置時間設定
2-41. 結束終端機組態設定
2-42. 選擇地理區域
2-43. 選擇您所在的國家
2-44. 選擇時區
2-45. 選擇滑鼠類型
2-46. 選擇滑鼠通訊協定
2-47. 設定滑鼠連接埠
2-48. 設定滑鼠連接埠
2-49. 啟動滑鼠服務
2-50. 測試滑鼠功能
2-51. 選擇要使用的組態設定方式
2-52. 選擇預設桌面環境
2-53. 選擇套件類別
2-54. 選擇套件
2-55. 安裝套件
2-56. 套件安裝確認
2-57. 選擇新增使用者
2-58. 新增使用者資訊
2-59. 離開使用者及群組管理畫面
2-60. 離開安裝程序
13-1. Concatenated Organization
13-2. Striped Organization
13-3. RAID-5 Organization
13-4. A Simple Vinum Volume
13-5. A Mirrored Vinum Volume
13-6. A Striped Vinum Volume
13-7. A Mirrored, Striped Vinum Volume
List of Examples
2-1. 使用現存的分割區
2-2. 縮減現存的分割區
2-3. 磁碟、切割區、分割區命名範例
2-4. 基本磁碟機分布模式
6-1. Creating a Swapfile on FreeBSD 4.X
6-2. Creating a Swapfile on FreeBSD 5.X
7-1. boot0 的顯示畫面
7-2. boot2 的畫面
7-3. 在 /etc/ttys 中設定一個 console 為 insecure
8-1. 更改 adduser 的設定
8-2. rmuser 帳號刪除互動過程
8-3. 超級使用者互動式 chpass
8-4. 一般使用者互動式 chpass
8-5. passwd
12-1. Using dump over ssh
12-2. A Script for Creating a Bootable Floppy
12-3. Using vnconfig to mount an Existing File System Image under FreeBSD 4.X
12-4. Creating a New File-Backed Disk with vnconfig
12-5. Using mdconfig to mount an Existing File System Image under FreeBSD 5.X
12-6. Creating a New File-Backed Disk with mdconfig
12-7. md Memory Disk under FreeBSD 4.X
12-8. Creating a New Memory-Based Disk with mdconfig
12-9. Creating a New Memory-Based Disk with mdmfs
17-1. Adding Terminal Entries to /etc/ttys
19-1. 分公司或住家網路
19-2. 辦公室或其它區域網路
19-3. Sending inetd a HangUP Signal
21-1. 取出 -current (ls(1)) 的東西然後再把它刪除掉:
21-2. 取出 2.2-stable 分支的 ls(1) :
21-3. 製作一份 FreeBSD 2.2.2 和 FreeBSD 2.2.6 對於 ls(1) 差異的列表 (以 unidiffs 的格式呈現):
21-4. 找出其他可用的模組名稱:

This, and other documents, can be downloaded from ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/.

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.