NFS Quick Install
Quick installation of a NFS Server on Debian 12
Server
apt-get install rpcbind nfs-kernel-server mkdir -p /srv/nfs/storage chown -R 777 /srv/nfs/storage
- Edit /etc/exports
exportfs -ra
- Restart
systemctl restart nfs-server.service
- Enable
systemctl enable nfs-kernel-server systemctl restart nfs-kernel-server
Client
apt-get install rpcbind nfs-common
- Edit /etc/hosts.deny
rpcbind : ALL
- Mount:
mount -t nfs x.x.x.x:/srv/nfs/storage /mnt/