nfs 服务器和客户端区别
NFS is widely deployed and used even after more than twenty year. NFS is easy to set up and easy to use. This introduces how to set up the NFS server and clients. We use the Fedora system as the example. The tutorial here is for RHEL/CentOS/Fedora and derived Linux OSes.
NFS甚至在二十多年后仍得到广泛部署和使用。 NFS易于设置且易于使用。 这介绍了如何设置NFS服务器和客户端。 我们以Fedora系统为例。 本教程适用于RHEL / CentOS / Fedora和派生的Linux操作系统。
设置NFS服务器 (Set up an NFS Server)
The needed packages are nfs
and rpcbind
, install them by yum
or dnf
:
所需的软件包是nfs
和rpcbind
,请通过yum
或dnf
安装它们:
# yum install nfs-utils rpcbind
Configure /etc/exports to give clients the permission to use the NFS directories.
配置/ etc / exports以授予客户端使用NFS目录的权限。