ubuntu 16.04 nfs服务的搭建
1、安装nfs服务
sudo apt install nfs-common sudo apt install nfs-kernel-server
2、修改配置文件
sudo vim /etc/exports
3、修改内容如下:
/work *(rw,sync,no_root_squash)
4、重启nfs服务
sudo /etc/init.d/nfs-kernel-server restart
5、开发板挂载
mount -t nfs -o nolock 192.168.1.110:/work/fs4412 /mnt
6、pc挂载
mount 192.168.1.110:/work/fs4412 /mnt
浙公网安备 33010602011771号