Network File System

Server

Debian

Installing the NFS server

sudo apt install nfs-kernel-server

Configuring the NFS export

sudo vi /etc/exports
# /media *(rw,sync,no_subtree_check)

Client

MacOS

Commands are a little different compared to Linux clients. Was a bit frustrated trying to set this up so here are the commands in case I need to reference it again.

sudo mount_nfs -o resvport <server_ip_addr>:/media /Volumes/media