NFS@Linux 管理
服务端配置
主要配置文件:/etc/exports
添加配置 要分享的路径 要分享的ip(各种权限)
ps:
/var/nfsshare/data 158.220.*.*(rw,sync,no_root_squash,no_all_squash)
启动服务:
service rpcbind start / restart / status
service nfs start / restart / status
客户端连接NFS
用mount命令挂载nfs
mount src-path [mount-point]
mount src-path dest-path
unmount mount-point
查看配置
showmount -e [ip]