diff --git a/src/rhcsa.md b/src/rhcsa.md index fe1b73c..8624382 100644 --- a/src/rhcsa.md +++ b/src/rhcsa.md @@ -502,6 +502,14 @@ sudo systemctl restart sshd # Restart the sshd service ```bash sudo dnf install nfs-utils # Install the NFS utilities +### Port Number ### +> Note: The port number for NFS is 2049. + +### Firewall ### +sudo firewall-cmd --add-service=nfs --permanent # Add the NFS service to the firewall +sudo firewall-cmd --reload # Reload the firewall +sudo firewall-cmd --list-services # List the services in the firewall + sudo nano /etc/exports # Edit the exports file # Add the following line to the exports file: