LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2009, 06:54 AM   #1
coolinux
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Rep: Reputation: 0
Need Guidance on NFS


Hi guyzz,



'm learning linux on my own. 'm using RHEL5. I need some info on configuring NFS on RHEL5.
 
Old 08-28-2009, 10:44 AM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Could you be more specific on what you need help. Like is the system not doing something right? or do you need help with seting up the actual share? Can you give use what you have done already and where you are stuck at, and if possible maybe what guide you are following if it is from an online source?
 
Old 08-28-2009, 10:47 AM   #3
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
start the portmap service and then nfs and set what you want to export on /etc/exports file. and do a exportfs -r to reload the shares,do a showmount -e localhost to see if the shares are on export or not.is that what you wanted to know?
 
Old 08-28-2009, 12:04 PM   #4
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Cool

Hi Coolinux,

As suggested by kdelover and jstephens84, this needs to be more elaborated. Anyways, I am defining few steps in brief to configure NFS, see if it helps you :
a) install required NFS packages
b) check daemon service 'nfsd' and start it, if required
c) edit /etc/exports file, and add the sharing files or folders there, like for e.g. : you want to share home folder ::
/home *(rw,sync)

d) restart nfsd service after that.

With these steps, you can configure your NFS.

Cheers,
Kapil.
 
Old 08-28-2009, 12:13 PM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by kapilbajpai88 View Post
Hi Coolinux,

As suggested by kdelover and jstephens84, this needs to be more elaborated. Anyways, I am defining few steps in brief to configure NFS, see if it helps you :
a) install required NFS packages
b) check daemon service 'nfsd' and start it, if required
c) edit /etc/exports file, and add the sharing files or folders there, like for e.g. : you want to share home folder ::
/home *(rw,sync)

d) restart nfsd service after that.

With these steps, you can configure your NFS.

Cheers,
Kapil.
Also to go a step further you can mount the drive by doing the following

mount -t nfs computer:/sharename /mnt/<mount name>/ you can of course use a different mount location if you desire.

here's the documentation from red hat if you wanted to mount it automatically through fstab.
http://www.redhat.com/docs/manuals/l...nfs-mount.html

Last edited by jstephens84; 08-28-2009 at 12:15 PM.
 
Old 08-28-2009, 12:59 PM   #6
uteck
Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Sidux, LinHES, and Mythbuntu
Posts: 209

Rep: Reputation: 32
Some applications will make it a bit easier to share files. KDE has an optional sharing setting that will let you set up NFS from a gui, but it may not be installed by default. Or you could install Webmin and the NFS module and configure it using a browser.
 
Old 08-29-2009, 02:12 AM   #7
coolinux
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kapilbajpai88 View Post
Hi Coolinux,

As suggested by kdelover and jstephens84, this needs to be more elaborated. Anyways, I am defining few steps in brief to configure NFS, see if it helps you :
a) install required NFS packages
b) check daemon service 'nfsd' and start it, if required
c) edit /etc/exports file, and add the sharing files or folders there, like for e.g. : you want to share home folder ::
/home *(rw,sync)

d) restart nfsd service after that.

With these steps, you can configure your NFS.

Cheers,
Kapil.
First I would like to thank to Kapil and all others who have replied.
'coz 'm a linux newbie and new to this site too. Anyways, what I meant guidance for NFS is I need some notes or links where I can learn NFS which can b understood by a linux learner like me.

As this is the first time, me venturing into online. I tried googling, however, I just want suggestions from linux users.

I just need some help where I can learn how to install and configure NFS, NIS, Samba, Squid, DNS, Apache, FTP, Sendmail and IP Tables.

As I mentioned earlier that I am learnin linux on my own. I had books which covered the first two modules. Now, that I have completed them, I want to move further.

So it will be helpful to me if anyone can give me some notes or links where it is easy to understand the above mentioned topics in linux. Please note that 'm new to internet.

So any suggestions or advises will be of great help and relief to me.

Regards,
Coolinux86.
 
Old 08-29-2009, 02:17 AM   #8
georgefernandez
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
Its an easy game. You will learn very soon just keep playing it.
 
Old 08-29-2009, 02:27 AM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
The best place that can give you documents for all is google. google.com/linux is best place to start off with.
 
Old 08-29-2009, 02:48 AM   #10
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
Google is your friend and linuxquestions a better friend
 
Old 08-29-2009, 08:05 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,616
Blog Entries: 26

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Hi,

You could take a look at 'Linux Home Networking'.

Just a few more links to aid you;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux

The above links and others can be found at 'Slackware-Links' . More than just Slackware® links!
 
Old 08-30-2009, 08:42 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,295

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
Here's the RHEL Deployment guide. It'll show you all that stuff. Highly recommended: http://www.linuxtopia.org/online_boo...ion/index.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Guidance gnosis1.7 Linux - Newbie 3 08-27-2007 01:02 AM
Writing to a CD - Need guidance sreeramabsc Linux - Hardware 1 02-14-2006 10:27 PM
Some Guidance Please! AdykOSu Linux - Newbie 4 12-22-2005 05:26 PM
Printer Guidance TomalakBORG Linux - Hardware 1 07-13-2005 07:19 AM
[Kernel Guidance] Synesthesia Linux - General 1 04-29-2005 05:47 AM


All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration