标签:har color ref nfs strong chm 查看 emctl roo
文件存储服务器配置:
安装NFS
yum install -y rpcbind nfs-utils
创建共享目录
mkdir /root/sharefile
修改目录权限
chmod 0755 -R sharefile
修改NFS配置文件
vi /etc/exports
----------------------------
/root/sharefile/ 192.168.2.121(rw,no_root_squash,no_all_squash,sync) 192.168.2.122(rw,no_root_squash,no_all_squash,sync)
----------------------------
启动NFS服务
systemctl start nfs
查看共享目录状态
showmount -e 192.168.2.120
文件存储客户机配置:
安装NFS
yum install nfs-utils
查看共享目录
showmount -e 192.168.2.120
创建共享目录
mkdir /root/sharefile
挂载共享目录
mount -t nfs 192.168.2.120:/root/sharefile /root/sharefile
标签:har color ref nfs strong chm 查看 emctl roo
原文地址:https://www.cnblogs.com/fourw/p/11261566.html