FTP (File Transfer Protocol) is probably the most popular method of uploading files to a server; a wide array of FTP servers, such as ProFTPD, and clients exist for every platform.
- These instructions are intended specifically for installing the ProFTPD on CentOS 7.
- I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root.
ProFTPD is part of Extra Packages for Enterprise Linux (EPEL), which is a community repository of non-standard packages for the RHEL distribution. First, we’ll install the EPEL repository:
rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
As a matter of best practice we’ll update our packages:
yum -y update
Then let’s install ProFTPD and any required packages:
yum -y install proftpd
For 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:
Change the ServerName to the hostname of your server. In the case below, ftp.thebestfakedomainnameintheworld.com is an example:
Exit and save the file with the command :wq .
Restart the ProFTPD service:
systemctl restart proftpd
Then set the ProFTPD service to start at boot:
systemctl enable proftpd
And verify your work by checking the status of ProFTPD:
systemctl status proftpd
Allow the default FTP port, port 21, through firewalld:
firewall-cmd --permanent --add-port=21/tcp
And reload the firewall:
- How to renew an SSL certificate (a paid SSL cert)
- How to install Elasticsearch on Linux (AlmaLinux)
- How to install TypeScript on Linux (AlmaLinux)
- Mount ISO files via IPMI using a local file and the Java method
- How to install Google Cloud SDK on Linux (AlmaLinux)
- How to install Azure CLI on Linux (AlmaLinux)
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.