Find the answer to your Linux question:
Results 1 to 8 of 8
friendz.. how to share files in FC9. me and my friend using FC9.... how to share files between two FC9. normally i use shell link through mc... but i dont ...
  1. #1
    Just Joined! rjayavrp's Avatar
    Join Date
    Apr 2009
    Location
    Incredible India
    Posts
    42

    Question linux to linux

    friendz..

    how to share files in FC9.

    me and my friend using FC9.... how to share files between two FC9.

    normally i use shell link through mc... but i dont have mc.

    thanks in advance

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Post

    If you want to transfer files/directory then use scp command

    If you are interested in sharing directory with another machine,use nfs. It's pretty simple.

    Make sure nfs daemons running on both machines.

    First setup the server
    Setting Up an NFS Server

    and then client

    Setting up an NFS Client
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined! rjayavrp's Avatar
    Join Date
    Apr 2009
    Location
    Incredible India
    Posts
    42

    Arrow

    i did the following....

    SERVER:

    vi /etc/exports
    /usr IPaddress_of_client(ro)
    service nfs start

    now im able to see nfs running..

    CLIENT:

    service nfs start
    mount IPadd_of_server :/usr

    but im not getting anything in client.....

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    In server you need to run the command
    exportfs -va

    and make sure you have correct entries in /etc/hosts.allow and /etc/hosts.allow files as mention in previous link.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  5. #5
    Just Joined! rjayavrp's Avatar
    Join Date
    Apr 2009
    Location
    Incredible India
    Posts
    42
    error comes like

    mount.nfs : Internel error

  6. #6
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    try disabling any firewall in both machines using command
    /etc/init.d/iptables stop
    Make sure all nfs daemons are getting stoppped and restarted while
    service nfs restart
    and then check this link looks like similar issue.
    nfs internal error - FedoraForum.org

    and post your exact error message with error numbers ,if any.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  7. #7
    Just Joined! rjayavrp's Avatar
    Join Date
    Apr 2009
    Location
    Incredible India
    Posts
    42

    Unhappy

    k..

    can you give me an example how to use scp...

    jay(10.x.x.xx) wants to share /usr/sample.txt with siva(10.x.x.yy)

    i tried with man page and googled...

    scp siva@10.x.x.xx /usr/sample.txt
    but "No such file or directory" is coming...
    file is there im sure..

  8. #8
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    Copying a file called /home/lg/text.txt from local machine (10.237.214.254) to remote machine (10.237.214.250) under location /root

    Here it's (I'm logged into localmachine)


    scp /home/lg/text.txt root@10.237.214.250:/root
    Now it prompt for root password of remote machine . and files are transferred.

    if you want copy remote machines files say /root/remote.txt to localmachine /tmp
    then use
    (I logged into localmachine)


    If you want to copy directory (/home/lg) then use -r option with scp

    scp -r /home/lg root@10.237.214.250:/root
    I think now
    man scp
    will help you
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

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