FreeBSD Handbook

The FreeBSD Documentation Project

Welcome to FreeBSD! This handbook covers the installation and day to day use of FreeBSD 5.0-RELEASE. 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 FreeBSD documentation project mailing list . The latest version of this document is always available from the FreeBSD web site. It may also be downloaded in a variety of formats and compression options from the FreeBSD FTP server or one of the numerous mirror sites. If you would prefer to have a hard copy of the handbook, you can purchase one at the FreeBSD Mall. You may also want to search the handbook.


Spis treści
Preface
I. Getting Started
1. Introduction
1.1. Synopsis
1.2. Welcome to FreeBSD!
1.3. About the FreeBSD Project
2. Instalacja FreeBSD
2.1. Streszczenie
2.2. Czynności wstępne
2.3. Rozpoczęcie instalacji
2.4. Wprowadzenie do Sysinstall
2.5. Przydział miejsca na dysku
2.6. Wybór składników instalacji
2.7. Wybór nośnika instalacji
2.8. Przystąpienie do instalacji
2.9. Po instalacji
2.10. Obsługiwany sprzęt
2.11. Rozwiązywanie problemów
2.12. Instalacja zaawansowana
2.13. Przygotowanie nośnika instalacji
3. Podstawy Uniksa
3.1. Streszczenie
3.2. Prawa dostępu
3.3. Struktura katalogów
3.4. Montowanie i odmontowywanie systemów plików
3.5. Procesy
3.6. Demony, sygnały i unicestwianie procesów
3.7. Powłoki
3.8. Edytory tekstu
3.9. Urządzenia i pliki urządzeń
3.10. Konsole wirtualne i terminale
3.11. Więcej informacji
4. Installing Applications: Packages and Ports
4.1. Synopsis
4.2. Overview of Software Installation
4.3. Finding Your Application
4.4. Using the Packages System
4.5. Using the Ports Collection
4.6. Post-installation activities
4.7. Troubleshooting
5. The X Window System
5.1. Synopsis
5.2. Understanding X
5.3. Installing XFree86
5.4. XFree86 Configuration
5.5. Using Fonts in XFree86
5.6. The X Display Manager
5.7. Desktop Environments
II. System Administration
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. The FreeBSD Booting Process
7.1. Synopsis
7.2. The Booting Problem
7.3. The MBR, and Boot Stages One, Two, and Three
7.4. Kernel Interaction During Boot
7.5. Device Hints
7.6. Init: Process Control Initialization
7.7. Shutdown Sequence
8. Users and Basic Account Management
8.1. Synopsis
8.2. Introduction
8.3. The Superuser Account
8.4. System Accounts
8.5. User Accounts
8.6. Modifying Accounts
8.7. Limiting Users
8.8. Personalizing Users
8.9. Groups
9. Configuring the FreeBSD Kernel
9.1. Synopsis
9.2. Why Build a Custom Kernel?
9.3. Building and Installing a Custom Kernel
9.4. The Configuration File
9.5. Making Device Nodes
9.6. If Something Goes Wrong
10. Bezpieczeństwo
10.1. Wstęp
10.2. Wprowadzenie
10.3. Zabezpieczanie FreeBSD
10.4. DES, MD5 i Crypt
10.5. S/Key
10.6. Kerberos
10.7. Ściany Ogniowe
10.8. OpenSSL
10.9. IPsec
10.10. OpenSSH
10.11. Listy Kontroli Dostępu Systemu Plików
10.12. Obowiązkowa Kontrola Dostępu (ang. ``Mandatory Access Control'', MAC)
11. Printing
11.1. Synopsis
11.2. Introduction
11.3. Basic Setup
11.4. Advanced Printer Setup
11.5. Using Printers
11.6. Alternatives to the Standard Spooler
11.7. Troubleshooting
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. File System Quotas
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
14. Localization - I18N/L10N Usage and Setup
14.1. Synopsis
14.2. The Basics
14.3. Using Localization
14.4. Compiling I18N Programs
14.5. Localizing FreeBSD to Specific Languages
15. Desktop Applications
15.1. Synopsis
15.2. Browsers
15.3. Productivity
15.4. Document Viewers
15.5. Finance
15.6. Summary
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. Advanced Networking
19.1. Synopsis
19.2. Gateways and Routes
19.3. Wireless
19.4. Bridging
19.5. NFS
19.6. Diskless Operation
19.7. ISDN
19.8. NIS/YP
19.9. DHCP
19.10. DNS
19.11. NTP
19.12. Network Address Translation
19.13. inetd ``Super-Server''
19.14. Parallel Line IP (PLIP)
19.15. IPv6
20. Electronic Mail
20.1. Synopsis
20.2. Using Electronic Mail
20.3. sendmail Configuration
20.4. Changing your Mail Transfer Agent
20.5. Troubleshooting
20.6. Advanced Topics
20.7. SMTP Authentication
21. The Cutting Edge
21.1. Synopsis
21.2. FreeBSD-CURRENT vs. FreeBSD-STABLE
21.3. Synchronizing Your Source
21.4. Using make world
21.5. Tracking for multiple machines
22. Linux Binary Compatibility
22.1. Synopsis
22.2. Installation
22.3. Installing Mathematica
22.4. Installing Maple
22.5. Installing Oracle
22.6. Installing SAP R/3
22.7. Advanced Topics
III. Appendices
A. Obtaining FreeBSD
A.1. CDROM and DVD Publishers
A.2. FTP Sites
A.3. Anonymous CVS
A.4. Using CTM
A.5. Using CVSup
A.6. CVS Tags
A.7. AFS Sites
A.8. rsync sites
B. Bibliography
B.1. Books & Magazines Specific to FreeBSD
B.2. Users' Guides
B.3. Administrators' Guides
B.4. Programmers' Guides
B.5. Operating System Internals
B.6. Security Reference
B.7. Hardware Reference
B.8. Unix History
B.9. Magazines and Journals
C. Resources on the Internet
C.1. Mailing Lists
C.2. Usenet Newsgroups
C.3. World Wide Web Servers
C.4. Email Addresses
C.5. Shell Accounts
D. PGP Keys
D.1. Officers
D.2. Core Team Members
D.3. Developers
Colophon
Spis tabel
2-1. Przykładowa lista urządzeń
2-2. Oznaczenia dysków
2-3. Układ partycji pierwszego dysku
2-4. Układ partycji dla kolejnych dysków
2-5. Dostępne profile zabezpieczeń
2-6. Obrazy ISO FreeBSD
12-1. Physical Disk Naming Conventions
13-1. Vinum Plex organizations
19-1. Wiring a parallel cable for networking
Spis rysunków
2-1. Menu konfiguracji jądra
2-2. Interfejs konfiguracji urządzeń jądra
2-3. Rozwinięta lista sterowników
2-4. Konfiguracja sterowników bez konfliktów
2-5. Główne menu Sysinstall
2-6. Przykład wyników rozpoznania urządzeń
2-7. Wyjście z Sysinstall
2-8. Wybór instrukcji obsługi z głównego menu Sysinstall
2-9. Wybór menu dokumentacji
2-10. Menu dokumentacji Sysinstall
2-11. Główne menu Sysinstall
2-12. Menu mapowania klawiatury
2-13. Główne menu Sysinstall
2-14. Opcje Sysinstall
2-15. Rozpoczęcie instalacji standardowej
2-16. Wybór dysku FDisk-a
2-17. Układ partycji w FDisk-u przed zmianami
2-18. Partycja w FDisk-u obejmująca cały dysk
2-19. Wybór programu ładującego w Sysinstall
2-20. Zakończenie wyboru dysku
2-21. Edytor Disklabel
2-22. Edytor disklabel z automatycznymi ustawieniami
2-23. Wolne miejsce dla głównej partycji
2-24. Zmiana rozmiaru głównej partycji
2-25. Wybór typu głównej partycji
2-26. Wybór miejsca montowania głównego systemu plików
2-27. Edytor Disklabel
2-28. Wybór komponentów
2-29. Zatwierdzenie wybranych komponentów
2-30. Wybór nośnika instalacji
2-31. Wybieranie karty Ethernet
2-32. Konfiguracja interfejsu ed0
2-33. Modyfikowanie inetd.conf
2-34. Domyślne ustawienia anonimowego FTP
2-35. Wprowadzanie komunikatu powitalnego FTP
2-36. Przygotowywanie pliku exports
2-37. Opcje profilu zabezpieczeń
2-38. Opcje konfiguracji konsoli systemowej
2-39. Opcje wygaszacza ekranu
2-40. Limit czasu wygaszacza ekranu
2-41. Zakończenie konfiguracji konsoli
2-42. Wybór regionu geograficznego
2-43. Wybór kraju
2-44. Wybór strefy czasowej
2-45. Opcja wyboru protokołu myszki
2-46. Wybór protokołu myszki
2-47. Konfigurowanie portu myszki
2-48. Wybór portu myszki
2-49. Włączenie demona myszki
2-50. Testowanie demona myszki
2-51. Wybór metody konfiguracji
2-52. Wybór domyślnego menedżera okien
2-53. Wybór kategorii pakietów
2-54. Wybór pakietów
2-55. Rozpoczęcie instalacji pakietów
2-56. Potwierdzenie instalacji pakietów
2-57. Dodawanie użytkownika
2-58. Dane nowego użytkownika
2-59. Wyjście z menu zarządzania użytkownikami i grupami
2-60. Zakończenie instalacji
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
Spis przykładów
2-1. Wykorzystanie istniejącej partycji
2-2. Zmniejszenie instniejącej partycji
2-3. Przykładowe nazwy dysków, segmentów i partycji
2-4. Schematyczny model dysku
4-1. Downloading a Package Manually and then Installing It Locally
6-1. Creating a Swapfile on FreeBSD 4.X
6-2. Creating a Swapfile on FreeBSD 5.X
7-1. boot0 Screenshot
7-2. boot2 Screenshot
7-3. An Insecure Console in /etc/ttys
8-1. Configuring adduser
8-2. rmuser Interactive Account Removal
8-3. Interactive chpass by Superuser
8-4. Interactive chpass by Normal User
8-5. Changing Your Password
8-6. Changing Another User's Password as the Superuser
8-7. Adding a Group Using pw(8)
8-8. Adding Somebody to a Group Using pw(8)
8-9. Using id(1) to Determine Group Membership
10-1. Zastosowanie SSH do stworzenia bezpiecznego tunelu dla SMTP
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. Mounting an Export with amd
19-2. Branch Office or Home Network
19-3. Head Office or Other LAN
19-4. Sending inetd a HangUP Signal
20-1. Configuring the sendmail Access Database
20-2. Mail Aliases
20-3. Example Virtual Domain Mail Map
A-1. Checking Out Something from -CURRENT (ls(1)) and Deleting It Again:
A-2. Checking Out the Version of ls(1) in the 3.X-STABLE Branch:
A-3. Creating a List of Changes (as unified diffs) to ls(1)
A-4. Finding Out What Other Module Names Can Be Used:

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>.