LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-17-2004, 12:26 PM   #1
tyt_g207
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, 12:29 PM   #2
t3___
Member
 
Registered: Sep 2003
Posts: 240

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

linux - windows sharing = use Samba
 
Old 05-17-2004, 12:36 PM   #3
hamish
Member
 
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.

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

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


Reply


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 07:12 PM
want to share files airmikeyy Linux - Networking 1 04-15-2004 12:15 AM
Share files Gerardoj Linux - Networking 1 03-20-2004 11:55 PM
share files? Longinus Linux - Newbie 2 03-20-2004 01:06 AM
how to share files gonemad Red Hat 8 09-08-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:17 AM.

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