CentOSLinuxTutorials

How To Install ProFTPD on CentOS 7

Install ProFTPD on CentOS 7

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 is 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 the step-by-step installation of ProFTPD on centos 7.

Prerequisites

  • A server running one of the following operating systems: CentOS 7.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

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:

firewall-cmd --reload

Step 4. Configure ProFTPD.

ProFTPD default configuration file is at /etc/proftpd.conf.

nano /etc/proftpd.conf

Change the ServerName to the hostname of your server. In the case below, ftp.idroot.us is an example:

ServerName “ftp.idroot.us”

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. For additional help or useful information, we recommend you check the official ProFTPD website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button