Skip to content

How to share a directory over a network using NFS

NFS or Network File System is a quick and easy way to share files between Linux hosts on a network. Client machines are able to mount specific directories on a server machine and access the files as if they are on the client's local filesystem.

Configuring an NFS share is as easy as installing a package and editing a config file. For the steps below I'm using a Debian client and a Ubuntu based server.

Configuring the server

Begin by installing the nfs-kernel-server package if it isn't already installed:

sudo apt-get install nfs-kernel-server
Continue reading "How to share a directory over a network using NFS"