Quick way to set up an NFS Server on Ubuntu?
Jan 08, 2020 asked by anonymous
Question / Issue:
Can you show an example on how to set up an NFS server on Ubuntu Linux to serve up a Linux root file system for an NFS boot?
Date: Jan. 8, 2020
Author: Mind Chasers
$ sudo apt install nfs-kernel-server ... The following NEW packages will be installed: nfs-kernel-server ... Creating config file /etc/exports with new version Creating config file /etc/default/nfs-kernel-server with new version We export our /build directory using the NFS server. Add the following line to /etc/exports: /build/ *(rw,no_root_squash,async,no_subtree_check) On a Linux client, try the following: $ sudo mkdir /mnt/<NFS server> $ sudo mount -o vers=3 -o nolock <NFS server>:/build /mnt/<NFS server>