- ubuntu虚拟机下安装nfs服务
#sudo apt-get install nfs-kernel-server
- 配置/etc/exports
#add by lvch@2022-01-19
/root/ *(rw,sync,no_root_squash,no_subtree_check)
/opt/ *(rw,sync,no_root_squash,no_subtree_check)
- 重启nfs服务
#service nfs-server restart
- 挂载
mount -t nfs -o nolock 10.2.44.12:/root/workspace/ /mnt
mount -t nfs -o nolock 10.2.44.130:/home/ubuntu/workspace/svn_workspace/AST2600EVB_G50_nHai_D20220702.clean/development/Build/output/ImageTree/usr/local /usr/local/