ubuntu 16.04 nfs服务的搭建

it2022-05-09  23

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

  

  

 

  

转载于:https://www.cnblogs.com/liushuhe1990/p/9657382.html

相关资源:Ubuntu16.04搭建NFS 文件共享服务器的方法

最新回复(0)