updated notes
This commit is contained in:
@@ -500,10 +500,23 @@ sudo systemctl restart sshd # Restart the sshd service
|
||||
|
||||
### NFS
|
||||
```bash
|
||||
sudo dnf install nfs-utils # Install the NFS utilities
|
||||
|
||||
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 # Display the NFS shares
|
||||
|
||||
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
|
||||
```
|
||||
Reference in New Issue
Block a user