nfs-utils

  1. yum install nfs-utils

服务端

  1. echo '/share_path/ <客户端IP>(fsid=0,rw,insecure)' >> /etc/exports
  2. systemctl start nfs-server
  3. systemctl status nfs-server

客户端

  1. mkdir -p /mnt/share_path/
  2. mount -t nfs <服务端IP>:/share_path/ /mnt/share_path/