若没有安装nfs-kernel-service 和 portmap
执行:
sudo apt-get install portmap
sudo apt-get install nfs-kernel-server
安装完后修改/etc/exports
添加:
共享目录 *(sync,rw,no_root_squash)
服务端执行:
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-kernel-server restart
或者:
service portmap restart
service nfs-kernel-server restart
arm 开发板上的终端上:
mount:mount -t nfs 192.168.1.101:/home/share /mnt/ -o nolock -o tcp