In this tutorial, we will show you how to install ProFTPD on CentOS 7. For those of you who didn’t know, ProFTPD is a GPL-licensed FTP server that can be installed for free on your Linux system. ProFTPD open-source FTP server one most used, secure and reliable file transfer daemons on Unix environments, due to its file configurations simplicity speed and easy setup.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation ProFTPD on centos 7.
Install ProFTPD on CentOS 7
Step 1. First, add the EPEL repository.
## RHEL/CentOS 7 64-Bit ## # wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm # rpm -ivh epel-release-7-5.noarch.rpm
Step 2. Install the ProFTPD server.
yum install proftpd proftpd-utils
Step 3. Configure firewall rules and access files.
By default, FTP access is blocked by the firewall. To enable access through the firewall, run the commands below:
firewall-cmd --permanent --zone=public --add-service=ftp
Next, reload the firewall configuration by running the commands below:
Step 4. Configure ProFTPD.
ProFTPD default configuration file is at /etc/proftpd.conf.
Change the ServerName to the hostname of your server. In the case below, ftp.idroot.us is an example:
Step 5. Start ProFTPD Server.
Run the commands below to start ProFTPD:
systemctl start proftpd.service
Then set the ProFTPD service to automatically start at boot:
systemctl enable proftpd.service
Step 6. Access the FTP server.
Once you have installed the FTP server and configured it to your liking, Now all you have to do is open an FTP client and connect to the server using its IP address, hostname, or domain name. If everything is configured correctly, you should be granted access to the server with the correct username and password.
Congratulations! You have successfully installed ProFTPD. Thanks for using this tutorial for installing ProFTPD on centos 7 systems.