Ewige前夕
Ewige前夕

【Debian学习笔记】安装nfs服务

安装nfs-s

apt install nfs-kernel-server
apt install rpcbind
systemctl enable nfs-kernel-server #开机自启

 

nfs主要配置文件: /etc/exports

 

https://www.evec.cc/wp-content/uploads/2021/08/TZONFR8V5X8ILKOVF3F3XN.png

▲里面自带示例

https://www.evec.cc/wp-content/uploads/2021/08/DVJ6JR17UA9W0KF.png

▲按照示例写入

https://www.evec.cc/wp-content/uploads/2021/08/VS18O1T6DKL5PUYQCBLP8.png

▲查看一下

 

安装nfs-c

apt install nfs-common
apt install rpcbind

 

https://www.evec.cc/wp-content/uploads/2021/08/Y6PLS8VXOU4LYW1.png

▲接下来用showmount 查看服务端公布的挂载信息

用mount挂载

mount.nfs -o rw,bg  172.16.63.80:/india  /gg

 

发表评论

textsms
account_circle
email

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

Ewige前夕

【Debian学习笔记】安装nfs服务
安装nfs-s apt install nfs-kernel-server apt install rpcbind systemctl enable nfs-kernel-server #开机自启   nfs主要配置文件: /etc/exports   ▲里面自…
扫描二维码继续阅读
2021-08-18