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

安装nfs-s

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

 

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

 

▲里面自带示例

▲按照示例写入

▲查看一下

 

安装nfs-c

apt install nfs-common
apt install rpcbind

 

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

用mount挂载

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

 

发表评论

textsms
account_circle
email

Ewige前夕

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