Comments on Setting up an NFS Server and Client on Debian 9 (Stretch)
This guide explains how to set up an NFS server and an NFS client on Debian 9 (Stretch). NFS stands for Network File System; through NFS, a client can access (read, write) a remote share on an NFS server as if it was on the local hard disk. In this Tutorial I will show you two different NFS exports, the export of a client directory that stores files as user nobody / nogroup without preserving filesystem permissions and a export of the /var/www directory which preserves permissions and ownerships of files, as required on a hosting server setup.
4 Comment(s)
Comments
NFSv3 is easy.
How about NFSv4 with Kerberos?
NFSv3 should have been depricated years ago, please start to promote NFSv4
And what about the firewall rules? NFS v3 is a simple thing, but if you have a configured packet filter both on the server and the client... have you ever been tried it?
Thanks Till.
Whilst I know HowToForge is primailry aimed at webhosting problems/solutions, I think it would be worth looking at problems users often face with NAS. So, from that perspective, I think it would be useful, though a little more complicated, to develop a tutorial that provides some security for NFS. Maybe using OpenLDAP (or NIS for a *nix exclusive environment)?