1.虚拟机上修改/etc/exports
添加home/wjl/ *.*(rw,sync,no_root_squash) //说明wjl能够被IP地址为*.*的客户端读写
2.虚拟机上
service portmap start
service nfs start
exportfs -rv
3.设备上 mount -t nfs -o nolock 虚拟机ip地址:\home\wjl \tmp //设备作为client 将设备的tmp 挂接到虚拟机的wjl
注意 :设备无法mount 虚拟机上的共享文件夹