目录 1.nfs服务安装: 2.工作路径配置: 3.重启服务生效: 4.在PC上测试 5.在嵌入式linux中使用 6.卸载挂载 1.nfs服务安装: sudo apt-get install nfs-kernel-server nfs-common 2.工作路径配置: sudo vi /etc/exports 在最下一行的 # 下加上以下语句: /home/ 之后的目录可以是你自己的家目录 /home/wgb *(rw,sync,no_root_squash) 3.重启服务生效: sudo service nfs-kernel-server restart 4.在PC上测试 Ip地址改成自己的虚拟机