sudo apt update
sudo apt install nfs-kernel-server
Edit exports:
sudo nano /etc/exports
Example:
/srv/nfs 192.168.1.0/24(rw,sync,no_subtree_check)
Apply:
sudo exportfs -ra
sudo systemctl enable --now nfs-server
sudo dnf install nfs-utils
Enable and start:
sudo systemctl enable --now nfs-server
Prefer automation? See NFS Ansible Setup for an example playbook.
Prefer containers? See NFS Docker Setup.
See NFS Security for hardening guidance.
See NFS Configuration for configuration guidance.
Any questions?
Feel free to contact us. Find all contact information on our contact page.