Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleInstall and export NFS
collapsetrue
# Install the below package for NFS server on RedHat distro
$ sudo dnf install -y nfs-utils

# Make sure the service is active on all VMs
$ systemctl status nfs-server

# Edit /etc/exports by inserting the exported directory, the IPs of the clients and how to access the exported directory
/<path>/<exported_dir>     <IP_client1>(ro,sync,no_root_squash,no_all_squash)
/<path>/<exported_dir>     <IP_client2>(ro,sync,no_root_squash,no_all_squash)

# Update the service
$ sudo exportfs -rav

...