LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to configure NFS in redhat ES 4 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-configure-nfs-in-redhat-es-4-a-638832/)

dilipsharma2006 04-30-2008 03:17 AM

How to configure NFS in redhat ES 4
 
Hello Every body

I have some users, who are asking for backup solution to store there data. As I thought to provide them a link to access a shared folder in File server.
For windows users we make a network drive where users can store there data which is backed up time to time.
How to do this in LINUX.

The file server is running Windows 2003 server.
and the user system is ruuning Redhat Linux ES 4.0.

Some body suggest to configure NFS. How to do this. One more thing when we connect to maped networked drive in windows it ask to enter username and password.
how to configure all these options in LINUX box
plz
help
\

eggixyz 04-30-2008 10:11 PM

Hey There,

Probably your best all-around bet is to use samba.


You can create a windows-like share on Linux using that, and even let it use the Windows SAM password db the users login would be seemless.

It also comes with a program called smbclient, which you can set up to mount Windows drives on Unix, and set the username and password in a simple script.

Hope that helps,

Let me know if it's too general.

Best wishes,

Mike

dilipsharma2006 05-01-2008 04:51 AM

hi

Could you tell me how to do this

I tried smbmount with that shared folder then it prompt for username and password after entring
it start proccessing . then i got nothing
some times it shows error could not show contents

while i m able to see that remote folder contents using smbclient
but user want's an easy solution.

thanks in advanced

eggixyz 05-01-2008 02:16 PM

Hey There,

No problem at all. Actually, while I was looking up some information to make sure I didn't give you any wrong advice, I came across these two pages that nail down pretty much every detail of:

mounting linux shares in windows:

http://ubuntuforums.org/showthread.php?t=202605

and mounting windows shares in linux:

http://blog.unixlore.net/2006/05/acc...-gnulinux.html

They're both Ubuntu-specific pages, but the instructions are universal. I'd love to take credit for having written them, but somebody else beat me to it ;)

Once you have those basics set-up, you should use "swat" (if possible) to manage your samba setup. In my experience, samba's gotten so many different settings over the years that I'm always surprised when I pull up "swat" and switch it to advanced mode (where you see every possible option - since the default smb.conf file doesn't show you any options that are turned off by default.

Hopefully those help you. If you have any questions about their content, let me know. I might be reading them and assuming some knowledge I already have, but they seem like they're very well thought out and step-by-step thorough.

Best wishes :)

, Mike


All times are GMT -5. The time now is 08:06 AM.