Please note that this article is considered legacy documentation because Fedora 21 has reached its end-of-life support.
- These instructions are intended specifically for installing the ProFTPD on Fedora 21.
- I’ll be working from a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as root.
Step 1: Install ProFTPD
Warning: FTP data is insecure; traffic is not encrypted, and all transmissions are clear text (including usernames, passwords, commands, and data). Consider securing your FTP connection with SSL/TLS.As a matter of best practice we’ll update our packages:
yum -y updateThen let’s install ProFTPD and any required packages:
yum -y install proftpd
Step 2: Configure ProFTPDFor a refresher on editing files with vim see: New User Tutorial: Overview of the Vim Text Editor Let’s edit the configuration file for ProFTPD:
vim /etc/proftpd.confChange the ServerName to the hostname of your server. In the case below, ftp.thebestfakedomainnameintheworld.com is an example: ServerName “ftp.thebestfakedomainnameintheworld.com” Exit and save the file with the command :wq . Start the ProFTPD service:
systemctl start proftpdThen set the ProFTPD service to start at boot:
systemctl enable proftpdAnd verify your work by checking the status of ProFTPD:
systemctl status proftpd
Step 3: Allow ProFTPD Through the FirewallAllow the default FTP port, port 21, through firewalld:
firewall-cmd --permanent --add-port=21/tcpAnd reload the firewall: