You want to learn how to make an FTP server then?
If that's the case, here we go.
Now, if you just want one done quickly then there is an FTP server called AnomicFTPd.
It runs using java, so if you don't have java installed then you have to goto java.sun.com and
install it. If you don't know how to install java then here are the steps-
One- download the latest version of Java from java.sun.com, don't download the RPM, download
binary
Two- run the setup program. Do this by-
Code:
cd /home/username/download
umask 0 ./j2re-1_4_2_05-linux-i586.bin
./j2re-1_4_2_05-linux-i586.bin
And then read and agree to the lisence agreement. It now installs it. I'm not sure what
happens after this, because I always download the sdk so I can compile java programs. But
if it asks you for a install directory, just install it to /opt(need root privilages, su at the shell).
Anyway, if it doens't ask you for a directory, just wait untill it's done. After that, type in this
at the command line-
If you get a bunch of stuff, then java's installed. If you get an error, then that means you installed it to another directory, such as /opt. If this be the case, edit your PATH variable.
Code:
su root
vi /etc/profile
Then add this to the bottom-
PATH=$PATH:/opt/j2sdk1.4.2_05/bin
Where /opt/j2sdk1.4.2_05/bin is the directory where java was installed, the /bin is there
because 'java' is in the /bin directory of that.
After that, log out, then log back in. You should be able to go to the command line and
have java run without errors. With this done, now to the ftp server.
One- goto
http://www.anomic.de/ and download anomic ftp server
Two- extract it to some directory
Three- The directory name is really long, so rename it to somthing like aftpd
Four- edit these three files from the directory where you extracted the ftp server-
ftpd.groups, ftpd.accounts, ftpd.init.
It tells you in the config files how to configure them.
When you are all done, open a command line window, and do this-
Code:
cd /home/username/aftpd
./ftpd.sh
Then you will see a bunch of stuff. Read the stuff to make sure the ports are correct and
everything else is correct. DO NOT CLOSE THE TERMINAL WINDOW!!!! If you do so the
ftp server will shut down. This is only one of the ftp servers you can use. Two more popular
yet advaced ones are ProFTPd, and vsftpd.
Have fun!
-JCdude2525