Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using a mac shared drive
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
bgradid
Apprentice
Apprentice


Joined: 21 Mar 2005
Posts: 162

PostPosted: Sun May 22, 2005 1:03 am    Post subject: Using a mac shared drive Reply with quote

I want to set up an apache server for a friend, but, using his mac's hard drive over the network (using OSX) would be great, so the documents would be symlinked from it, over to the webfolder of the linux server, saving a lot of hard drive space and trouble for him copying things over an FTP.
Would such a thing be possible? Would it require samba?
Thanks.
Back to top
View user's profile Send private message
m00dawg
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2003
Posts: 145
Location: Texas

PostPosted: Sun May 22, 2005 5:48 pm    Post subject: Reply with quote

If he is using OS X, you can use nfs or samba to accomplish this. In your case, if you want to mount his drive to your linux box, you will need to figure out smbmount which I have never used (I usually go the other way - from a Linux box to my iBook).

nfs is probably your best bet if he is using a desktop, since nfs works great but isn't as user friendly as samba is on OS X (and is thus a small pain on a laptop). Basically, as far as I can tell, you setup nfs in OS X the same way you do in Linux (with an exports file and specifically mounting the remote fielsystem). I haven't had the need to fully setup any NFS stuff on my iBook, however, so this is just a small guess; but I know it works (you may just need fink or something of that sort to setup an actual server, but I think it has client support).

If you have space on the Linux box, it may be better to put the files needed by the webserver there isntead of serving it from the Mac. This is because you don't want to increase the amount of network traffic, by having to grab the file off of a file-share and then send it to someone else on the network. I would also consider Linux to be more rock-solid at sharing files, and as I hinted to above, using Samba to mount shares from Linux seems easier than the other way around. And if you wanted to use nfs, you don't have to figure out how to setup an nfs server on the Mac (it may only come with a client).
_________________
www.moocowproductions.org
Back to top
View user's profile Send private message
bgradid
Apprentice
Apprentice


Joined: 21 Mar 2005
Posts: 162

PostPosted: Sun May 22, 2005 6:07 pm    Post subject: Thanks Reply with quote

Thanks, that reply was exactly what I needed. I figured it'd increase network traffic a lot, but it's a small home network, and a very private home web server. I'm glad NFS is a possible option under OSX.
:D
Cheers!
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