Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-17-2004, 11:26 AM   #1
LQ Newbie
Registered: May 2004
Location: Viet Nam
Posts: 9

Rep: Reputation: 0
how to share files with others

How can I share files;
+ Of two PC that are running Fedora core1
+ Of 1 PC Red Hat 9 with 1 PC Fedora core 1
+ of 1PC Fedora 1 with 1 PC running Winxp, Win2000.

I'm very new to Linux. help me please!
My English's not very well.

thanks alots!
Old 05-17-2004, 11:29 AM   #2
Registered: Sep 2003
Posts: 240

Rep: Reputation: 30
linux - linux sharing = use NFS or Samba

linux - windows sharing = use Samba
Old 05-17-2004, 11:36 AM   #3
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
My suggestion is to set up a Samba server. the smb protocol allows you to transfer files between a windows and a linux machine. It can also be password protected, which is good!

Do you happen to have a copy of the Red hat Linux 8 Bible? if so, that has a REALLY good section on getting your samba server running.

The basic steps to it are:
1. install samba on your server and clients. make mount point on your clients, eg #mkdir /mnt/samba
2. Edit your config file on your server (/etc/samba/smb.conf). When I get home tongith, I will post mine, it is VERY basic as I'm only sharing some files.
3. Add samba users. In order to add samba users, the users must already have an account on your server. Do this: (skip first two lines if the already have an account)
#useradd -m bob
#passwd bob
<enter password>

#smbpasswd -a bob
<enter same password as above>

Start samba on all machines:
#/etc/init.d/samba start

On linux, you can mount the remote filesystem like this:
#mount -t smbfs username=bob,password=<password> //<server IP>/bob /mnt/samba

On the windows box, it should just appear in the networking (i think, but I have never tried).

Hope this at least points you in the right direction. As I say, i will post my smb.conf tonight. In the meantime, google around and find out a bit more about the smb.conf file.

Old 05-17-2004, 08:15 PM   #4
LQ Newbie
Registered: May 2004
Location: Viet Nam
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks you all!!
I'll try.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
need to share files irish rebel SUSE / openSUSE 3 12-19-2004 06:12 PM
want to share files airmikeyy Linux - Networking 1 04-14-2004 11:15 PM
Share files Gerardoj Linux - Networking 1 03-20-2004 10:55 PM
share files? Longinus Linux - Newbie 2 03-20-2004 12:06 AM
how to share files gonemad Red Hat 8 09-08-2003 01:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration