Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-29-2004, 11:19 AM   #1
Registered: Dec 2003
Posts: 64

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


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, 11:25 AM   #2
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, 11:28 AM   #3
Registered: Dec 2003
Posts: 64

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


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, 11:48 AM   #4
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: 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.


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

All times are GMT -5. The time now is 09:28 PM.

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