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

Notices


Reply
  Search this Thread
Old 09-02-2005, 02:17 PM   #1
tyranus
LQ Newbie
 
Registered: Aug 2005
Posts: 22

Rep: Reputation: 15
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,
 
Old 09-02-2005, 02:45 PM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
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.
 
Old 09-02-2005, 03:09 PM   #3
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
I use proftpd and it works fine for me.
 
Old 09-02-2005, 03:56 PM   #4
Feminista
Member
 
Registered: Sep 2004
Distribution: Gentoo, OS X
Posts: 37

Rep: Reputation: 15
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.
 
Old 09-02-2005, 04:07 PM   #5
ironwalker
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: Reputation: Disabled
I like glftpd.
 
Old 09-03-2005, 12:52 AM   #6
tyranus
LQ Newbie
 
Registered: Aug 2005
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 09-03-2005, 01:32 AM   #7
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
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.
 
Old 09-03-2005, 09:46 AM   #8
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
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?
 
Old 09-03-2005, 05:17 PM   #9
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
MasterC has done an excellent how-to for proftpd found Here
 
  


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
debian sarge server uses a lot of memory cccc Debian 2 08-08-2005 04:56 PM
Hosting secure chat on a debian Sarge server ironjohn Debian 2 07-21-2005 03:28 AM
Debian sarge refuses to connect to any irc server mamal LinuxQuestions.org Member Success Stories 1 01-14-2005 03:40 PM
Debian sarge refuses to connect to any irc server mamal Linux - General 0 01-14-2005 03:18 PM
Debian Sarge Server Setup LinuxGeek Debian 4 10-19-2004 10:35 PM

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

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