nfs service for RHEL
[server]
yum install nfs-utils
systemctl start nfs-server
systemctl enable nfs-server
mkdir -p /mnt/nfs_shares/{hr,finace,market}
cat /etc/exports
/mnt/nfs_shares/hr 192.168.150.0/24(rw,sync)
/mnt/nfs_shares/finace 192.168.150.0/24(rw,sync)
/mnt/nfs_shares/market 192.168.150.0/24(rw,sync)
[client]
showmount -e ServerIP

浙公网安备 33010602011771号