nfs-utils

yum install -y nfs-utils

vi /etc/exports

要共享的目录

/root

:wq

systemctl enable nfs --now

showmunt -e 127.0.0.1

systemctl disable firewalld --now

另外一台机器

yum install -y nfs-utils

systemctl disable firewalld --now

mount -e 192.168.1.x:/root /mnt

df -Th

猜你喜欢

转载自blog.csdn.net/qq_24768591/article/details/134958481
nfs