10.9.236.189
636 yum install -y nfs-utils rpcbind
637 vim exports
638 mkdir /data/nfs
639 chown -R nfsnobody.nfsnobody /data/nfs
640 /etc/init.d/rpcbind start
641 find / -name rpcbind
642 service rpcbind start
643 lsof -i :111
644 service nfs start
645 rpcinfo -p localhost
646 showmount -e 127.0.0.1
647 showmount -e 10.9.236.189
648 showmount -e
649 cat /var/lib/nfs/etab
650 cat /etc/exports ( echo "/data/nfs 10.9.236.0/24(rw,sync)">>/etc/exports )
651 vim /etc/exports
652 service rpcbind restart
653 service nfs restart
654 showmount -e 10.9.236.0/24
655 showmount -e 10.9.236.189
656 mkdir /data/nfs/aa
10.9.236.192
16 yum install -y rpcbind
17 sudo yum install rpcbind
18 ip a
19 sudo yum install rpcbind
20 showmount -e 10.9.236.189
21 yum install nfs
22 yum install nfs-utils -y
23 sudo yum install nfs-utils -y
24 showmount -e 10.9.236.189
25 mount -t nfs 172.16.1.31:/data /mnt
26 sudo mount -t nfs 172.16.1.31:/data /mnt
27 sudo mount -t nfs 10.9.236.189:/data /mnt
28 ll mnt
29 ll /mnt
30 ll /mnt/nfs/
来源:CSDN
作者:yeman8
链接:https://blog.csdn.net/yeman8/article/details/104689315