LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Question about sharing files within a private network (https://www.linuxquestions.org/questions/linux-networking-3/question-about-sharing-files-within-a-private-network-217395/)

Rajahuroman 08-14-2004 12:50 AM

Question about sharing files within a private network
 
Hello

Where I read somewhere that the fastest method for file sharing would be ftp. I'm now struggling to set up a ftp server and I will eventually do this (but I already started question about this on another thread so I won't put them here also). My question however is another one.

Do any f you know about a more practical way way of sharing files within a local network od type C running only Linux Operating Systems, other than ftp? I mean, some method using mount preferably. Is Samba the only solution?

Please give me your suggestions and maybe some pointers about how to do the things you propose.

Thank you for your time, I know it's valuable.

ToniT 08-14-2004 01:00 AM

nfs

Rajahuroman 08-14-2004 01:32 AM

I tried logging in as root and running

mount -t nfs 192.168.0.2:/home/rajah /home/danolar/calc2

and I got

mount: RPC: Remote system error - Connection refused

So, can somebody tell me what's next?

ToniT 08-14-2004 02:00 AM

You have to first "share" (it is called exporting in nfs) the part of the filesystem from the server.

To do this, modify the /etc/exports (in the server) and run
/etc/init.d/nfs-kernel-server restart
(or "/etc/init.d/nfs restart" in some distributions).

Also portmapper has to be running in both ends of the system. This can be checked by running "rpcinfo -p localhost" and "rpcinfo -p 192.168.0.2". If they are not, starting the portmapper helps. (something like: "/etc/init.d/portmap start" should do it.)

Now running the mount command again should work.


All times are GMT -5. The time now is 11:21 PM.