┌---------------┤FreeBSD Documentation Installation├---------------┐
│ This menu allows you to install the whole documentation set from │
│ the FreeBSD Documentation Project: Handbook, FAQ, and articles. │
│ │
│ Please select the language versions you wish to install. At │
│ minimum, you should install the English version, the original │
│ version of the documentation. │
│ ┌--------------------------------------------------------------┐ │
│ │ [ ] bn Bengali Documentation │ │
│ │ [ ] da Danish Documentation │ │
│ │ [ ] de German Documentation │ │
│ │ [ ] el Greek Documentation │ │
│ │ [X] en English Documentation (recommended) │ │
│ │ [ ] es Spanish Documentation │ │
│ │ [ ] fr French Documentation │ │
│ │ [ ] hu Hungarian Documentation │ │
│ │ [ ] id Indonesian Documentation │ │
│ │ [ ] it Italian Documentation │ │
│ │ [ ] ja Japanese Documentation │ │
│ │ [ ] ko Korean Documentation │ │
│ │ [ ] mn Mongolian Documentation │ │
│ │ [ ] nl Dutch Documentation │ │
│ │ [ ] pl Polish Documentation │ │
│ │ [ ] pt Portuguese Documentation │ │
│ │ [ ] ru Russian Documentation │ │
│ │ [ ] tr Turkish Documentation │ │
│ └-↓↓↓----------------------------------------------------- 90%-┘ │
├------------------------------------------------------------------┤
│ [ OK ] [Cancel] │
└----------------- Use arrows, SPACE, TAB or ENTER ----------------┘
没什么可说的,就是安装对应语言环境的文档。
注意,没有必要安装中文文档(无论繁简),均大幅落后于英文文档。
3 Packages 软件包
3 Packages 可设置 FreeBSD 软件包的安装方式。
┌-----------------------┤Choose Installation Media├-----------------------┐
│ FreeBSD can be installed from a variety of different installation │
│ media, ranging from floppies to an Internet FTP server. If you're │
│ installing FreeBSD from a supported CD/DVD drive then this is generally │
│ the best media to use if you have no overriding reason for using other │
│ media. │
│ ┌---------------------------------------------------------------------┐ │
│ │ 1 CD/DVD Install from a FreeBSD CD/DVD │ │
│ │ 2 HTTP Proxy Install from an FTP server through an HTTP proxy │ │
│ │ 3 HTTP Direct Install from an HTTP server │ │
│ │ 4 Directory Install from the existing filesystem │ │
│ │ 6 NFS Install over NFS │ │
│ │ 6 DOS Install from a DOS partition │ │
│ │ 7 UFS Install from a UFS partition │ │
│ │ 8 USB Install from a USB drive │ │
│ │ X Options View/Set various media options │ │
│ └---------------------------------------------------------------------┘ │
├-------------------------------------------------------------------------┤
│ [ OK ] [Cancel] [ Help ] │
└------ Choose Help for more information on the various media types ------┘
┌-------------┤Please select a FreeBSD HTTP distribution site├-------------┐
│ Please select the best suitable site for you or "other" if you want to │
│ specify a different choice. The "Main Site" directs users to the nearest │
│ project managed mirror via GeoDNS (they carry the full range of possible │
│ distributions and support both IPv4 and IPv6). All other sites are known │
│ as "Community Mirrors"; not every site listed here carries more than the │
│ base distribution kits. Select a site! │
│ ┌----------------------------------------------------------------------┐ │
│ │ pkg Main Site (GeoDNS) pkg.freebsd.org │ │
│ │ URL Specify some other http site by URL │ │
│ └----------------------------------------------------------------------┘ │
├--------------------------------------------------------------------------┤
│ [ OK ] [Cancel] │
└----------------------------- Select a site! ------------------------------
若选择“pkg Main Site (GeoDNS) pkg.freebsd.org”,将会还原到 FreeBSD 官方镜像站;
若选择“URL Specify some other http site by URL”:
┌------------------┤Package Selection├------------------┐
│ Please specify the URL of a FreeBSD distribution on a │
│ remote http site. │
│ A URL looks like this: http://<hostname>/<path> │
│ ┌---------------------------------------------------┐ │
│ │ │ │
│ └---------------------------------------------------┘ │
├-------------------------------------------------------┤
│ [ OK ] [Cancel] │
└-------------------------------------------------------┘
指定国内镜像站不起作用。
Options
----------┤Options Editor├-----------┐
│ ┌---------------------------------┐ │
│ │ NFS Secure NO │ │
│ │ NFS Slow NO │ │
│ │ NFS TCP NO │ │
│ │ NFS version 3 YES │ │
│ │ Debugging NO │ │
│ │ Yes to All NO │ │
│ │ DHCP NO │ │
│ │ IPv6 NO │ │
│ │ Editor /usr/bin/ee │ │
│ │ Release Name 15.0-CURRENT │ │
│ │ Media Type <not yet set> │ │
│ │ Media Timeout 300 │ │
│ │ Package Temp /var/tmp │ │
│ │ Re-scan Devices <*> │ │
│ │ Use Defaults [RESET!] │ │
│ └---------------------------------┘ │
├-------------------------------------┤
│ [ OK ] [ Done ] [ Help ] │
└---- Press arrows, TAB or ENTER -----┘
选项
说明
NFS Secure
NFS 安全
NFS Slow
NFS Slow,不知道是什么
NFS TCP
NFS TCP
NFS version 3
NFS 版本 3
Debugging
调试
Yes to All
全部选是
DHCP
DHCP
IPv6
IPv6
Editor
编辑器
Release Name
RELEASE 版本
Media Type
介质类型
Media Timeout
介质超时
Package Temp
软件包缓存
Re-scan Devices
重新扫描设备
Use Defaults
还原默认配置
4 Root Password root 密码
修改 root 密码用的。
输入的密码在屏幕上会显示为“***”这种类型。真是少见,居然这次有密码回显。
┌--------------------┤Root Password├-------------------┐
│ Enter New Password │
│ ┌--------------------------------------------------┐ │
│ │ │ │
│ └--------------------------------------------------┘ │
├------------------------------------------------------┤
│ [ OK ] [Cancel] │
└---- Use alpha-numeric, punctuation, TAB or ENTER ----┘
5 Disk Management 磁盘管理
┌--------------------┤Partition Editor├---------------┐
│ Create partitions for FreeBSD, F1 for help. │
│ No changes will be made until you select Finish. │
│ │
│ │
├-----------------------------------------------------┤
│ mmcsd0 116 GB GPT │
│ mmcsd0p1 260 MB efi │
│ mmcsd0p2 116 GB freebsd-zfs │
│ mmcsd0boot0 4.0 MB │
│ mmcsd0boot1 4.0 MB │
│ nda0 466 GB GPT │
│ nda0p1 277 MB efi │
│ nda0p2 200 GB ms-basic-data │
│ nda0p3 148 GB ms-basic-data │
│ nda0p4 85 GB ms-basic-data │
├---vvv----------------------------------------83%----┤
├-----------------------------------------------------┤
│[Create] [Delete] [Modify] [Revert] [ Auto ] [Finish]│
这个和 bsdinstall 中出现的分区管理是一致的。操作方法也一样。
6 Login/Group Management 登录管理/组管理
┌------┤Login/Group Management├------┐
│ ┌--------------------------------┐ │
│ │ X Exit │ │
│ │ 1 Add Login │ │
│ │ 2 Edit/View Login │ │
│ │ 3 Delete Login │ │
│ │ - - │ │
│ │ 4 Add Group │ │
│ │ 5 Edit/View Group │ │
│ │ 6 Delete Group │ │
│ └--------------------------------┘ │
├------------------------------------┤
│ [ OK ] [Cancel] [ Help ] │
└---- Press arrows, TAB or ENTER ----┘
操作
说明
X Exit
退出
Add Login
添加登录
Edit/View Login
编辑登录用户/查看登录用户
Delete Login
删除登录用户
- -
分隔符
Add Group
添加组
Edit/View Group
编辑组/查看组
Delete Group
删除组
“Edit/View Login”编辑登录用户
以我创建的用户账户 ykla 为例:
┌----------┤Edit/View User: ykla├-----------┐
│ Choose Save/Exit when finished or Cancel. │
│ ┌---------------------------------------┐ │
│ │ X Save/Exit │ │
│ │ 1 Login: ykla │ │
│ │ 2 Full Name: User & │ │
│ │ 3 Password: ----- │ │
│ │ 4 UID: 1001 │ │
│ │ 5 Group ID: 1001 (ykla) │ │
│ │ 6 Member of Groups: wheel │ │
│ │ 7 Login Class: │ │
│ │ 8 Password Expires on: │ │
│ │ 9 Account Expires on: │ │
│ │ A Home Directory: /home/ykla │ │
│ │ B Shell: /bin/sh │ │
│ │ - Create Home Directory: N/A │ │
│ │ D Create Dotfiles: No │ │
│ └---------------------------------------┘ │
├-------------------------------------------┤
│ [ OK ] [Cancel] │
└------- Press arrows, TAB or ENTER --------┘
可以修改 ykla 的以下信息:
项目
说明
X Save/Exit
保存并退出
Login: ykla
登录名:ykla
Full Name: User &
姓名:User &
Password: -----
密码:-----,可以修改密码
UID: 1001
用户 ID:1001
Group ID: 1001 (ykla)
组 ID:1001(ykla)
Member of Groups: wheel
所属组:wheel
Login Class:
登录类别:
Password Expires on:
密码过期日期:
Account Expires on:
账户过期日期:
Home Directory: /home/ykla
主目录:/home/ykla
Shell: /bin/sh
Shell:/bin/sh
Create Home Directory: N/A
创建主目录:N/A
Create Dotfiles: No
创建点文件:否
“Edit/View Group”编辑组/查看组
以我创建的用户账户 ykla 所在 ykla 组为例:
┌----------┤Edit/View Group: ykla├----------┐
│ Choose Save/Exit when finished or Cancel. │
│ ┌---------------------------------------┐ │
│ │ X Save/Exit │ │
│ │ 1 Group: ykla │ │
│ │ 2 Password: ----- │ │
│ │ 3 Group ID: 1001 │ │
│ │ 4 Group Members: │ │
│ └---------------------------------------┘ │
├-------------------------------------------┤
│ [ OK ] [Cancel] │
└------- Press arrows, TAB or ENTER --------┘
项目
内容
X Save/Exit
保存并退出
Group: ykla
组:ykla
Password: -----
密码:-----
Group ID: 1001
组 ID:1001
Group Members:
组成员:
7 Console 终端
┌-------------------┤System Console Configuration├--------------------┐
│ The system console driver for FreeBSD has a number of configuration │
│ options which may be set according to your preference. │
│ │
│ When you are done setting configuration options, select Cancel. │
│ ┌-----------------------------------------------------------------┐ │
│ │ X Exit Exit this menu │ │
│ │ 2 Font Choose an alternate screen font │ │
│ │ 3 Keymap Choose an alternate keyboard map │ │
│ │ 4 Repeat Set the rate at which keys repeat │ │
│ │ 5 Saver Configure the screen saver │ │
│ │ 6 Screenmap Choose an alternate screenmap │ │
│ │ 7 Ttys Choose console terminal type │ │
│ └-----------------------------------------------------------------┘ │
├---------------------------------------------------------------------┤
│ [ OK ] [Cancel] │
└-------------- Configure your system console settings ---------------┘
┌----------------------┤Please configure your mouse├---------------------┐
│ You can cut and paste text in the text console by running the mouse │
│ daemon. Specify a port and a protocol type of your mouse and enable │
│ the mouse daemon. If you don't want this feature, select 6 to disable │
│ the daemon. │
│ Once you've enabled the mouse daemon, you can specify "/dev/sysmouse" │
│ as your mouse device and "SysMouse" or "MouseSystems" as mouse │
│ protocol when running the X configuration utility (see Configuration │
│ menu). │
│ ┌--------------------------------------------------------------------┐ │
│ │ X Exit Exit this menu │ │
│ │ 2 Enable Test and run the mouse daemon │ │
│ │ 3 Type Select mouse protocol type │ │
│ │ 4 Port Select mouse port │ │
│ │ 5 Flags Set additional flags │ │
│ │ 6 Disable Disable the mouse daemon │ │
│ └--------------------------------------------------------------------┘ │
├------------------------------------------------------------------------┤
│ [ OK ] [Cancel] │
└------------------------------------------------------------------------┘
菜单
说明
X Exit
退出此菜单
2 Enable
启用测试并运行鼠标守护进程
3 Type
选择鼠标协议类型
4 Port
选择鼠标端口
5 Flags
设置附加参数
6 Disable
禁用鼠标守护进程
2 Enable 启用测试并运行鼠标守护进程
┌------------┤User Confirmation Requested├-----------┐
│ Now move the mouse and see if it works. │
│ (Note that buttons don't have any effect for now.) │
│ │
│ Is the mouse cursor moving? │
│ │
├----------------------------------------------------┤
│ [ Yes ] [ No ] │
└------------ Press arrows, TAB or ENTER ------------┘
现在移动鼠标,看看鼠标是否能动。
(请注意,鼠标的按钮目前无效。)
鼠标光标是否在移动?
┌------------------┤Select a protocol type for your mouse├------------------┐
│ If your mouse is attached to the PS/2 mouse port or the bus mouse port, │
│ you should always choose "Auto", regardless of the model and the brand │
│ of the mouse. All other protocol types are for serial mice and should │
│ not be used with the PS/2 port mouse or the bus mouse. If you have │
│ a serial mouse and are not sure about its protocol, you should also try │
│ "Auto". It may not work for the serial mouse if the mouse does not │
│ support the PnP standard. But, it won't hurt. Many 2-button serial mice │
│ are compatible with "Microsoft" or "MouseMan". 3-button serial mice │
│ may be compatible with "MouseSystems" or "MouseMan". If the serial │
│ mouse has a wheel, it may be compatible with "IntelliMouse". │
│ ┌-----------------------------------------------------------------------┐ │
│ │ 1 Auto Bus mouse, PS/2 style mouse or PnP serial mouse │ │
│ │ 2 GlidePoint ALPS GlidePoint pad (serial) │ │
│ │ 3 Hitachi Hitachi tablet (serial) │ │
│ │ 4 IntelliMouse Microsoft IntelliMouse (serial) │ │
│ │ 5 Logitech Logitech protocol (old models) (serial) │ │
│ │ 6 Microsoft Microsoft protocol (serial) │ │
│ │ 7 MM Series MM Series protocol (serial) │ │
│ │ 8 MouseMan Logitech MouseMan/TrackMan models (serial) │ │
│ │ 9 MouseSystems MouseSystems protocol (serial) │ │
│ │ A ThinkingMouse Kensington ThinkingMouse (serial) │ │
│ └-----------------------------------------------------------------------┘ │
├---------------------------------------------------------------------------┤
│ [ OK ] [Cancel] │
└---------------------------------------------------------------------------┘
┌-----------------------┤System Security Options Menu├-----------------------┐
│ This menu allows you to configure aspects of the operating system security │
│ policy. Please read the system documentation carefully before modifying │
│ these settings, as they may cause service disruption if used improperly. │
│ │
│ Most settings will take effect only following a system reboot. │
│ ┌------------------------------------------------------------------------┐ │
│ │ X Exit Exit this menu │ │
│ │ 2 [ ] Securelevel Configure securelevels for the system │ │
│ │ 3 [X] NFS port Require that the NFS clients use reserved ports │ │
│ └------------------------------------------------------------------------┘ │
├----------------------------------------------------------------------------┤
│ [ OK ] [Cancel] │
└------------------------ Press arrows, TAB or ENTER ------------------------┘
┌---------------------┤Securelevel Configuration Menu├---------------------┐
│ This menu allows you to select the securelevel your system runs with. │
│ When operating at a securelevel, certain root privileges are disabled, │
│ which may increase resistance to exploits and protect system integrity. │
│ In secure mode system flags may not be overridden by the root user, │
│ access to direct kernel memory is limited, and kernel modules may not │
│ be changed. In highly secure mode, mounted file systems may not be │
│ modified on-disk, tampering with the system clock is prohibited. In │
│ network secure mode configuration changes to firewalling are prohibited. │
│ │
│ ┌----------------------------------------------------------------------┐ │
│ │ Disabled Disable securelevels │ │
│ │ Secure Secure mode │ │
│ │ Highly Secure Highly secure mode │ │
│ │ Network Secure Network secure mode │ │
│ └----------------------------------------------------------------------┘ │
├--------------------------------------------------------------------------┤
│ [ OK ] [Cancel] [ Help ] │
└------------------- Select a securelevel to operate at -------------------┘
┌--------------------------┤Choose View Details├-------------------------┐
│ ┌--------------------------------------------------------------------┐ │
│ │ R Reset Reset to default view settings │ │
│ │ D [X] Description Toggle display of system description │ │
│ │ 1 (*) Show Value Show configured startup value (fast) │ │
│ │ 2 ( ) Show Default/Value Show default/configured values (slow) │ │
│ │ 3 ( ) Show Configured Calculate rc.conf(5) locations (slowest) │ │
│ └--------------------------------------------------------------------┘ │
├------------------------------------------------------------------------┤
│ [ OK ] [Cancel] │
└---------------------- Press arrows, TAB or ENTER ----------------------┘
菜单
解释
R Reset Reset to default view settings
R 重置 恢复默认视图设置
D [X] Description Toggle display of system description
D [X] 描述 切换显示系统描述
1 (*) Show Value Show configured startup value (fast)
1 (*) 显示值 显示已配置的启动值(加载速度快速)
2 ( ) Show Default/Value Show default/configured values (slow)
2 ( ) 显示默认/值 显示默认值/已配置的值(加载速度较慢)
3 ( ) Show Configured Calculate rc.conf(5) locations (slowest)
3 ( ) 显示配置 计算 rc.conf(5) 的位置(加载速度最慢)
3 Miscellaneous Startup Services 3 其他启动服务
此菜单能让你配置系统启动配置的各个方面。
┌----------------------┤Miscellaneous Startup Services├----------------------┐
│ This menu allows you to configure various aspects of your system's │
│ startup configuration. Use [SPACE] or [ENTER] to select items, and │
│ [TAB] to move to the buttons. Select Exit to leave this menu. │
│ ┌------------------------------------------------------------------------┐ │
│ │ X Exit Exit this menu │ │
│ │ -- │ │
│ │ 1 [X] Startup dirs Set the list of dirs to look for startup scripts │ │
│ │ 2 [ ] named Run a local name server on this host │ │
│ │ 3 [ ] named flags Set default flags to named (if enabled) │ │
│ │ 4 [ ] NIS client This host wishes to be an NIS client. │ │
│ │ 5 [ ] NIS domainname Set NIS domainname (if enabled) │ │
│ │ 6 [ ] NIS Server This host wishes to be an NIS server. │ │
│ │ -- │ │
│ │ 7 [ ] Accounting This host wishes to run process accounting. │ │
│ │ 8 [ ] lpd This host has a printer and wants to run lpd. │ │
│ └------------------------------------------------------------------------┘ │
├----------------------------------------------------------------------------┤
│ [ OK ] [Cancel] │
└------------------------ Press arrows, TAB or ENTER ------------------------┘
1 [X] Startup dirs Set the list of dirs to look for startup scripts
1 [X] 启动目录 设置查找启动脚本的目录列表
2 [ ] named Run a local name server on this host
2 [ ] named 在此主机上运行本地域名服务器
3 [ ] named flags Set default flags to named (if enabled)
3 [ ] named 参数 设置默认的 named 参数(如果启用)
4 [ ] NIS client This host will be an NIS client
4 [ ] NIS 客户端 此主机将作为 NIS 客户端
5 [ ] NIS domainname Set NIS domainname (if enabled)
5 [ ] NIS 域名 设置 NIS 域名(如启用)
6 [ ] NIS Server This host will be an NIS server
6 [ ] NIS 服务器 此主机将作为 NIS 服务器
--
分割线
7 [ ] Accounting This host will run process accounting
7 [ ] 记账 此主机将运行进程记账
8 [ ] lpd This host has a printer and will run lpd
8 [ ] lpd 此主机有打印机且需运行 lpd
D Ttys TTY
┌-------------------┤User Confirmation Requested├-------------------┐
│ Configuration of system TTYs requires editing the /etc/ttys file. │
│ Typical configuration activities might include enabling getty(8) │
│ on the first serial port to allow login via serial console after │
│ reboot, or to enable xdm. The default ttys file enables normal │
│ virtual consoles, and most sites will not need to perform manual │
│ configuration. │
│ │
│ To load /etc/ttys in the editor, select [Yes], otherwise, [No]. │
├-------------------------------------------------------------------┤
│ [ Yes ] [ No ] │
└------------------- Press arrows, TAB or ENTER --------------------┘
系统 TTY 的配置需要编辑 /etc/ttys 文件。典型的配置活动可能包括启用第一个串口上的 getty(8),以允许在重启后通过串口控制台登录,或者启用 xdm。默认的 ttys 文件启用了正常的虚拟控制台,大多数站点无需进行手动配置。
要在编辑器中加载 /etc/ttys 文件,选择 [Yes],否则选择 [No]。