Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I am new to linux. I have two RHEL 6.1 64 bit desktop computers. I want to share a folder from one to the other but I can't seem ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    34

    Network File Sharing (New Linux User)


    Hi,

    I am new to linux. I have two RHEL 6.1 64 bit desktop computers. I want to share a folder from one to the other but I can't seem to get it working and haven't found many resources online to help.

    Any help is appreciated.

    Thanks!

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    The standard is to use nfs (network file system) to share between Linux computers. What steps have you taken, how have you done whatever you have done and what problems such as warnings or error messages have you recieved?

    googling configure nfs on red hat should give you some help.

  3. #3
    Just Joined!
    Join Date
    Jul 2011
    Posts
    34
    to tell you the truth I don't even know where to start...

    I am using to windows just being able to click on the folder and share it.

    Then map it by the ip address and share name.

    I have been playing around but I couldn't even tell you what I have done.

    If you have any tips to try for a beginning I would appreciate it.

    Thanks.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    I'm not a Red Hat user so I can't give you any specifics from experience. googling it should give you a number of results similar to the link below:

    RHEL 6 for the Clueless: Samba Server (Updated) Do What's Right

    I just googled samba on red hat 6.0

  6. #5
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    - Basic NFS instructions -

    on the first RHEL box:
    1. put your directory to share and who can access it in the file /etc/exports, e.g.
    Code:
    /data 192.168.1.0/24(ro,sync,no_root_squash)
    2. start the NFS server (et al):
    Code:
    service nfs start
    NOTE: substitute your own network address of ip where I've put 192.168.1.0/24.

    on the 2nd (client) RHEL box:
    Code:
    mkdir /nfs
    mount -t nfs <IP_OF_FIRST_RHEL_BOX>:/data /nfs
    NOTE: If your client can't connect, you'll probably have to disable the firewall on the first box to get it working:
    Code:
    service iptables stop
    You can then put the proper entries into your firewall config to allow NFS thru (just run 'system-config-firewall' on the first box).
    Last edited by atreyu; 09-01-2011 at 03:29 PM. Reason: added NFS title

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •