LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-04-2003, 08:24 PM   #1
ApacheMan252
Member
 
Registered: Feb 2003
Posts: 37

Rep: Reputation: 15
Which FTP server?


Hey, I am wondering what everybody would recommend for a good ftp server. I was thinking of going with either Proftpd or vsftpd. I want one where it lays everything out to you, where it tells you how to configure something. What the main points that I will want to configure is usernames/passwords and the home directory. Is there such a thing? If not, could somebody give me a step by step instructions on setting up one of these ftp servers?

Thanks

EDIT: sorry, the os that I have is RHL 7.3

Last edited by ApacheMan252; 02-04-2003 at 08:25 PM.
 
Old 02-04-2003, 09:40 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
vsftpd comes with RHL 7.3. that's that one i'm using as i comfortable with. though proftpd seems to offer more options (i use it in slack 8.1).

make ur choice then post your questions for the service that u need.
 
Old 02-05-2003, 01:38 PM   #3
ApacheMan252
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks, I will go with vsftpd. I am a to this, how would you install it? I downloaded the .tar file but what do I do next? Also, once I get it set up, how do I set usernames and passwords and the home directory for each username?

Thanks for your help.
 
Old 02-05-2003, 09:05 PM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
if u have the tar, use this:

tar -xvf filename.tar

but if you have the tar ball (.tgz or .tar.gz), use this:

tar -zxvf filename.tar.gz

this is most likely the source so you need to compile it. look into the INSTALL file or README file that came with the extracted tar file.

BUT, if want to do it the easy way, just yank your RHL installation CD and install the rpm file:

rpm -ivh /mnt/cdrom/RedHat/RPMS/vsftpd*.rpm

or, if you don't have the disks, get it from ftp://ftp.redhat.com/

to enable vsftpd:

/sbin/chkconfig vsftpd on

by default, each user u create via adduser or any user admin tool, will be able to ftp (if you enable ftp). their default ftp directory will be their /home directory that was assigned to them when their accounts were created.

there are a few threads in LQ related to some vsftpd setup, u might want to search for them for some tips.

hth.
 
Old 02-06-2003, 05:12 AM   #5
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
proftpd offers lots of configuration stuff, so if you go with it you'll have lots (read long) of fun tweaking it up
 
Old 02-06-2003, 01:34 PM   #6
ApacheMan252
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks

Last edited by ApacheMan252; 02-06-2003 at 05:20 PM.
 
Old 02-06-2003, 04:40 PM   #7
ApacheMan252
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
And one more thing, I just tried to install it, and I got the following message after I did tar -zxvf:

# cd vsftpd-1.1.3

# make
gcc -c main.c -02 -Wall -W -Wshadow -idirafter dummyinc
Make: gcc: command not found
Make: *** [main.o] Error 127

I read the install file, and it said to do make, but I get this error message. Any suggestions?
 
Old 02-06-2003, 09:16 PM   #8
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
gcc might not be installed yet. yank your installation cds and install gcc. (gcc is the compiler)
 
Old 02-07-2003, 10:09 PM   #9
ApacheMan252
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Ah, I am about to give up on vsftpd, and here is why:

After I tried to download gcc, I found out that I needed some more packages. I dont want to list all of the packages that I already installed, but lets say that I have installed about 5 packages. That doesnt sound like too much, but here is the list that I need for just gcc and libc.so.6 (another file that I need for vsftpd):
glibc-devel
libgcc
kernal-headers
glibc
glibc-devel

And that is whre I stopped, I dont know how many more after that I need. Anyways, in my control panel, I have kwuftpd. Is that any good? I am thinking since it is already installed (and it has a GUI) I will just use that. I am planning on only me being able to FTP in my network (while I am in the network, so there will be no outside FTPing, the ftp ports will be closed), so I should be fine security wise. Also, how do I actually start kwuftpd?

Thanks
 
Old 02-07-2003, 10:36 PM   #10
ApacheMan252
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
I would still like to know the answer about kwuftpd, but I thought of something. Is there any way that I can install the whole folder of rpms from my RH cd? I tried it in KPackage I couldnt figure it out, but I figured out how to install just one rpm. For an example, if I wanted to install all of the Internet folder's rpms, how would I do that. Also, if I can do that, what folder would gcc and all of its other rpms that I need be under?

thanks
 
Old 02-08-2003, 02:51 PM   #11
ApacheMan252
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Somebody.... Anybody?

(bump)
 
Old 02-10-2003, 02:33 AM   #12
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
well the easies way to do this is to do an upgrade install, manually select packages and add gcc. all needed packages will then be handled automatically.

copying all the rpm files to your hard drive:

1. mount /mnt/cdrom # disk 1

mkdir /source

cp -a /mnt/cdrom/RedHat /source

2. after first CD is finished redo the mounting and cp -a commands.

u won't get into compiling if u choose to use the vsftpd package that comes with Red Hat Linux 7.3.
 
Old 02-11-2003, 04:58 PM   #13
ApacheMan252
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks, it is working now! A reinstall did it... Anyways, I have a little different problem that is probably really easy to solve.. Here is the error message that I am getting:

227 Entering Passive Mode (xxx,xxx,x,x,xx,xx)
Opening data connection IP: xxx.xxx.x.x PORT: xxxx.
STOR index.html
553 Could not create file.

Is there a setting in vsftpd.conf that lets me create a file?

Thanks
 
  


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
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 05:14 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
How do I set my FTP server to accept passive FTP? imsam Linux - Newbie 3 12-12-2004 06:22 AM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:26 AM.

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