

Again, we will refresh the local package index prior to installation to ensure that we have up-to-date information: sudo apt-get updateĬreate the Share Directory on the Host Server On the client computer, we’re going to have to install a package called nfs-common, which provides NFS functionality without having to include the server components. Once these packages are installed, you can switch over to the client computer. Since this is the first operation that we’re performing with apt in this session, we’ll refresh our local package index before the installation: sudo apt-get update On the host server, we need to install the nfs-kernel-server package, which will allow us to share our directories. Download and Install the Componentsīefore we can begin, we need to install the necessary components on both our host and client servers. You should substitute the values above with your own host and client values. In order to keep these straight throughout the guide, I will be using the following IP addresses as stand-ins for the host and server values: You can learn how to configure such an account by following steps 1-4 in our initial setup guide for Ubuntu 14.04 servers.įor the purposes of this guide, we are going to refer to the server that is going to be sharing its directories the host and the server that will mount these directories as the client. For each of these servers, you will have to have an account set up with sudo privileges. In this guide, we will be configuring directory sharing between two Ubuntu 14.04 servers. In this guide, we’ll cover how to configure NFS mounts on an Ubuntu 14.04 server. NFS works well for directories that will have to be accessed regularly. This allows you to leverage storage space in a different location and to write to the same space from multiple servers easily. NFS, or Network File System, is a distributed filesystem protocol that allows you to mount remote directories on your server.
