Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-02-2005, 02:17 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Posts: 22
Rep:
|
FTP server in Debian Sarge
I`m interested in having an FTP serv er in my PC.
So, if is there anyone who can help me with the steps for installing one I`ll be very thankful.
Regards,
|
|
|
09-02-2005, 02:45 PM
|
#2
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
You can install wu-ftp with:
apt-get install wu-ftpd
I believe that's it. It will be configured for you! However, if you're using something other than a standard Debian install, you might have to manually open up the firewall (for example, Mepis has a very restrictive firewall by default).
Also, if you're running an ftp server behind a router/firewall and want to access the ftp server from the outside, you'll have to configure your router/firewall to port forward ftp requests to it.
If you want to get fancy and modify the allowed/restricted hosts, see this tutorial:
http://www.aboutdebian.com/internet.htm
You'll have to scroll down to near the bottom or do a text search for "ftp", to skip past the stuff about web servers and such.
|
|
|
09-02-2005, 03:09 PM
|
#3
|
Member
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334
Rep:
|
I use proftpd and it works fine for me.
|
|
|
09-02-2005, 03:56 PM
|
#4
|
Member
Registered: Sep 2004
Distribution: Gentoo, OS X
Posts: 37
Rep:
|
Yeah, I just installed proftpd on a testing server today, and it works perfectly.
But I'm sure any mainstream FTP server would be fine, just depends on what you want your config file to look like.
|
|
|
09-02-2005, 04:07 PM
|
#5
|
Member
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506
Rep: 
|
I like glftpd.
|
|
|
09-03-2005, 12:52 AM
|
#6
|
LQ Newbie
Registered: Aug 2005
Posts: 22
Original Poster
Rep:
|
I installed proftpd but I know nothing about it`s configuraton and when I try to access it. It`s asking for a user and pass.
Need some help with that!
Regards
|
|
|
09-03-2005, 01:32 AM
|
#7
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
Ftp is supposed to ask for a userid and password. Type in your user name and password (when you installed Debian, you had to specify one normal user and password). It will start you off in your home directory.
|
|
|
09-03-2005, 09:46 AM
|
#8
|
Member
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334
Rep:
|
proftpd WONT start it your home directory (atleast, it didn't when I installed it). It will start in / which may be a security problem depending on who uses your ftp server. To change this, you going to have to add this to /etc/proftpd.conf
Code:
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
I usualy stick that at the bottom of the file. If you look up a bit, you will notice a section for anonymous login. Starting after the line "# A basic anonymous configuration, no upload directories." uncomment down to "# Uncomment this if you're brave." and then uncomment the line "#</Anonymous>" near the end of the file. This will ask you for a username (anonymous or ftp) and a password (anything you want). Does anyone know how to disable this asking for a username and password entirely?
|
|
|
09-03-2005, 05:17 PM
|
#9
|
Member
Registered: May 2003
Distribution: Debian
Posts: 153
Rep:
|
MasterC has done an excellent how-to for proftpd found Here
|
|
|
All times are GMT -5. The time now is 11:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|