ubuntu配置nfs
服务器
sudo apt install nfs-kernel-server
/etc/exports中添加共享目录
/home/xpy/cig *(rw,sync,no_root_squash)
客户端
sudo apt install nfs-common
mount -t nfs 192.168.64.128:/home/xpy/cig cig
ok
windows下挂载
mount 192.168.64.128:/home/xpy/cig y:
卸载
umount y: