Hi,
See the steps below.  Please keep in mind this is very basic configuration
just to get it up and running.  Haven't cover authentication, ACL, SELinux,
etc.

install package
$ yum install nfs-utils

Add port 2049
$ vi /etc/sysconfig/iptables
-A INPUT -p tcp --dport 2049 -j ACCEPT
-A INPUT -p udp --dport 2049 -j ACCEPT

Restart iptables
$ service iptables restart

Start nfs service + survive reboot
$ /etc/init.d/nfs start
$ /etc/init.d/nfslock start
$ chkconfig nfs on

Create a test directory
$ mkdir -p /nfs_test

Edit nfs export file:
$ vi /etc/exports
/nfs_test  *(ro,sync)     <== esoteric indicates world accessible

Now export it:
$ exportfs -a

Verify it:
$ exportfs

Go to your client box, and test it.  Like so:
$ mount -t nfs server:/nfs_test  /client/mount/point






On Thu, May 3, 2012 at 10:34 AM, Bob Goodwin - Zuni, Virginia, USA <
[email protected]> wrote:

>       Can someone suggest a clear instruction for setting up an NSF4
>       server on SL6.2/64, preferably with an example.
>
>       I have NFS3 working on SL5 but haven't been able to get this new
>       one working ...
>
>       Thanks,
>
>       Bob
>
>       --        http://www.qrz.com/db/W2BOD
>
>       box7
>

Reply via email to