October 23, 2018 · Server Linux Mac

Setup NFS between your Mac & Linux

On Linux

sudo apt-get install nfs-kernel-server
sudo vim /etc/exports
sudo service nfs-kernel-server restart

On Mac
you can't copy files directory by finder, you have to use cp
due to mac finder copy will create attributed files, which the nfs is not suppported.

sudo mount -t nfs -o resvport nfs.server.ip.here:/home/dev/share ./nfs
copy -X -r ./from ./nfs