On Wednesday 03 February 2010 11:55:07 am Koenraad Lelong wrote:
Hi,
I'm setting up a new home-server. One of the things it has to do is sharing files, so they can be backed-up. What's the "best" way to share files between linux-machines ? Now I have Samba. I'm thinking of replacing it by NFS. I have a desktop PC that's used by the family. Sometimes I connect with my work-laptop (dual boot linux, seldom Windows). I want personal shares and a "shared" share.
Just something to get started with.. Let's imagine that 10.0.0.10 is the client machine and 10.0.0.11 is the server. /home/user is the directory to be shared at the server. In the server side, create/modify following files: ----------------- /etc/export: add the following line: /home/user 10.0.0.10/24(rw,async) Then you can try nfs with the command (being root): /etc/init.d/nfsserver restart If I remember correctly, yast has a module for further configurting NFS ---------------------- In the client side: -------------- etc/fstab: add the following line: 10.0.0.11:/home/user xxx nfs auto 0 0 where "xxx" is the directory in the client side. Then you can run the commands: chkconfig nfs on umount -a --------------- More info at http://en.opensuse.org/NFS Cheers, Sampsa
Comments please.
Thanks,
Koenraad Lelong.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org