LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ftp (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-45716/)

illtbagu 02-16-2003 07:08 PM

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.

MasterC 02-16-2003 11:35 PM

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

illtbagu 02-17-2003 12:07 AM

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

MasterC 02-17-2003 12:44 AM

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

doublefailure 02-17-2003 04:27 AM

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!

MasterC 02-17-2003 02:44 PM

:D You're welcome; addiction is no joke! ;)

Cool


All times are GMT -5. The time now is 10:52 PM.