17.1 Ensuring NFS Services are running on RHEL 8
The first task is to verify that the NFS services are installed and running on your RHEL 8 system. This can be achieved either from the command-line, or using the Cockpit interface.
Behind the scenes, NFS makes use of Remote Procedure Calls (RPC) to share filesystems over a network between different computers in the form of the rpcbind service. Begin by installing both rpcbind and the NFS service by running the following command from a terminal window:
# dnf install rpcbind nfs-utils
Next, configure these services so that they automatically start at boot time:
# systemctl enable rpcbind
# systemctl enable nfs-server
Once the services have been enabled, start them as follows:
# systemctl start rpcbind
# systemctl start nfs-server