nfs挂载
一、在linux上安装nfs服务器
- 下载需要的包sudo apt-get install nfs-kernel-server rpcbind
- 配置 vim /etc/exports
/home/xydl/zpro/nfs *(rw,sync,no_root_squash)
如果要是不知道后面的配置怎么填可以man exprots 5
二、在window下挂载
1.在控制面板->程序功能->启动或者关闭Windows功能中
2、 打开nfs服务
showmount -e 192.168.88.100
查看你的电脑有没有可以连接的服务。
3、添加网络驱动
在我的电脑下可以看到添加成功
5、卸载nfs
使用命令行 umount -a