| FreeBSD handbook中文版 2 开始安装FreeBSD(2) |
 |
作者: 来源: 日期:2007-6-14 10:23:26 点击次数: |
|
these services may increase risk of security problems by increasing the exposure of your system. With this in mind, do you wish to enable inetd? [ Yes ] No 选择[ Yes ]继续。 User Confirmation Requested inetd(8) relies on its configuration file, /etc/inetd.conf, to determine which of its Internet services will be available. The default FreeBSD inetd.conf(5) leaves all services disabled by default, so they must be specifically enabled in the configuration file before they will function, even once inetd(8) is enabled. Note that services for IPv6 must be seperately enabled from IPv4 services. 第51 页FreeBSD 使用手册 Select [Yes] now to invoke an editor on /etc/inetd.conf, or [No] to use the current settings. [ Yes ] No 选择[ Yes ]将允许在一行的开头通过删除#号来添加相应的服务。 图2-33. 编辑inetd.conf 添加完这些服务后,键入Esc 将显示一个提示你退出并保存修改的菜单。 2.10.3 配置网关 User Confirmation Requested Do you want this machine to function as a network gateway? [ Yes ] No 如果要把机器作为一个本地网络的网关,来传送与其它机器之间的数据包,就选择[ Yes ] 然后键入Enter。如果机器只是一个网络的节点,那就选择[ No ]然后键入Enter 继续。 2.10.4 匿名FTP 第52 页FreeBSD 使用手册 User Confirmation Requested Do you want to have anonymous FTP access to this machine? Yes [ No ] 2.10.4.1 拒绝匿名FTP 选择默认的[ No ]然后键入Enter 将允许拥有帐号的用户使用FTP 来访问机器。 2.10.4.2 允许匿名FTP 如果你选择允许匿名FTP 连接,那任何人都能访问你的机器。在你启用这个选项之前, 安全性应当得到重视。更多信息可以参考第10 章。 使用允许匿名FTP,可以使用箭头选择[ Yes ]然后键入Enter。接下来的屏幕将会这样显示: 图2-34.默认的匿名FTP 配置 第53 页FreeBSD 使用手册 键入F1 将显示帮助画面: This screen allows you to configure the anonymous FTP user. The following configuration values are editable: UID: The user ID you wish to assign to the anonymous FTP user. All files uploaded will be owned by this ID. Group: Which group you wish the anonymous FTP user to be in. Comment: String describing this user in /etc/passwd FTP Root Directory: Where files available for anonymous FTP will be kept. Upload subdirectory: Where files uploaded by anonymous FTP users will go. 默认情况下,FTP 的根目录将被放在/var下。如果你没有足够空间,那也可以通过设置 /usr/ftp来作为FTP 根目录。 当你觉得满意时,键入Enter 继续。 第54 页FreeBSD 使用手册 User Confirmation Requested Create a welcome message file for anonymous FTP users? [ Yes ] No 如果你选择[ Yes ]然后键入Enter,一个编辑器将自动启动来允许你编辑信息。 图2-35.编辑FTP 欢迎信息 这个文本编辑器叫做ee。根据指示来修改信息,或者使用其它文本编辑器来修改信息。 注意屏幕底部的文件名称和位置。 键入Esc,一个通常的默认菜单是a) leave editor。键入Enter 将退出编辑环境然后 继续。 2.10.5 配置网络文件访问 网络文件服务(NFS)允许通过网络来共享文件。一个机器可以被配置成一台服务器, 上一篇:FreeBSD handbook中文版 1 整体介绍 下一篇:FreeBSD handbook中文版 3 Unix 基础 |
|
|
 |
| 北京总部: 4006-505-808 |
| 上 海 部: 021-58358765 |
| 深 圳 部: 0755-83692929 |
| 浙 江 部: 13666673722 |
| 广 州 部: 020-83821091 |
| 重 庆 部: 023-86870422 |
| 昆 明 部: 15987117834 |
| 哈尔滨部: 13946167430 |
| 其它地区: 4006-505-808 | | | |
|
 |
|