Setup NFS Server: Difference between revisions

From RidgeRun Developer Wiki
(Created page with '= Introduction = This wiki explains the process of setting up a NFS server in a target board. == Kernel Configuration == Enable kernel NFS server support <pre> -> Kernel confi...')
 
No edit summary
Line 3: Line 3:
This wiki explains the process of setting up a NFS server in a target board.
This wiki explains the process of setting up a NFS server in a target board.


== Kernel Configuration ==
= Kernel Configuration =
Enable kernel NFS server support
Enable kernel NFS server support
<pre>
<pre>
Line 27: Line 27:
             -> NFS server support for NFS version 4  
             -> NFS server support for NFS version 4  
</pre>
</pre>
= Required Packages =
== nfs-utils ==
The NFS Utilities package contains the userspace server and client tools necessary to use the kernel's NFS abilities (http://www.linuxfromscratch.org/blfs/view/svn/basicnet/nfs-utils.html_).
== rpcbind ==
The rpcbind program is a replacement for portmap. It is an Open Network Computing Remote Procedure Call (ONC RPC) service that runs on network nodes that provide other ONC RPC services. It is required for import or export of Network File System (NFS) shared directories. (http://www.linuxfromscratch.org/blfs/view/svn/basicnet/rpcbind.html)
== libtirpc ==
The libtirpc package contains libraries that support programs that use the Remote Procedure Call (RPC) API. It replaces the RPC, but not the NIS library entries that used to be in glibc. It is required for rpcbind. (http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libtirpc.html)

Revision as of 16:39, 6 March 2014

Introduction

This wiki explains the process of setting up a NFS server in a target board.

Kernel Configuration

Enable kernel NFS server support

-> Kernel configuration                                                                                                                               
   -> File systems                                                                                                                                    
      -> Network File Systems (NETWORK_FILESYSTEMS [=y])
         -> NFS server support (NFSD [=y])  

Suboptions to support NFS version 3 and NFS version 4 can be selected

-> Kernel configuration                                                                                                                               
   -> File systems                                                                                                                                    
      -> Network File Systems (NETWORK_FILESYSTEMS [=y])
         -> NFS server support (NFSD [=y])  
            -> NFS server support for NFS version 3 
-> Kernel configuration                                                                                                                               
   -> File systems                                                                                                                                    
      -> Network File Systems (NETWORK_FILESYSTEMS [=y])
         -> NFS server support (NFSD [=y])  
            -> NFS server support for NFS version 4 

Required Packages

nfs-utils

The NFS Utilities package contains the userspace server and client tools necessary to use the kernel's NFS abilities (http://www.linuxfromscratch.org/blfs/view/svn/basicnet/nfs-utils.html_).


rpcbind

The rpcbind program is a replacement for portmap. It is an Open Network Computing Remote Procedure Call (ONC RPC) service that runs on network nodes that provide other ONC RPC services. It is required for import or export of Network File System (NFS) shared directories. (http://www.linuxfromscratch.org/blfs/view/svn/basicnet/rpcbind.html)

libtirpc

The libtirpc package contains libraries that support programs that use the Remote Procedure Call (RPC) API. It replaces the RPC, but not the NIS library entries that used to be in glibc. It is required for rpcbind. (http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libtirpc.html)