[102035] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: NFS

daemon@ATHENA.MIT.EDU (Ramon Gandia)
Tue Dec 1 02:45:07 1998

Date: Mon, 30 Nov 1998 22:40:37 -0900
From: Ramon Gandia <rfg@nook.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com



Sudarsan Vasudevan wrote:
> 
> Greetings!
>         Can anybosy tell me how I can start NFS without rebooting the
> machine. I dont have Xwindows capability also.

You have to start two programs:  portmap and nfs.  IN older RedHat
versions you have to start a third program as well:

In order of starting:

/etc/rc.d/init.d/portmap
/etc/rc.d/init.d/nfs
/etc/rc.d/init.d/nfsfs              <---Older versions only.

To exit, use the reverse order.  Some versions of RedHat will
start NFS automatically upon boot up; I think this is a security
hole, and I start NFS only when need to.  I put the commands
(two or three) in a script file.

#!/bin/sh
# /usr/local/bin/startnfs    Program to Start NFS
#
/etc/rc.d/init.d/portmap  start
/etc/rc.d/init.d/nfs   start
/etc/rc.d/init.d/nfsfa  start
#-------------------------------------

For the other one, stopnfs, just do the same type of file,
but reverse the firing order.

-- 
Ramon Gandia ==== Sysadmin ==== Nook Net ==== http://www.nook.net
285 West First Avenue                                rfg@nook.net
P.O. Box 970                                    tel. 907-443-7575
Nome, Alaska 99762-0970 ======================= fax. 907-443-2487


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post