Install Proftpd on Centos and Rockylinux 8

Proftpd is an Opensource ftp Server compatible with Unix-like systems its easy to install , fast and secure . lets show you in this how to install this software.

In my case i’am using vzlinux its one if the Centos derivatives.

Proftpd doesn’t exit on the standard Redhat/Centos repositories this is why we need to create extra repositories to make this possible, we need epel-repository.

Install EPEL repository

yum install epel-release

2-Now Install the Proftpd serversand its utilities

yum install proftpd proftpd-utils

3-Enable and start ProFTPD

 systemctl  enable proftpd
 systemctl  start proftpd
 systemctl  status proftpd

4-Add Firewall Rules and Access Files to Firewalld

[email protected]:~# firewall-cmd  --permanent --add-service=ftp
[email protected]:~# firewall-cmd  --reload

How to change Proftpd Port ( Optional)

Normally the proftpd running om port 21, to change it to something else. please an entry to /etc/proftpd.conf

Port 2121

Reload the proftp daemin and add the new port to the firewallcmd rules

systemctl restart proftpd
firewall-cmd  --permanent --add-port=2121/tcp
firewall-cmd --reload

Check FTP server passive port range and make sure you also update the firewall rules to reflect passive port range.

Connect to proftpd Server

you should now be able to connect to the server with Valid users already exit on the server ( /etc/passwd)

Add user and set password

[email protected]:~#adduser unixcop1
[email protected]:~# passwd  unixcop1
Changing password for user unixcop1.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[email protected]:~#

Connect to ProdFTPd servers ( Normal port 21)

use the command Line or the ftp clients like firezilla or winscp

Done, cheers

Unix/Linux Guru and FOSS supporter


Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook