Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
For the IP, just leave "localhost" out of it. The "ftp" prefix tells a browser to use the FTP protocol. If you're using an FTP client program, just "connect 66.222.XXX.XXX" should do the trick.
Add users via the Mandrake Control Center; they'll be users for your entire Linux system, not just for FTP.
You can create subdirectories under /var/ftp and put your files there. When I installed proftpd, it automatically created a /var/ftp/pub directory; that would be a good place to put files to be downloaded by your users. I created /var/ftp/incoming and modified the proftpd.conf file to prohibit listing of the directory, and also prohibit downloading from it. This makes it extremely difficult if not impossible for anyone to use my server as a warez repository. I can see what's in "incoming" and if it's something I want to make available to the world at large, I move it over to "pub" and set the file permissions on it.
Security on an FTP server is critical. While proftpd does not have the EXEC command (which would allow anyone to execute any command on your system), it's still possible for people to do evil things with it. I'd make the permissions on the "pub" directory 555 (no write permission except for the root user) and those on "incoming" 333 (no read permission except for root)...
You didn't ask, but you'll need to open TCP ports 20 and 21 at your router, to let the outside world get through to your server, just as you had to open 80-83 to let Apache users get in...
For any other machine on your LAN, use the 192.168.1.25 address. For a machine that's not on the LAN but has an internet connection, use the same IP address that works with your web server. This may be the 66.x.x.x, or the 142.x.x.x one; if you're on PPPoE or DHCP service from your ISP, the external IP address may vary at any time...