Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Best way to fileshare?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Sun May 18, 2003 3:55 pm    Post subject: Best way to fileshare? Reply with quote

What is the best/easiest way to mount a filesystem from another linux box?
Back to top
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Sun May 18, 2003 5:45 pm    Post subject: Reply with quote

NFS

Enable NFS support in your kernel (might be enabled by default - in filesystems), emerge nfsutils. Edit /etc/exports on the computer that's serving files (man exports - it's pretty explanatory and easy... it can be as simple as directory_name *(ro,sync) to let everyone access the directory (read only)). Then fire up NFS on that system (/etc/init.d/nfs start). On the PC that wants to access the files you can add the exported directories to your fstab (also pretty easy, there's a lot of examples in the forums and on the internet) and add portmap and nfs to your default runlevel to mount them automagically, or you can mount them manually whenever you need them.
Back to top
View user's profile Send private message
slougi
Apprentice
Apprentice


Joined: 12 Nov 2002
Posts: 222
Location: Oulu, Finland

PostPosted: Sun May 18, 2003 5:47 pm    Post subject: Reply with quote

NFS
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Sun May 18, 2003 5:48 pm    Post subject: Reply with quote

Thanks. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum