file sharing

Kim Briggs patiodragon at gmail.com
Sat Nov 11 17:50:57 UTC 2006


On 11/11/06, Linda Hanigan <haniganwork at earthlik.net> wrote:
>
> Hello,
>    I would like to have one computer with all of our open office
> documents, that way we do not wind up with multiple versions of the same
> documents. My idea is to use samba to share the files with windows xp
> machines and NFS to share with Ubuntu machines. Is this the best way to
> do this. It is a small network with 5 computers.
>

Hi Linda,

Here's is what I did at my house.  The big thing is that there is already a
Firewall  supplied by our "blue box" little router, so this is considered a
trusted LAN.  That, and it's a home network and we don't keep anything that
can't be lost on our computers.

http://kimbriggs.com/computers/computer-notes/linux-notes/samba-setup-guide.file

The samba package should be able to be installed using the Synaptic package
manager (I have it on a different distro), but the real trick is in the
smb.conf file.  I had to do some research to get it "open".

To mount files remotely using NFS.  I have a script that I open a terminal
and execute once at the beginning of a computer session where I need the
files.  It is in my home directory and I need to type "./file_nam.sh" and
that's it.  I know there is a way to do it automatically, but I thought I
remember reading that the NFS client will "hang" and keep looking if your
server isn't serving the files.  The script looks like this:

sudo mount 192.168.9.10:/home/ubluestone/Documents
/home/ushrub/documents -o rw
sudo mount 192.168.9.10:/home/ubluestone/photos     /home/ushrub/photos
-o rw
sudo mount 192.168.9.10:/home/ubluestone/public_html
/home/ushrub/website   -o rw
sudo mount 192.168.9.10:/home/ubluestone/music     /home/ushrub/music     -o
rw
sudo mount 192.168.9.10:/backup/music_CDs         /home/ushrub/music_CDs -o
rw

good luck,
-- 
http://kimbriggs.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061111/6ccf2822/attachment.html>


More information about the ubuntu-users mailing list