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

posted @ 2025-08-28 10:33  k98091518  阅读(6)  评论(0)    收藏  举报