View previous topic :: View next topic |
Author |
Message |
Dexter2004 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jul 2004 Posts: 123
|
Posted: Sat Jul 24, 2004 5:04 pm Post subject: Share Folder |
|
|
How can i share a folder in the network??
thanks
Dex |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
radonsg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1009696065410c9e1de247d.gif)
Joined: 26 Jun 2004 Posts: 257 Location: Singapore
|
Posted: Sat Jul 24, 2004 5:30 pm Post subject: |
|
|
can u be more precise. Share a folder, in wat? NFS? Samba? or wat? _________________ Athlon64 3000+ on a MSI Neo2 Platinum (nVidia nForce3)
1 Sata Hitachi (HGST) 7K250
1 Sata Samsung SpinPoint
2 x 512MB TwinMos DDR400 Dual Channel
Geforce 5200 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
oiper Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/141691202643c5980de2a0f.jpg)
Joined: 01 May 2003 Posts: 316 Location: Alabama, US
|
Posted: Sat Jul 24, 2004 5:39 pm Post subject: well |
|
|
Do you want it accessible by other linux machines or Windows machines. (or Macs, but I just realized that I'm not sure what network shares a Mac can see! )
So, for other linux machines, you are going to need to
and then
so that you can read about how to edit your /etc/exports file for sharing. An example of sharing to all ip's from essentially 192.168.2.0 to 192.168.2.254 is
Code: | # /etc/exports: NFS file systems being exported. See exports(5).
/storage/videos 192.168.2.0/255.255.255.0(ro,no_root_squash,sync)
|
That gives read only access to anyone with an ip in that range that is running nfs. All machines accessing nfs need nfs-utils also. I've not found nfs to be browsable yet without mounting the share, so, to use it, you'll need to mount the share either by command:
Code: | mount -t nfs bobsComuter:/storage/videos /mnt/somedir
|
or in your fstab
Code: | bobsComputer:/storage/videos /mnt/somedir nfs defaults 0 0
|
For windows sharing, you use samba. And well, there is plenty of talk about that on here. After emerging samba, here is a small example of a share in /etc/samba/smb.conf:
Code: | [global]
map to guest = Bad User
guest ok = yes
domain master = no
preferred master = no
max protocol = NT
security = share
server string = Feel free to grab anything you see here.
[Shows]
comment = Shows
path = /storage/videos/
guest only = yes
writable = yes
|
So, I'm not sure what all you know about this. I don't know a lot, but I run both types of shares and run them for 2 networks. Just don't forget to add samba and nfs as rc services. ie. rc-update add nfs default, and so on. ![Smile :)](images/smiles/icon_smile.gif) _________________ www.bearscanfly.org - Because hiking is cool |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dexter2004 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jul 2004 Posts: 123
|
Posted: Sat Jul 24, 2004 5:52 pm Post subject: |
|
|
thanks for the help |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|