LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-29-2004, 10:19 AM   #1
imsam
Member
 
Registered: Dec 2003
Posts: 64

Rep: Reputation: 15
Question How do I start FTP server?


Hi,

How do I start FTP service and make sure that I can FTP into my default web site?

When I typed open localhost on the FTP prompt, I got connection refused. Does it mean FTP service is not running? How do I make sure that it is. If it's not running, how do I start it and make sure that it starts everytime I reboot the server.

Also how do I make sure that I can FTP into my web sites? I'm running Scientific Linux and Apache 2.0.
 
Old 11-29-2004, 10:25 AM   #2
vito_huang
Member
 
Registered: Oct 2004
Posts: 68

Rep: Reputation: 15
you can use service command to check or start it.
service httpd status
see the service manpage for details
 
Old 11-29-2004, 10:28 AM   #3
imsam
Member
 
Registered: Dec 2003
Posts: 64

Original Poster
Rep: Reputation: 15
If httpd is running, does it mean FTP is too?

Hi,

If httpd is running, does it mean FTP is too? I know that httpd is running. So how do I FTP into my web site then?
 
Old 11-29-2004, 10:48 AM   #4
tenmiles
Member
 
Registered: Nov 2004
Distribution: fedora core 3
Posts: 43

Rep: Reputation: 15
u need and ftp daemon. i use proftpd just because it is really easy to use. once u download and install there is a config files /etc/proftpd.conf (i think, cd to /etc and look around). if u want to disable anonymous login it is in there as well as port changing(if u need to, my isp wont let me use the default ports). there is just one other file that u have to change (dont remember what it is though, sorry) that has a list of all of the ports and the associated protocols, just change that if u need to. then all you have to do is (for anonymous ftp) type in the address bar ftp://ipaddress:port(if not the default) and ur good. if u disable anonymous ftp u need to type in ftp://username:password@ipaddress:81 (note that the ipaddress can be replaced with a site name, ex: www.google.com). u can also use an ftp client to download like gftp. the make sure that u go into the services menu (i know there is one in fedora, not sure of others) and check the box next to the ftp daemon ur using and save. then it will start the ftp server when u start the comp. you should know that the usernames for linux are the ones it looks for as ftp logins when using non anonymous ftp. u cannot use root and in the config file it has the user and group that is allowed to ftp in. for some reason proftpd allows only 1 login. i just give out that login whenever i want someone to be able to download and then change the pass as necessary. there is an option that supposedly limits people who ftp in to their home directory, but whenever i use that it causes the whole service to not work. you should also know that people that ftp in have access to all files and can change/delete their files. there are a number of security flaws here so be careful. i dont know what they are, but i know they are there.

have fun, i hope this helped some.
 
  


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
How to start and run FTP server?? zaoka Linux - General 4 07-30-2005 05:01 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
start ftp server ust Linux - Software 4 09-15-2004 11:50 AM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM
How do I start the ftp server on RedHat 7.1? cyanide Linux - Newbie 1 10-26-2001 03:06 AM

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

All times are GMT -5. The time now is 01:44 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