嵌入式设备从linux机上拷文件配nfs

2019-07-12 15:15发布

ubunte配nfs服务器1. sudo service nfs-kernel-server restart安装2.sudo vi /etc/exports /home/tanyb/share/work/his/dirmount 192.168.30.0/255.255.255.0(rw,no_root_squash)
3.sudo vi /etc/hosts.allowportmap:192.168.30.0/255.255.255.0
4.sudo vi /etc/hosts.deny portmap:ALL
5.service portmap restart6.service nfs-kernel-server restart嵌入式机:1.mkdir /nfsroot2.mount -o tcp,nolock 192.168.30.230:/home/tanyb/share/work/his/dirmount /nfsroot