updated notes

This commit is contained in:
Hugh Ratsch
2025-02-16 16:02:04 -06:00
parent 6bc279bc8b
commit cc0de554b3
+13
View File
@@ -500,10 +500,23 @@ sudo systemctl restart sshd # Restart the sshd service
### NFS ### NFS
```bash ```bash
sudo dnf install nfs-utils # Install the NFS utilities
sudo nano /etc/exports # Edit the exports file sudo nano /etc/exports # Edit the exports file
# Add the following line to the exports file:
/mnt/nfs # The directory to export
sudo exportfs -r # Export the NFS shares sudo exportfs -r # Export the NFS shares
sudo exportfs # Display the NFS shares sudo exportfs # Display the NFS shares
sudo systemctl start nfs-server # Start the NFS server sudo systemctl start nfs-server # Start the NFS server
```
### Configure an NFS Client
```bash
sudo dnf install nfs-utils # Install the NFS utilities
sudo mount 192.168.1.1:/mnt/nfs /mnt/nfs # Mount the NFS share
sudo umount /mnt/nfs # Unmount the NFS share
``` ```