nfs
NFS 服务器
安装
$ sudo apt install nfs-kernel-server
配置
## 添加共享目录
$ vim /etc/exports
<shareFileDir> *(rw,sync,no_root_squash)
## 测试
$ showmount -e
NFS 客户端
linux 使用 NFS
$ mount -t nfs <server IP>:<shareFileDir> <mountDir>
windows 使用 NFS(安装NFS服务)
\\<server IP>
Last updated
Was this helpful?