NFS Quick Install

From Coolscript
Revision as of 17:14, 24 October 2023 by Admin (talk | contribs) (Created page with "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/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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/