Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Redhat-install-list Digest, Vol 25, Issue 6

Redhat-install-list Digest, Vol 25, Issue 6

2006-03-07       - By Rick Stevens

 Back
Reply:     1     2  

On Tue, 2006-03-07 at 11:37 +0800, shiva wrote:
> Hello friends,
>
> How very new to linux, i'm able to install redhat ver 9, now i need to
> configure NFS server any one can give step by step instruction.

First, NEVER reply to a digest message.  Either reply to messages that
relate to your problem or, to create a new subject thread, create a new
message and post it to the list.  Replying to digests is bad form.

NFS SERVER
For NFS to work, you must start the various NFS daemons and create an
export list of directories you want shared on the NFS server.  This is
done by entering the following commands as the root user:

  # service portmap start
  # service nfslock start
  # service nfs start

If you want them to start on the next boot, enter these three commands
as well:

  # chkconfig portmap on
  # chkconfig nfslock on
  # chkconfig nfs on

Next, you must edit the /etc/exports file and put in the directories you
want shared along with the access list of the machines allowed to mount
them.  Details on this are in the exports(5) man page ("man exports").
Once you've edited that file, enter the following command as root:

  # exportfs -a

and they should be shared from that point.  You can verify it by
entering the command:

  # showmount -e

NFS CLIENT
Now, as far as the NFS clients, you have to start up the NFS client
software:

  # service portmap start
  # service netfs start

To have it restart on the next boot:

  # chkconfig portmap start
  # chkconfig netfs on

You then can either mount the shares manually or put them in
the /etc/fstab file so they'll be mounted automatically on boot.  To
mount them manually, create the mountpoint where you want them to go,
then:

  # mount -t nfs server:/share /mountpoint

The equivalent line in /etc/fstab would be:

  server:/share  /mountpoint nfs defaults,rw 0 0

The format of the /etc/fstab is in the fstab(5) man page ("man fstab").

I also HIGHLY recommend you get a book on NFS.  One of the defacto
standards is O'Reilly's "Managing NFS and NIS" by Hal Stern.

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-             To iterate is human, to recurse, divine.               -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe