[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: NFS




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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]