Private Island Networks Inc.

Quick way to set up an NFS Server on Ubuntu?

Jan 08, 2020 asked by anonymous
share
subscribe to mailing list:

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?
X-ray Engineering Services

Responses:

Date: Jan. 8, 2020

Author: Mind Chasers

Comment:

$ 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>

Post your answer or comment:

your email address will be kept private
authenticate with a 3rd party for enhanced features, such as image upload
previous month
next month
Su
Mo
Tu
Wd
Th
Fr
Sa
loading