简单共享挂载


yum -y install nfs-utils rpcbind 

vi /etc/exports 加入共享配置
/home/dev/sharedir 172.21.120.0/24(insecure,rw,async,no_root_squash)

service nfs start


其他机器挂载
mount -t nfs 172.21.120.203:/home/dev/sharedir/ /home/dev/sharedir/

你可能感兴趣的:(Linux运维基础)