yum install nfs-utils
/etc/exports
-
/home *(rw,sync)
-
/etc *(ro,sync)
修改后,生效需要执行
exportfs -r
/etc/init.d/nfs {start|stop|status|restart|reload|force-reload|condrestart|try-restart|condstop}
showmount -e 192.168.80.128
mount -t nfs 192.168.80.128:/etc /mnt/nfs/
阅读(1148) | 评论(0) | 转发(0) |