FTP servers are useful as file archive servers.
FTP, or File Transfer Protocol, began as RFC 114 in April of 1971 and evolved to RFC 959 in October of 1995. FTP enables you to easily transfer files from one computer to another over the Internet. FTP servers are typically used as repositories for random users around the world to download archived software or documents on demand. Private FTP servers exist as well, but do not allow anonymous logins by random users. Any of the above can be easily enabled on Linux.
Enable the FTP Service in Fedora Linux
1. Run the “sudo yum install -y vsftpd” command at the terminal screen. This will install the Very Secure FTP Daemon (vsftpd) package necessary to enable the FTP service.
2. Start X Windows. Run “system-config-firewall” and type in your root password if it asks you for one. Enable the FTP service. Click the “Apply” button and confirm. Then enter your root password again if you are prompted to do so.
3. Run “serviceconf” to bring up the Service Configuration utility. Click on “vsftpd” and click “Enable.” Type your root password if you are prompted to do so. Click “start” to finish activating the FTP server. Alternately, type “sudo service vsftpd restart” at the terminal screen.
Enable the FTP Service in Ubuntu Linux
4. Open a terminal screen and run the “sudo apt-get install vsftpd” command. Type your password if you are prompted to do so.
5. Start X Windows. Open a terminal and then run “sudo gedit /etc/vsftpd.conf” to bring up the text editor and the Very Secure Ftp Daemon configuration file. Find the line with “anonymous_enable” and change the “NO” to “YES.” Save the file and then close the text editor program.
6. Type “sudo service vsftpd restart” to enable the FTP server.
Enable the FTP Service in Slackware Linux
7. Login as root. Type “/usr/sbin/slackpkg install vsftpd.”
8. Run the “vi /etc/inetd.conf.” Find the line that has “vsftp” and remove the pound (#) mark at the beginning of that line. Alternately, in X Windows, run “gedit /etc/inetd.conf” as root, find the vsftpd entry and remove the pound (#) mark at the start of that line.
9. Run the command “/etc/rc.d/rc.inetd restart” at the terminal window.