# 32.1.概述

本章介绍了 UNIX® 系统上更常用的网络服务，包括安装、配置、测试和维护多种不同类型的网络服务。本章中提供了示例配置文件供参考。

通过本章的学习，读者将掌握：

* 如何管理 inetd 守护进程。
* 如何设置网络文件系统（NFS）。
* 如何设置网络信息服务器（NIS）以集中和共享用户账户。
* 如何设置 FreeBSD 作为 LDAP 服务器或客户端。
* 如何使用 DHCP 设置自动网络配置。
* 如何设置域名服务器（DNS）。
* 如何设置 Apache HTTP 服务器。
* 如何设置文件传输协议（FTP）服务器。
* 如何使用 Samba 为 Windows® 客户端设置文件和打印服务器。
* 如何同步时间和日期，并使用网络时间协议（NTP）设置时间服务器。
* 如何设置 iSCSI。

本章假设读者具有以下基本知识：

* **/etc/rc** 脚本。
* 网络术语。
* 安装额外的第三方软件（[安装应用程序：软件包和 Ports](https://docs.freebsd.org/en/books/handbook/ports/#ports)）。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://handbook.bsdcn.org/di-32-zhang-wang-luo-fu-wu-qi/32.1.-gai-shu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
