LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-16-2003, 08:08 PM   #1
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
ftp


i would like to set up to ftp. i have files that i would like to be available to browse through and download securely. i think that this would be a good learning experience for me. i see that ProFTPD is considered by this group to be the most popular. this will not be a high traffic site. i am though dynamic. is this even possible given the dynamic ip address circumstances. also i will be running this from the same computer im typing this on. if it is possible maybe someone can point me in the right direction to get started.
 
Old 02-17-2003, 12:35 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Hi Is this going to be running on RH or another distro? Just wondering on that, I don't think it'd make a ton of difference, just curious really...

As for security, depends on how secure you want to go. I don't think (no, I'm not inviting anyone to try, I am sure anyone can easily hack me, so be nice ) I've been hacked on my current distro, and I've been running ProFTPD on it for quite some time now. I have a basic setup, a few custom tweaks in the proftpd.conf file (which you can view at ftp://masterc.no-ip.org/share ) and a few tweaks to my "FTP" users to restrain them to their home directory and above (or below, whichever way you look at it) only.

As for your dynamic IP, that'll help with security, but unless you are amazing at remember your short-term IP I'd suggest looking into dynu.com or www.no-ip.com (who I use ). What these sites do is allow you to have a dynamic IP on your system, and a client that detects this IP and sends it to their servers. This keeps your DNS (which is a name associated with your IP) attached to your IP all the time. Makes it much easier to remember your computer name when connecting via FTP. For example, my current IP is 1.2.3.4 (just for example, it's not really my ip obviously ) and next time I dial up (if I had dial up) it would change to 1.3.5.7 Well the client on my system would detect this change and send my new IP to the dynamic DNS provider. They would then associate this new IP with my DNS name (masterc.no-ip.org) and the people browsing my site (and me) would be none-the-wiser that my IP changed.

Anyway, back to FTP server. You can set it up to fit your needs fairly easily. Pretty much a default install would work, with simply adding a DefaultRoot for the root directory of your FTP tree (something like /var/ftp or /home/ftp).

Have fun, and when you are setup and have questions, I'll be happy to help

Cool
 
Old 02-17-2003, 01:07 AM   #3
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
hey thanks,

yeah i stumbled across no-ip while researching guess i should have taken more time with my searching before posting. thanks for the input. i used apt-get to install ProFTPD and it seems there is no gui. I'm trying to figure out right now if it uses a GUI but it doesn't seem to. i have a partition i would like to use for my ftp stuff. ftp://masterc.no-ip.org/share seems to be down ill try back later. what i would really like to do eventually is host my own website and ftp server. but i figured i would try the ftp first to get a understanding. writing html is cake so thats no problem.

I'm running red hat 8.0 with kde 3.1

i only have 128 upload which will be plenty enough for what i want to do.

actually what i want to do is share some mp3 files that are free to share legally (not that i care www.boycott-riaa.com)
www.djdoboy.com i have collected his music for the last 2 years. and would like to make them available to who ever wants them.

thanks once again MasterC,
AD
 
Old 02-17-2003, 01:44 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yeah, you can get a gui called webmin, however I prefer to first learn the server then slap a gui on it for ease of mainence (much easier for troubleshooting if you've got an idea of what your conf's look like).

As for my ftp being down, it's not, however I have had a problem for quite some time with accessing files on the server. You actually have to save them to your box to view them (it's something to do with my router and passive ftp). I've symlinked them to my http server, so if you'd like to view my files you may do so that way instead: www.masterc.no-ip.org/share

Cool
 
Old 02-17-2003, 05:27 AM   #5
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
download & install proftpd

and check chkconfig(search this site) to automatically start ftp on boot.

#proftpd start

by the way..MasterC got 5000+ postings.. lol
thx MasterC for help!

Last edited by doublefailure; 02-17-2003 at 05:29 AM.
 
Old 02-17-2003, 03:44 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You're welcome; addiction is no joke!

Cool
 
  


Reply


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
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 06:14 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 06:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 03:07 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 09:23 AM


All times are GMT -5. The time now is 12:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration