主要内容
- centos安装nfs
- NFS软件包:
- nfs-utils:NFS主程序,包含两个deamons:
- rpc.nfsd
- rpc.mount
- rpcbind:RPC主程序
- nfs-utils:NFS主程序,包含两个deamons:
具体步骤
- server节点(192.168.0.100)
# 查看是否安装NFS相关的软件包
$ rpm -qa | egrep "nfs|rpcbind"
rpcbind-0.2.0-47.el7.x86_64
nfs-utils-1.3.0-0.61.el7.x86_64
libnfsidmap-0.25-19.el7.x86_64
# 如果未安装
$ yum install -y nfs-utils rpcbind
# 启动 NFS 服务
$ systemctl restart rpcbind && systemctl enable rpcbind
$ systemctl restart nfs &