On 03/05/12 11:17, Tam Nguyen wrote:
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

       Ok, with this I was able to set up a working NFS, which then
       lead me to believe that what I have is working also, a matter of
       establishing confidence! Box7 is able to see files on server
       box8, very encouraging.

       Thanks much for the help. I'm going to have to quit this effort
       for a few hours, have other stuff to attend to but your help and
       zxq9 are much appreciated. I will go from there and let you know
       if I have more questions.

       Bob


--
http://www.qrz.com/db/W2BOD

box7

Reply via email to