1) Create a directory,

$ mkdir /home/user/nfsdir

2) Install required package

$ sudo apt-get install nfs-kernel-server

3) Edit /etc/exports file

$ sudo vim /etc/exports 

4) Add the following single line, assuming IP address of target board is 192.168.1.20

/home /user/nfsdir 192.168.1.20(rw,no_root_squash,no_subtree_check)

5) Restart NFS server

$ sudo /etc/init.d/nfs-kernel-server restart

Whatever present at /home/user/nfsdir can be exposed to target with appropriate commands.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s