NFS might not be the fastest, but it surely is the simplest one across *nix environments.
$ sudo apt-get install nfs-kernel-server portmap
share directory by editing
It could be just one IP or subnet as shown above. Then restart exports if configuration errors, it’ll scream.
$ sudo exportfs -a
/etc/init.d/nfs-kernel-server restart which is giving roughly the same thing
$ sudo apt-get install nfs-common portmap
That’s enough to get started mounting.
$ sudo mount <server-ip>:/opt/share /mnt/share
to make it permanent, edit
<server-ip>:/opt/share /mnt/share nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0
To list all mount points:
$ showmount -e <server-ip>
Mount on OSX might not be as effortless. However,
resvport option would make thing simple again.
$ sudo mount -t nfs -o resvport <server-ip>:/path /<destination>