LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-03-2006, 11:14 PM   #1
kate45
LQ Newbie
 
Registered: Feb 2006
Location: Sunny South west <GA transplant>
Distribution: Fedora C5, Suse10, and yes XP
Posts: 2

Rep: Reputation: 0
Question How would I set up a small FTP Server?


I am still figuring out The Fedora and I am trying to set up a small <private> FTP Server mainly between my son <runs windows> and I. I haven't really done this before, and am not sure where to start. I searched the forums and only found vague info on large scale servers. I would really appreciate it if someone could discuss this with me. If there is a better way to share files between his and mine it would be helpful. I build computers and have them humming in no time flat, but haven't quite got a handle on file transfer things. We send alot of files back and forth in the snail mail, but I know it can be done, but am not sure quite how to go about it.
Thanks,
 
Old 05-03-2006, 11:29 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
If your son is on the same LAN as you, look into Samba. If you are looking at sharing files over the internet, I suggest using SFTP and SCP.

SFTP and SCP are part of SSH, and is more secure than FTP because everything is encrypted whereas FTP is plain-text. Basically, you need to install OpenSSH on your Fedora Box (It probably is already there) and install Putty or WinSCP on his Windows Box. Then make sure Port 22 is open on your file server, and if you are behind a router make sure that Port 22 is forwarded from the router to your Fedora box.

Test that ssh is running on your machine by running "ssh localhost" and it should connect to the SSH server running on your machine. If so, you should be able to connect using Putty from your son's machine. Obviously, you need to know what your Public IP address is. You should then be able to share files using WinSCP (A graphical file transfer utility). I have some other info Here.

I hope this helps
--Ian
 
Old 05-03-2006, 11:29 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
There are a couple of ways to do this - probably the simplest for configuration would be vsftpd to provide FTP. Although if you're both familiar with Windows shares, it may be easier to use Samba.

Both of those should be installed by default, although they may not be configured to work just yet. There's a tutorial for vsftpd at http://www.linuxhomenetworking.com/w...VSFTPD_Started which should explain the basics (as well as a lot of other stuff you won't need). For Samba, the info at http://us1.samba.org/samba/docs/man/...html#id2518784 is good.

I'd suggest just trying it and then asking more questions based on how you'd like everything to operate. As long as your box can't be directly accessed from the internet there's little risk.
 
Old 05-03-2006, 11:44 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
I say use FTP. vsftp to be specific. Here's a nice little tutorial, to get you started. If you only set up a server on your Linux box, you'll need to make sure whoever will use it has write access to /home/ftp/pub, or whatever you set up as the ftp directory. A good ftp client for Windows is FileZilla.
 
Old 05-04-2006, 01:54 AM   #5
fedorarulez
LQ Newbie
 
Registered: May 2006
Distribution: fedora core 5
Posts: 4

Rep: Reputation: 0
make also a chrootlist!!!!

otherwise users can browse over your system
 
  


Reply



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
Small Linux for Cups/Web/FTP Server?? 635mb hdd and 200mhz processor Dimitriy Linux - Newbie 2 12-19-2005 09:55 PM
How do I set my FTP server to accept passive FTP? imsam Linux - Newbie 3 12-12-2004 06:22 AM
FTP server: small problems WiWa Linux - Networking 1 09-19-2003 12:58 PM
How to set up ftp server scialom Linux - Software 9 07-24-2003 05:04 AM
ftp server - how do I set it up? chapzilla Linux - Newbie 3 06-28-2003 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:40 PM.

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
Open Source Consulting | Domain Registration