linux 之间的文件共享服务
NFS的配置和启动柜
linux 自带的软件包
/etc/exports
/data/share *(rw,sync,all_squash)
share 共享的目录
ro
rw
sync 读写的同步
all_squash nfsnobody
showmount -e localhost
mount -t nfs localhost:/data/share /mnt
启动NFS服务
systemctl start nfs.service
vim /etc/exports
man 5 exports
/data/share *(rw,sync,all_squash)