���������� �� ��������� FreeBSD/amd64 5.4-RELEASE

������ FreeBSD


��� ������ ���� ������� ���������� �� ��������� FreeBSD/amd64 5.4-RELEASE, ������ �������� ������� ��������� ������������ FreeBSD. ������������ ����� ��������� ������� �� ������� ������� � ����� ���������� �������.


1. ��������� FreeBSD

���� ������ ��������� ������� ��������� ����� ������� FreeBSD. ������ �������� ������� ��������� ������������ FreeBSD 5.4-RELEASE � ������ ��������� ���������. ����� ``��������� FreeBSD'' ����������� FreeBSD ������������� ����� ��������� ���������� � ����� ��������� ���������, ������� ��������� ���������� �� ��������� � �������������.

���� �� ���������� ���������� ����� FreeBSD, ������������ � ����. 3, ��� ��������� ���������� �� ����������.


1.1. ����� ����������

�������� �������� ������ ���������, ������� ������ ���� ��������� ����� ����������, �������� ������ ��������� ����������, ������������ � FreeBSD. ����� ����������, ������������ � ���� ������� FreeBSD, ����� ����� � README.TXT, ������� ������ ��������� ��� ��, ��� � ���� ����; ����������� ����� ���������� (���������� � ������, ������ ������������ ������������) �������� ����� �� ���� Documentation ��������� ���������.

��-���� ������ FreeBSD FAQHandbook �������� ����� � ��� ����� ������� FreeBSD, ���� � ��� ���� ����������� � ��������.

���� ����� ���������� ����� ���������� �������, �� �����, ����������� �� �� ������, �������� �����������. ������������ � ���������� ��������� ����� ����� ������ � ������ ������� ��� ���������.

���� ���������� �������� ������ �������� � �������, ��� ��� ���� �� ����������� � ����������, ���������� � ����. 4, ��� ��������� ���������� �� ������� �������. ��� ����� ����������� �������� ������ ����� ����� ERRATA.TXT ����� ����������, �� ����������� ��� � ���������, ������� ���� ���������� �� ����� ������������� ������� ������.

�����: ���� FreeBSD ������� �������� �������� �������������� ������ ������, ��� �� ����� ��� �������� ������ ���� ������ �� ����� ��� ������ �� ����� ���������. �� ���������� � ���������� ���� ��������� FreeBSD �� ��� ���, ���� �� ���� ��������� ��������� ����������� ������ ������.


1.2. ���������� � ����������� �����������

FreeBSD ��� AMD64 �������� � ������������ Athlon64, Athlon64-FX, Opteron ��� ����.

���� ��� ��������� ������� �� nVidia nForce3 Pro-150, ��� ���������� ������������ BIOS setup ��� ���������� IO APIC. ���� ��������������� �������� �����������, ��� ������ ����� ����������� ��������� ACPI. � ������� Pro-150 ���� ������, ��� ������� �� ��� �� ����� ��������� ����.

���� �� �� ������� � ���������� ������������ ��� FreeBSD, ����������� �������� ���� HARDWARE.TXT; � ��� ���������� ������ ���������� �� ������������, ��������������� FreeBSD.


1.3. ���������� �� �������� ������

��������� � ������� �� �������������� � FreeBSD/amd64.


1.4. ��������� FreeBSD � CDROM ��� ����� ��������

����� ����� ��������� ��������� � CDROM. ���� � ��� ���� �������������� ������ CDROM � ������������ CD FreeBSD, ���������� ��� ������� ��������� � ����:

  • ���� ���� ������� ������������ �������� ``CDBOOT'' ����������� CDROM � �������� � CD ��������, ������ ��������� ������������ CD FreeBSD � ������ � ��������� ������� ��� ������ ���������.

  • �������� ����� ����������� ������ FreeBSD �� �������� floppies/ ������������ FreeBSD. �������� ����. 1.3 � ����� ��������� ����������� �� �������� ����������� ������ ��� ���������� ������������� ���������. ����� ������ ����������� � ������ �������, � ������ �������� ��������� FreeBSD.




1.5. ��������� ���������� �� ��������� ����� ���������

��� ������ �������� ������ ����� ��������� ���������, �� ������� ��������� ��������� ���� ���� ���������. ���� �� ������� ������ �� ������������ ��������� ��������� FreeBSD, �� ������ ����� �������� ��������� ������������ �� ������� Documentation, ��� � ����� ���������� ``Usage'' �� ������� ����.

���������: ���� �� ����������� � �������������, ������� ������� F1 ��� ������ ������ ������������, ����������� � ����� �������.

���� �� ������� ������ �� ������������� FreeBSD, ��� ���� ���� �������������, ������������� �������� ��������� �������� ``Standard'', ��������� �� ����������� ���������� ���� �������� ������ ������� ���������. ���� �� ������ ������� � ��������� ��������� FreeBSD � ����� ������, ��� ����� ������, ����������� ��������� ``Express'' ��� ``Custom''. ���� �� ���������� ������������ �������, ����������� �������� ``Upgrade''.

��������� ��������� FreeBSD ������������ ���������������� ������������� ������, �������� DOS, NFS, UFS, ���� � CDROM � �������� �������������� ���������; ���������� ���������� �� ��������� � ������� �� ���� ��������� ��������� ����.


1.5.1. ��������� � CDROM �� ����

���� �� ������ ������ ���������� ������� � ���������� ������� CDROM, �������� ����. 1.4. ���� � ����� ������� ��� ������� CDROM � �� ������ ������������ CDROM �� ������ �������, � ������� � ��� ���� ����������� �� ����, ���������� ��������� �������� ����� ������� ���:

  • ���� � ��� ���� ����������� ��������� FreeBSD ����� FTP ��������������� � CDROM �� ������ ���������� FreeBSD, ��� ����� ������: ���������, ��� FTP ������ �������� � �������� ��������� ������ � ���� ������� (��������� vipw(8)):

    ftp:*:99:99::0:0:FTP:/cdrom:/sbin/nologin
    

    �� ����������, ��� �� ����������� ���������, ��������� � ���� Options � ���������� ��� ������ � any. ����� �� ������ ������� ��� �������� FTP, ftp://machine ����� ������ ``URL'' � ���� ftp ������.

    ��������: ��� �������� ������ � ��������� ���� (��� ��������) ��������� ``���������'' FTP ���������� � ���� �����������, ��� ����� ���� ������������.

  • ���� ������ ����� �� ������ ������������ NFS ��� ����������������� �������� ����������� CDROM �� ���������, � �������� ����� ������� ���������, ������� ����������� �������� ������ � ���� /etc/exports (�� ����������, ��� ��������� ������ CDROM). ������ ���� ��������� ���������� ziggy.foo.com ������������ CDROM �� ����� ��������� ��������������� ����� NFS:

    /cdrom          -ro             ziggy.foo.com
    

    �������, ��������� � CDROM ������ ���� ����� �������� � �������� NFS �������, � ���� �� �� ������� ��� ������� ���, NFS �������� �� ������ ����� ��� ���, ���� �� �� �������� rc.conf(5) � �� ��������� ��� ���������. �����������, ��� ��� ����� ������ ���������, �� ������ ������: cdrom-host:/cdrom � �������� ���� � NFS ����������, ��� ��������� �����������, �������� wiggy:/cdrom.


1.5.2. ��������� � ������

���� ��� ���������� ��������� ��������� � ������, ��� ��-�� ����������������� ������������, ��� ������, ��� ��� �������� ������ ��� ������� ��������, ���������� ������� ����������� �������.

������� ����������� �������, ��� ������� � ����. 1.3.

�����, ����������� �������� ����. 2 � �������� ������ �������� �� ������ ``Distribution Format'', ��������� �� ��������� �����, ������� ���������� ��������� �� ������� � ��, ������� �� ������ ����������.

����� ��� �����������, ��� �������, ������� 1.44MB ������, ������� ���������� ��� �������� ���� ������ �� �������� bin (binary distribution). ���� �� ��������������� ��� ������� ��� DOS, ��� ������ ���� ��������������� � �������������� ������� MS-DOS FORMAT. ���� �� ����������� Windows, �������������� �������� format �� Windows File Manager.

�����: �������� ����� ������������ ��� ������������������. ���� ��� ������, ������ ��������, � ������� �������� ������������, ����� �������� ������������� ����������� ����������������� ���������. ���������������� �� ��������������, ������ ��� �����������.

���� �� �������� ������� �� ������ ���������� � FreeBSD, �������������� ��� ��� ����� �������������, ���� ��� ������������� ��������� �������� ������� DOS �� ������ �������. �� ������ ������������ ������� disklabel(8) newfs(8) ��� �������� �� �������� �������� ������� UFS, ��� ����������������� � ��������� ������������������ ������:

# fdformat -f 1440 fd0
# disklabel -w fd0 floppy3
# newfs -i 65536 /dev/fd0

����� �������������� ������ ��� DOS ��� UFS, ��� ����������� ����������� �� ��� �����. ����� ������������ ��������� �� ����� ������ �������, ����� �� ������ ������� ��������� ���� ����. ������ �������������� ����� ������ ������������� �� ������� � ����� ����������� ��������, �.�.: a:\bin\bin.inf, a:\bin\bin.aa, a:\bin\bin.ab, ...

�����: ���� bin.inf ����� ���������� ��������� �� ������ ������� ������ bin, ��������� �� �������� ���������� ��������� ��� ����������� ���������� �������������� ������, ������� ���������� ���������� � �������������� �����. ��� ��������� �������������� ������� �� �������, ���� distname.inf ������ ���������� �� ������ ������� ������� ��������������� ������.

��� ������ � ��������� ��������� �������� ����� Media, �������� ``Floppy'' � ����������� ���������.


1.5.3. ��������� � ������� DOS

��� ���������� � ��������� � ������� MS-DOS �� ������ ������ ����������� ����� �� ������������ � ������� FREEBSD �� �������� ������� DOS (C:). ��������, ��� ���������� ����������� ��������� FreeBSD � ������� DOS, ��������� �����, ������������� � CDROM, �� ������ ������� �������� ���������:

C:\> MD C:\FREEBSD
C:\> XCOPY /S E:\BASE C:\FREEBSD\BASE

��������������, ��� �� E: ����������� CD.

��� ���� �������������� �������, ������� �� ������ ���������� � ������� DOS (� ��� ������� � ��� ���� ��������� �����), ��������� ����������� � ������� C:\FREEBSD -- ���������� ����������� ����� ��� BIN.

��� ������ �� ����������� ��������, ������ ��������� ��������� � ������ ��� ������ � �������� ``DOS'' � �������� �������� ����� ������ �����.


1.5.4. ��������� � QIC/SCSI �����

��� ��������� � �����, ��������� ��������� ������������, ��� ����� �������� �� ��� � ������� tar(1), ������� ����� �������� ���� ������ �������������� �������, ������� ��� �����, ����������� tar ��� ��������� �� �� ����� � ������� �������� ����� �������:

# cd /where/you/have/your/dists
# tar cvf /dev/sa0 dist1 .. dist2

��� ��������� �� ����� ������ ���������, ��� ��������� ���������� ����� �� ��������� �������� (������� ��� ����� ���������� �������) ��� ��������� ������� ����������� ��������� �����. � ����� � �������������� ������������� ������� � ����������� �����, ���� ����� ��������� ������� ����� �� ��������� ���������. �������� ������� �����, ������� ����������� ��� ���������� �������������� �������, ���������� �� �����.

���������: ��� ��������� ����� ������ ���� �������� � ������ �� �������� � ������. ����� ��������� ��������� ����� �� ����� �� �� ����� ������������ ���������.

������ �������� ����������� �������, ��� ������� � ����. 1.3 � ����������� � ���������.


1.5.5. ��������� �� ���� ����� FTP ��� NFS

����� �������� ����������� ������, ��� ������� � ������ �������, �� ������ ��������� ��������� ����� �� ����, ��������� 3 ���� ����������: ���������������� ����, ������������ ���� ��� Ethernet.


1.5.5.1. ���������������� ����

��������� SLIP �������� ����������, � ���������� � �������� ����������� ������������, ������ ��� ���������������� ������ ����� ����� ������������. ���������� ������ ���� ����������, ��������� ��������� SLIP �� ������ ������ �� ������������� ����������� �������. ���� ��� ��������� ������ �� ������ ��� ���� ������ ���������� ���������� ����� ��� ����������, ����������� PPP.

��� ������������� PPP, ���������, ��� � ��� ���� IP ����� ���������� � �������� � DNS, ��� ��� ��� ����������� �� ������ ������ �������� ���������. ��� ����� ����� ������������� ����� ����������� IP �����, ��������� PPP ������������ ������������ ������������ ������� � ����� �������� ��� ���������� ��������������� �� ����������, ���� �� ������������� ����� �����������.

��� ����� ����� ������������ �������� �� ������������� ��������� ``AT ������'' ����� ������ ������, ��������� ��������� ������� PPP ������������� ������ ����� ������� �������� ���������.


1.5.5.2. ������������ ����

���� �������� ���������� ����������� � ������� ���������� FreeBSD ��� Linux, �� ������ ����� �������� ��������� ����� ������������ ``laplink'' ������. �������� �������� ������ ����� ������������ ���� ������� ����, ��� ��� ������ �������� ����� ���������������� ����� (�� 50�/���), � ���������� ��������� �������� �������. ������ �� ��������� ������������ ``���������'' IP ����� ��� PPP ���������� ����� �������� � �� ������ ������������ ������ RFC 1918 ��� ������ ���������� (�������� 10.0.0.1, 10.0.0.2, � �.�.).

�����: ���� �� ����������� ��������� � Linux, � �� � FreeBSD � �������� ��������� ������� PLIP, ����������� ����� ������� link0 � ���� ��������� TCP/IP, ���� ``extra options for ifconfig'', ��� ����������� ������������� � ��������� ����� ������������� PLIP ���������� Linux.


1.5.5.3. Ethernet

FreeBSD ������������ ����������� ������ ���������������� ���� Ethernet; ������� ����������� ���� �������� ������ ���������� �� ������������ (HARDWARE.TXT � ���� Documentation �� ����������� ������� ��� � �������� �������� CDROM). ���� �� ����������� ���� �� �������������� PCMCIA Ethernet ����, ��������� �����, ��� ��� ���������� �� ��������� �������. � ���������, FreeBSD �� ������������ ����������� PCMCIA ���� ``�� ����'' �� ����� ���������.

��� ����� ����������� ������ ��� IP ����� � ����, ������� ����� ��� ����� �������, � ��� ������ ����������. ��� ��������� ������������� ����� ���������� ���, ����� �������� �������� ��� ������ ���������. ���� �� ������ ���������� � ������ ������ �� ����� ������ IP ������, ��� ����� ����������� ������ ���� � �������� ����� ����� (���� �� ����������� PPP, ��� IP ����� ������ ����������). ���� �� ������ ��������� ��������� � FTP ����� HTTP ������ (��. ����), ����������� ����� ����� ������.

���� �� �� ������ ������ �� ��� �������, ��� �������� ����� ���������� � ��������� ��������������� ����� ������� ����� ���� ���������. ������������� ����������� ���������� IP ������� ��� ������� ���� � ����������� ���� ����� ��������� �� ����� �������� � �������� ��� �������� ��������� ������ �� ������������� ���������� ��������������.

��� ������ �� ��������� �����-���� ��� �������� �����������, ��������� ����� ���� ���������� ����� NFS ��� FTP.


1.5.5.4. ������ �� ��������� ����� NFS

��������� ����� NFS �������� ������: ���������� ����������� ����� ������������ FreeBSD ����-���� �� ������ � ������� �� ��� ��� ������ NFS ���� ��������.

���� ���� ������ ������������ ������ ������ ����� ``����������������� �����'' (������ ��� ����� �� ��������� ��� ������� ������� Sun � Linux), ��� ����� ������������� ���������� ��������������� �������� � ���� Options ����� ������� ���������.

���� ���� Ethernet ����� ������� �������� � �������� �������� ������ ����� �����, �� �������� ����� �������� ���������� ��������������� ���� � Options.

��� ��������� ����� NFS, ������ ����� ������ ������������ ``subdir mounts'', �.�. ���� ������� ������ ������������ FreeBSD ��������� � wiggy:/usr/archive/stuff/FreeBSD, wiggy ������ ��������� ���������������� ������������ /usr/archive/stuff/FreeBSD, � �� ������ /usr ��� /usr/archive/stuff.

� ����� FreeBSD /etc/exports ��� ��������� ����������� ���������� -alldirs. ������ ������� NFS ����� ����� ������ ����������. ���� �� ��������� ��������� ������� Permission Denied, ������ ����� ��� ����������� �� ��������.


1.5.5.5. ������ �� ��������� ����� FTP

FTP ��������� ����� ���� ��������� � ������ �������������� �������, ����������� ������ ������ FreeBSD. ������ ������, ����������� ������� ������� ����� ��� ������ ������� ����, ���������� �� ����� ��������� ����� FTP.

���� �� ���������� ��������� � FTP �����, �� ��������� � ���� ������, ��� ���������� �������� � ���������� ������� ����, �� ������ ����� ������ ����������� URL ����� ������ ``URL'' � ���� ����. URL ����� ��������� ��� ����� ��� IP �����, ��� ��� ��� ���������� ������� ���� �������� URL ����� �����:

ftp://216.66.64.162/pub/FreeBSD/releases/amd64/4.2-RELEASE

���������� ��� ���� FTP ���������, ������� �� ������ ������������:

  • FTP: ���� ����� ���������� ����������� ``��������'' ����� �������� ������, � ������� ������ ������������� ���������� � ��������. ���� ����� �� ����� �������� ����� ����������� ������������, �� �������� ����� �������� �� ������� FTP ���������, ������� �� ������������ ��������� �����. ���� ���������� ���������� � ��������� ������, ���������� ���� �����.

  • FTP Passive: ������������� ``���������'' �����, ������� �� ��������� ������� ������������� ���������� � ��������. ���� �������� ������� �������� �������������, ����������� �� �������������, ������� �� ��������� �������� ���������� �� ������������ ������� ������.

  • FTP ����� HTTP ������: ���� �������� ��������� FreeBSD ������������ HTTP ��� ���������� ����� ������ ���� FTP ��������. ������ ����� ������������� ������� � ���������� �� ������� FTP. ��� ��������� ������������ ��������� ����� �����������, ������� ������ �� ��������� ������������� FTP, �� ������������� HTTP ������. �� ������ ������� ��� ����� ������ � ���������� � FTP �������.

    � ������ �������, ����� FTP ������ �� �������� ����� HTTP, �� ������ ������� URL �������� ���:

    ftp://foo.bar.com:port/pub/FreeBSD
    

    � URL ����, port ��� ����� ����� FTP ������ �������.




1.5.6. ������ ��� ���������������� �������

���� �� ������������� ������������� FreeBSD �� ���������, ������������ ������ ���������������� ���� (�.�. �� ������� VGA �����), �������� ������ ����������:

  1. ���������� ����� ANSI (vt100) ����������� �������� ��� ��������� �������� ��������� � COM1 ����� PC, �� ������� �� �������������� FreeBSD.

  2. ��������� ���������� (��, ��� ���������!) � ���������� ����������� � ������� ��� ��������������� CDROM, � ����������� �� ���� ���������� ��������������� ��������, � ����������� �����������.

  3. ���� �� �� ������ ������ �� ���������������� �������, ���������� ���������� �����. ���� �� ������������ � CDROM, ��������� ��� 5 ����� ��������� ��������.

  4. ��� �������� � ������, ����� ��������� ������ � ����� �������� ������ ���� kernX.flp � ������� Enter. ����� ��������� ������ � ����� �������� ��������� ���� kernX.flp � ������� Enter, � ��� ����� ��� ���� ������ kernX.flp. ����� �������� ����������, �������� ����� boot.flp � ������� Enter.

  5. ����� ��������� ������� ������� ����� 6, ����� �������

    boot -h
    

    � ������ ���������� ������ ���������� � ���������������� ����. ���� ��� ��� ��� �� ��������, ��������� ���������������� ������ � ��������� ��������� �������� ��������� ��� ������������� ����������. ��� ������ ���� �������� �� 9600 ����, 8 ���, ��� �������� ��������.


1.6. ������� � ������ ��� ������������� AMD64

1.6.1. ��������! � ���� ��� �����! ����� �� ������� ��� �������?
1.6.2. ���� � ������������ ������ �������� ������� DOS �� FreeBSD?
1.6.3. ���� �� � ������������ ����������� ������� DOS?
1.6.4. ���� �� � ��������� ����������� ����� DOS � FreeBSD?
1.6.5. ���� �� � ��������� � FreeBSD ���������� Microsoft® Windows®?
1.6.6. ���� �� � ��������� � FreeBSD ������ ������������ �������?

1.6.1. ��������! � ���� ��� �����! ����� �� ������� ��� �������?

���� �� ����� ���������� ��� ����������� DOS � ��� ��������� FreeBSD ��� ��� ������������ �����, ��� �� ��� ��������! ��� ����� ������ ������� FIPS, ����������� � �������� tools/ FreeBSD CDROM ��� �� ��������� ftp ������ FreeBSD.

FIPS ��������� ��� ��������� ������������ ������������ DOS �� ��� �����, �������� ��������� ������ � ����� ��������� ��������� �� ������ ��������� �����. ������� ���������� ��������� �������������� ������� DOS, ��������� ������� DEFRAG �� DOS 6.xx ��� Norton Disk Tools, ����� ��������� FIPS. �� �������� ��� ����������� ����������. ����� �� ������ ������������� � ���������� FreeBSD � ����� ������. ������ �����, ��� FIPS ������� ������ ������ ��� ``����'' �������, ��������� ��� �������� ������� DOS. �� ����������! �� ������ ������ ������� ������ ��������� ������ DOS (����������, ��� ��� ������ ��� ������, �������� ��� ������).

FIPS � ��������� ����� �� �������� � ��������� NTFS. ��� ������ � ������ ��������� ��� ����������� ������������ �������, ����� ��� Partition Magic. ��� ���������� ��������� ������ � ��� ������, ���� ������ Windows �������� ���� ���� � �� �� ������ ��������� ��������� � ����.

FIPS �� �������� � ������������ ��������� DOS. �������������� �������� ������� Windows 95/98/ME FAT32.

1.6.2. ���� � ������������ ������ �������� ������� DOS �� FreeBSD?

���. ���� �� ����������� ����� ������� ��� Stacker(tm) ��� DoubleSpace(tm), FreeBSD ������ ������������ ������ �� ����� �������� �������, ������� �� �������� ��������. ��������� ����� �������� ������� ����� �������� � ���� ������ �������� ����� (���� stacked/dblspaced!). �� �������� ���� ����!

�������� ����� ������� ������ �������� ����������� DOS ������ � ������������ ��� ��� �������� ������ ����� DOS � FreeBSD, ���� ��� ���������.

1.6.3. ���� �� � ������������ ����������� ������� DOS?

��. ����������� ������� DOS ��������� ����� ������ ``�������'' FreeBSD, �.�. D: ����� ����� /dev/da0s5, E: -- /dev/da0s6 � �.�. � ���� ������� ��������������, ��� ����������� ������ ��������� �� ����� SCSI 0. ��� ������ IDE �������� da �� ad ��������������. ����� �������, ����������� ������� ����������� ��� ��, ��� � ����� ������ DOS �����, �.�.:

# mount -t msdos /dev/da0s5 /dos_d

1.6.4. ���� �� � ��������� ����������� ����� DOS � FreeBSD?

���� ��� ������� ��������� ������ ����, �� ������ ������� ����� ������� ������� doscmd(1), ������ ��� ������� ������������. ����/����� emulators/doscmd ����� ����� � ��������� ������ FreeBSD. ���� �� �������������� � ������ ��� ���� ��������, ��������� ������ � ������ ��������, �����ݣ���� �������� �� FreeBSD � �������, ��� �� �������������� � ���� �������������� ������!

����/����� emulators/pcemu � ��������� ������ FreeBSD ��������� 8088 � BIOS ������� ��� ������� ��������� ���������� DOS. ��� ������ ��� ��������� X Window System (XFree86).

1.6.5. ���� �� � ��������� � FreeBSD ���������� Microsoft® Windows®?

���������� ��������� ������/������� � ��������� ������ FreeBSD, ������� ����� ������� ��������� ������������� ������ ���������� Windows. ����/����� emulators/wine ������������� ������� ������������� ��� FreeBSD, ������� ��������� ������ Windows ����������� �������� � X Windows (XFree86).

1.6.6. ���� �� � ��������� � FreeBSD ������ ������������ �������?

� ��������� ������ ��������� ��������� ������/�������, ������� ��������� ``����������� ������'' � ��������� ������ ������������ �������� �������� ������ FreeBSD. ����/����� emulators/bochs ��������� Microsoft Windows, Linux � ���� ������ ������ FreeBSD �������� ������ ���� �������� ����� FreeBSD. �����/������ emulators/vmware2emulators/vmware3 ��������� ��������� � FreeBSD ������������ ����������� ������ VMware.


2. ���������� ������������

�������� ������� ������������ FreeBSD �������� �������� ��� (������ ����� ���������� � ����������� �� ������, �����������, � ������ ��������):

ERRATA.HTM      README.TXT      compat1x        dict            kernel
ERRATA.TXT      RELNOTES.HTM    compat20        doc             manpages
HARDWARE.HTM    RELNOTES.TXT    compat21        docbook.css     packages
HARDWARE.TXT    base            compat22        filename.txt    ports
INSTALL.HTM     boot            compat3x        floppies        proflibs
INSTALL.TXT     catpages        compat4x        games           src
README.HTM      cdrom.inf       crypto          info            tools

�� �� ����� ��������� �� ������ ����� ��������������� ������, �� ����������� ��� ������� ��-�������. ��� ����������� ���������� �� ����� � ���������� ��������� ����� ``live filesystem''. ��� ������� ��� �������������� ��� ������� ������� � ������������ ���������� FreeBSD (���������� � ����. 4 �� ������������ �� �� �������������).

������� floppies ������������ ������������ ������� ��� �������������, ������� �� ����� ��������� �������� � �������-����� (�� ����� ��������� ��� ����������. �������� ������� ����� 1.44�� ����������� ������, ���������������� ��������� floppies (��. ����. 1.3), � ������������ �� ��� ������� ��������� � CDROM, FTP, ��� NFS. ��������� �����, ����������� ��� ���������, ����� �������� ������������� �� ������ ������ ������. ���� �� ������� ������ �� ������������� FreeBSD, ����������� ����� ��������� ��������� ���� �������� (���� ���������� �� ���������).

���� �� ������ ��������� ��������� ������� ����, ��� ������ ������ ������ �� ����������� ������������, ��� ������� ������������� ����� ��������� ����������:

  1. ����� *.TXT*.HTM �������� ������������ (��������, ���� �������� ��������� � INSTALL.TXTINSTALL.HTM), �� ���������� �������� ����� ������� ���������. ����� *.TXT ��� ������� �����, � ����� *.HTM ��� HTML �����, ������� ����� ���� ����������� ����������� ����� ��� ���������. ��������� ������������ ����� ����� ��������� ������������ � ������ ��������, ����� ��� PDF ��� PostScript.

  2. docbook.css ��� ���� Cascading Style Sheet (CSS), ������������ ���������� ��� ���������� ��� �������������� HTML ������������.

  3. �������� base, catpages, crypto, dict, doc, games, info, manpages, proflibs, � src �������� �������� ���������� ������������ FreeBSD � ��������� �� ��������� �����, ������� ����� ����������� �� ������� (���� ��� �����������).

  4. �������� compat1x, compat20, compat21, compat22, compat3x, � compat4x �������� �������������� ������ ������������� �� ������� �������� � ��������� � ��������� ����������� gzip tar ������ -- ��� ����� ���� ����������� �� ����� ��������� ������ ��� ����� ����� ������� ��������������� �������� install.sh.

  5. � �������� floppies/ ��������� ������ ����������� ������; ���������� ���������� �� �� ������������� ���� � ����. 1.3.

  6. �������� packagesports �������� ��������� ������� � ������ FreeBSD. ������ ����� ���� ����������� �� �������� packages ��������� ��������:

    #/stand/sysinstall configPackages
    

    ������ ����� ����� ���� ����������� ����� ������� ��������� ���� ������� � �������� packages/ ������� pkg_add(1).

    ��������� ������ ����� ���� ����������� ��� ����� ������ �������������� ����� � ������� ����� 190MB �����. ���������� ���������� �� ��������� ������ ����� ���� �������� � http://www.FreeBSD.org/ru/ports/ ��� �������� �� /usr/share/doc/handbook ���� �� ���������� �������������� ����� doc.

  7. �������, ������� tools �������� ��������� ������� DOS ��� ����������� ��������� �����, ��������� ����������� ���������� � �.�. ��� ������� ����������� � ��������������� ������ ��� �������� �������������.



�������� �������������� ������� (��������, info) ������� �������� �������� ���:

CHECKSUM.MD5    info.ab         info.ad         info.inf        install.sh
info.aa         info.ac         info.ae         info.mtree

���� CHECKSUM.MD5 �������� ����������� ����� MD5 ��� ������� �����, ������� �������� ���������� �� ��������� �� ����. �� �� ������������ ���������� ��������� � ��� �� ��������� ���������� ������ � ���������� ������� ������. ����� info.a* ��� ����� ������������ gzip tar �����, ���������� �������� ����� ���� ����������� ���:

# cat info.a* | tar tvzf -

�� ����� ��������� ��� ����� ������������� ������������ � ����������� ���������� ���������.

���� info.inf ����� ���������, ��������� �� �������� ���������� ��������� ��� ����������� ����� ������, ������� ���������� ���������� � �������������� �����. ��� ��������� �������������� ������� �� �������, ���� .inf ������ ���� ������� �� ������ ������� ������� ��������������� ������!

���� info.mtree ��� ��� ���� ��-����������� ����, ��������������� ��� ����������. �� �������� ����������� ����� MD5 ��� ������������� �������������� ������ � � ���������� ����� �������������� ���������� mtree(8) ��� �������� ���������� ��������� ������. ������������� ����� ����� �� ������ base ��� ������� ������ ����������� ��������� ���� �� ���� �������.

�������, install.sh ������������ ��� ���, ��� ����� ���������� �������������� ����� ����� ��������� �������. ��������, ��� ��������� ������ info � CDROM ����� ��������� �������, �� ������ ���������:

# cd /cdrom/info
# sh install.sh

3. ���������� FreeBSD

��� ���������� ��������� ��������� ��������� ���������� � ���������� ������ FreeBSD.

��������: ���� ��������� ���������� FreeBSD ������������� ��� ���� ��� �������������� ������ ������, ��� ��� ����� ��� �������� �������� ��� ���������� �������� ����� �� ����� ����������! ����������, �� ������������� ��������� ��� ������� ��������� ����� ���� ������ ������.

�����: ����� ��������������, ��� �� ����������� sysinstall(8), ������������ � ��� ������� FreeBSD, �� ������� �� ������ ����������. ������������� ������ ������ sysinstall(8) ��� ����� �������� ������������� �������, ������� ����� ��������� � ����������������� ���������. �������� ����� ����������� � ���� ������ ������ -- ��� ������������� ������ ����� sysinstall(8) �� ������������ ������� ��� ���������� FreeBSD �� ����� ������. ��� �� �������������.

��������: �������� ���������� �� FreeBSD 5.4-RELEASE � FreeBSD 4-STABLE �� ������ ������ �� ��������������. � FreeBSD 4-STABLE ���� ��������� ������, ������� ������� ����� ���� �������������, �� ��� �� ��������� �������� �����������. ���� ��������� ������ ��� ������ ������� /usr/include/g++, ������� �������� �������� ������������ ���������� C++ �������� (��� ��� �� ������������� ������).

��� ���������� �� ���������� ��������������� ��� �������������, ������������� � ������������ ������ FreeBSD 5-STABLE ���������.


3.1. ��������

��������� ���������� �������� ��������� ������������� �������������� ������ �� ������ �� ������ ������ FreeBSD. ��� ��������� ����� ��������� �������, ��� � ������ ������������, ������������� ������ � ������ ����������� �����������.

���������������, ����������� ����������, ������������ ������� ���� ������ ��������� ����� ������� ����������.


3.1.1. ����� ����������

���������� ������������ ������������ ����� ���������� ����� ������ ����������� ������ ���������� ������. �����, ������������� ������� ������������, �� ���������.

��������� ������� ����������� ����� ���������� � �������������� ���������� ������ ��������� ������:

Xaccel.ini, XF86Config, adduser.conf, aliases, aliases.db, amd.map, crontab, csh.cshrc, csh.login, csh.logout, cvsupfile, dhclient.conf, disktab, dm.conf, dumpdates, exports, fbtab, fstab, ftpusers, gettytab, gnats, group, hosts, hosts.allow, hosts.equiv, hosts.lpd, inetd.conf, localtime, login.access, login.conf, mail, mail.rc, make.conf, manpath.config, master.passwd, motd, namedb, networks, newsyslog.conf, nsmb.conf, nsswitch.conf, pam.conf, passwd, periodic, ppp, printcap, profile, pwd.db, rc.conf, rc.conf.local, rc.firewall, rc.local, remote, resolv.conf, rmt, sendmail.cf, sendmail.cw, services, shells, skeykeys, spwd.db, ssh, syslog.conf, ttys, uucp

������ ���� ������, ��������������� ����� ������ �������, ������������ � /etc/upgrade/. ��������� ������������� ����� ���������� ��� ������ ���� ���������. �������� ��������, ��� ������ �� ���� ������ ������� ��������, � ������ ��������� ����������� -- ��� ����������� ����������� ������ �� ������ ������ ������ � �����.

�� ����� ��������� ���������� � �������������� ������������� ����� ��� ���������� ������ �� /etc/. ���� � ������������ ����� ����� ������� ���������, ��� ����� ���� ��������������� ������������� �� ����� ��������.


3.2. ���������

���� ������ ��������� ������ ��������� ����������. ������ �������� ������� ��������, ������� ����������� ���������� �� ������� ���������.


3.2.1. ��������� �����������

������ ������������� � ��������� ������� ������ ���� ��������� ����� �����������. ���� ��������� ���������� ������ ��� ��� �������������� ��������� ������, �������� ��������� ��� ������ ����������� ������ � ����������� ����������.


3.2.2. ������������ �������� ������

����������� �������� �������� �������� �� ������� ��������� ��������� �������� ������. ����� ������� ���������� ������������� ������ �������� �������� ����� ��������� � ��������������� ����� ������������. ��� ����� ������������ ������ ���� ������� �����. �� �������������� ``newfs flag'' ��� �������� ������, ��������� ��� �������� � ������ ������.


3.2.3. ����� �������������� �������

�� ����� �������������� ������� �� ������������� �����������. ����� ������� ������� � ���, ��� ��� ���������� ������ ���� ������ �������������� ����� base, � man ���� �������� ����������� ��� �����������. ������ �������������� ������ ����� ���� �����, ���� ������������� ������� �������� �������������� �����������.


3.2.4. ����� ���������

����� ���������� ��������� ��������� �������������� ������������ ��������� ����� ����� ���������. � ���� ������ ������ ���� ��������� �������� ������������ �������� �������. � ���������, ���������� ��������� ����� /etc/rc.conf/etc/fstab.


3.3. ���������� �� �������� �������

��� ���, ��� ������������ ����� ������ � ``����������������'' ������� ����������, ���������� ����� ����������� FreeBSD �� �������� ���� ����������. ��� ��������� ��������� � ���������� FreeBSD �� �������� �������. ��� ������� �������� �������� �����������, ���������� ����� �� ����� � �������, �� ����� ������������ ��� ������� � ������ ����� ������� ����������. ��� �� �� ���������, ��� ������������ ��� ������������ ������ ���������� -STABLE ��� -CURRENT.

/usr/src/UPDATING �������� ������ ���������� �� ���������� ������� FreeBSD �� �������� �������. � ��� �������� ��������� �������, ����������� � ���������� � FreeBSD, ������� ����� �������� �� ����������.


4. ������� �������

4.1. �������������� ������������ ��������� FreeBSD

FreeBSD ������������� ����� ``fixit'' � ������� ���� ��������� ��������� sysinstall(8). ����� ��������� ��������� ������, �� ������� �������� �������� ��������� ������� ������� FreeBSD; ��� ����� ������� ��� �������������� ��� ������� ������� ������������ ��������� FreeBSD. ��� ������������� ������ fixit ��� ����������� ���� ������� fixit.flp, ��������� ����� �� �������, ��� � ����������� �������, ��� �������-���� � ``live filesystem''. � ������������� ������� FreeBSD, ����� live filesystem ������ ��������� �� ����� � ����������. �������� ��������, ��� ��� ������������� ������ fixit ��������� ��������� ���� ���������� ����������������� UNIX.

���� ��� ����������� ������� ����� � ����� fixit. ������������, ������� ����� ����������� � ������������� �������-����� FreeBSD, ����� ��������������� ������� ``fixit'' �� �������� ���� sysinstall(8). ����� ����� ������� ����� ����� ���� ``CDROM/DVD''.

�������������, ������� �� ����� ����������� � �������-�����, �� ����� ����������� � ������, ����������� ��������� ��������� ������ �����. � ���������� � �������� boot.flpkernX.flp, ����������� ��� ���������, �������� ������� fixit.flp, ��� �� ��������, ��� � ������ �������. �������� ����������� �� �������� ��������� ��������� � ������ �� ������� ����� � ���� sysinstall(8). ����� ����� �������� ����� ``fixit'' �� �������� ���� sysinstall(8). ����� �������� ����� ``Floppy'' � �������� ������� fixit.flp, ����� �������� ��������������� �����������.

���������� �������-����� � ������� ������, �� �� ���������. � ����� ������� ��������������� ��������� ������ � ������� ������ ��� ��������, �������������� �������� ������ � �� �����������. ������ �� �������-����� ������������� ����������� live filesystem ���� ����� ������ � ��������, ��������� � ������� ������� FreeBSD. �� ������� ��������� ������������ ����� ������, ���������� ����������� �� ������.

� ������ �� �������, ��������� ������� ����� ���������� � �������� /stand, ��� /mnt2/stand. � ������ �� ������� �����, �� �� ��������� ����� ���������� � �������� /stand ��� /mnt2/rescue (������ � ������� ����������� �� live filesystem, ������� ����������� � /mnt).


���� ���� � ������ ���������, ����������� � ������ ������ FreeBSD, ����� ���� ������� �� ������ ftp://ftp.FreeBSD.org/.

���� � ��� ������ ������, ���������� FreeBSD, �������� ������������, ������ ��� �������� ������ � <[email protected]>.

���� ������������� FreeBSD 5-STABLE ������������� ����������� �� ������ �������� <[email protected]>.

�������, ���������� ����� ���������, �� ������ ��������� �� ������ <[email protected]>.