1、使用之前必須配置好網絡。
2、第一步鏈接ftp,freebsd># ftp -a ftp2.FreeBSD.org
Connected to ftp2.FreeBSD.org.
220 ftp2.FreeBSD.org FTP server (Version 6.00LS) ready.
331 Guest login ok, send your email address as password.
230-
230- This machine is in Vienna, VA, USA, hosted by Verio.
230- Questions? E-mail [email protected].
230-
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
3、ftp> cd /pub/FreeBSD/ports/i386/packages-8.2-release/linux
250 CWD command successful.
4、ftp> get linux_base-f10-10_3.tbz
local: linux_base-f10-10_3.tbz remote: linux_base-f10-10_3.tbz
200 PORT command successful.
150 Opening BINARY mode data connection for 'linux_base-f10-10_3.tbz' (92375 bytes).
100% |**************************************************| 92375 00:00 ETA
226 Transfer complete.
92375 bytes received in 5.60 seconds (16.11 KB/s)
5、ftp> exit
6、安裝# pkg_add linux_base-f10-10_3.tbz。
7、在配置文件rc.conf中增加:linux_enalbe="YES".