How To Install proftpd on CentOS 8

proftpd is Flexible, stable and highly-configurable FTP server

Introduction

In this tutorial we learn how to install proftpd on CentOS 8.

What is proftpd

ProFTPD is an enhanced FTP server with a focus toward simplicity, security, and ease of configuration. It features a very Apache-like configuration syntax, and a highly customizable server infrastructure, including support for multiple ‘virtual’ FTP servers, anonymous FTP, and permission-based directory visibility. This package defaults to the standalone behavior of ProFTPD, but all the needed scripts to have it run by systemd instead are included.

We can use yum or dnf to install proftpd on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install proftpd.

Install proftpd on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install proftpd using dnf by running the following command:

sudo dnf -y install proftpd

Install proftpd on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install proftpd using yum by running the following command:

sudo yum -y install proftpd

How To Uninstall proftpd on CentOS 8

To uninstall only the proftpd package we can use the following command:

sudo dnf remove proftpd

proftpd Package Contents on CentOS 8

/etc/blacklist.dat
/etc/dhparams.pem
/etc/ftpusers
/etc/logrotate.d
/etc/logrotate.d/proftpd
/etc/pam.d/proftpd
/etc/proftpd
/etc/proftpd.conf
/etc/proftpd/anonftp.conf
/etc/proftpd/conf.d
/etc/proftpd/mod_ban.conf
/etc/proftpd/mod_qos.conf
/etc/proftpd/mod_tls.conf
/etc/proftpd/modules.conf
/etc/sysconfig/proftpd
/run/proftpd
/usr/bin/ftpdctl
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/0fad7387af13b5562ae0a9a964feabf14395a6
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/cd2afe4d95fc9dcf96634048f6549edadf0562
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/db4afc1a56febd485a48cd480cf02a12148466
/usr/lib/.build-id/23
/usr/lib/.build-id/23/3414f1d15d44b9e8093a7d2a23bcda01bc032c
/usr/lib/.build-id/23/b0b592bb04f846d3a0b894c3922710d9aee9e6
/usr/lib/.build-id/24
/usr/lib/.build-id/24/5ad9a1467b7078c31bd79e13ff0bb72bb6d054
/usr/lib/.build-id/35
/usr/lib/.build-id/35/76c23111aa44c71da22121a702c94750d7648b
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/035156014681efdf5e85ace7300b393b62a446
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/c17157b3977185cca69266586c1b14f7178356
/usr/lib/.build-id/61
/usr/lib/.build-id/61/24153e60e8f892c7ccf3975d959e38104536cc
/usr/lib/.build-id/62
/usr/lib/.build-id/62/f11b9f2a74af07a96e48a786fd9c1a1ada0a17
/usr/lib/.build-id/69
/usr/lib/.build-id/69/ccdec4017b980a0a2a5e6d2740427046844c20
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/7dbd02561517c5039678378896aa824370528e
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/f7482b0f932867a93412fe97e1d74b9d3f5fb1
/usr/lib/.build-id/80
/usr/lib/.build-id/80/617c37622d8067567838039c3db83012ecb359
/usr/lib/.build-id/81
/usr/lib/.build-id/81/26177ca70ad7645fd2ccd9e7c1ead762b6bc30
/usr/lib/.build-id/82
/usr/lib/.build-id/82/0dd0f3f30161db18a2976ce7f41e735a990351
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/82799fbb379a4273739a9fb6998092462676d9
/usr/lib/.build-id/95
/usr/lib/.build-id/95/60fb73fd058079902757382ee28b6f31f786fe
/usr/lib/.build-id/98
/usr/lib/.build-id/98/1aa2cef679f93c62e243251e356641e5f164f5
/usr/lib/.build-id/98/1fb4b2c36601a2a495123cb78dff84753f24a9
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/df03b28a580d10d334ce187de4947d06b9d1fc
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/6c83e34935d39272034f2bf8f72e1f0045fad0
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/5b13d252ad3e9007ab24e19f83835493464354
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/36eb08b8a50d2c3c7fbabdcae6ae0c67ee3903
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/adf3c7da71d7e8c5b3e2ef10d13b32c49f89f9
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/2b6cb38b546f716cc9e592e8d5354fafef4961
/usr/lib/.build-id/ce/906f973c9ec35f2339bb66ebd5ca9cd4f86aaa
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/589dde6ab15116a6bf8dd17369335ecb97e6cc
/usr/lib/.build-id/d5/acac03a1f6a2e1e11718128f6d8fc4bd185baf
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/022fdc192864e3eb803d17c1d9fc5d0f4a099c
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/b9c7ef02b5fae11239f9f83cfb4a255136d217
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/7d80ad84518d5d555fe94811170e869f853b04
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/f74767bf8a8b232839c07292407ab411b3b01d
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/f959f567bbff6edfb46c7fded77b4211dd8548
/usr/lib/systemd/system/proftpd.service
/usr/lib/systemd/system/proftpd.socket
/usr/lib/systemd/system/[email protected]
/usr/lib/tmpfiles.d/proftpd.conf
/usr/libexec/proftpd
/usr/libexec/proftpd/mod_ban.so
/usr/libexec/proftpd/mod_copy.so
/usr/libexec/proftpd/mod_ctrls_admin.so
/usr/libexec/proftpd/mod_deflate.so
/usr/libexec/proftpd/mod_exec.so
/usr/libexec/proftpd/mod_facl.so
/usr/libexec/proftpd/mod_ifsession.so
/usr/libexec/proftpd/mod_ifversion.so
/usr/libexec/proftpd/mod_load.so
/usr/libexec/proftpd/mod_qos.so
/usr/libexec/proftpd/mod_quotatab.so
/usr/libexec/proftpd/mod_quotatab_file.so
/usr/libexec/proftpd/mod_quotatab_radius.so
/usr/libexec/proftpd/mod_quotatab_sql.so
/usr/libexec/proftpd/mod_radius.so
/usr/libexec/proftpd/mod_ratio.so
/usr/libexec/proftpd/mod_rewrite.so
/usr/libexec/proftpd/mod_sftp.so
/usr/libexec/proftpd/mod_sftp_pam.so
/usr/libexec/proftpd/mod_sftp_sql.so
/usr/libexec/proftpd/mod_shaper.so
/usr/libexec/proftpd/mod_site_misc.so
/usr/libexec/proftpd/mod_sql.so
/usr/libexec/proftpd/mod_sql_passwd.so
/usr/libexec/proftpd/mod_tls_memcache.so
/usr/libexec/proftpd/mod_tls_shmcache.so
/usr/libexec/proftpd/mod_unique_id.so
/usr/libexec/proftpd/mod_vroot.so
/usr/libexec/proftpd/mod_wrap2.so
/usr/libexec/proftpd/mod_wrap2_file.so
/usr/libexec/proftpd/mod_wrap2_sql.so
/usr/sbin/ftpscrub
/usr/sbin/ftpshut
/usr/sbin/in.proftpd
/usr/sbin/proftpd
/usr/share/doc/proftpd
/usr/share/doc/proftpd/CREDITS
/usr/share/doc/proftpd/ChangeLog
/usr/share/doc/proftpd/Configuration.html
/usr/share/doc/proftpd/Configuration.pdf
/usr/share/doc/proftpd/Configuration.sgml
/usr/share/doc/proftpd/NEWS
/usr/share/doc/proftpd/README.DSO
/usr/share/doc/proftpd/README.IPv6
/usr/share/doc/proftpd/README.PAM
/usr/share/doc/proftpd/README.capabilities
/usr/share/doc/proftpd/README.classes
/usr/share/doc/proftpd/README.contrib
/usr/share/doc/proftpd/README.controls
/usr/share/doc/proftpd/README.facl
/usr/share/doc/proftpd/README.md
/usr/share/doc/proftpd/README.modules
/usr/share/doc/proftpd/README.ratio
/usr/share/doc/proftpd/contrib
/usr/share/doc/proftpd/contrib/ftpasswd.html
/usr/share/doc/proftpd/contrib/ftpmail.html
/usr/share/doc/proftpd/contrib/ftpquota.html
/usr/share/doc/proftpd/contrib/index.html
/usr/share/doc/proftpd/contrib/mod_auth_otp.html
/usr/share/doc/proftpd/contrib/mod_ban.html
/usr/share/doc/proftpd/contrib/mod_copy.html
/usr/share/doc/proftpd/contrib/mod_ctrls_admin.html
/usr/share/doc/proftpd/contrib/mod_deflate.html
/usr/share/doc/proftpd/contrib/mod_digest.html
/usr/share/doc/proftpd/contrib/mod_dnsbl.html
/usr/share/doc/proftpd/contrib/mod_dynmasq.html
/usr/share/doc/proftpd/contrib/mod_exec.html
/usr/share/doc/proftpd/contrib/mod_geoip.html
/usr/share/doc/proftpd/contrib/mod_ifsession.html
/usr/share/doc/proftpd/contrib/mod_ifversion.html
/usr/share/doc/proftpd/contrib/mod_ldap.html
/usr/share/doc/proftpd/contrib/mod_load.html
/usr/share/doc/proftpd/contrib/mod_log_forensic.html
/usr/share/doc/proftpd/contrib/mod_qos.html
/usr/share/doc/proftpd/contrib/mod_quotatab.html
/usr/share/doc/proftpd/contrib/mod_quotatab_file.html
/usr/share/doc/proftpd/contrib/mod_quotatab_ldap.html
/usr/share/doc/proftpd/contrib/mod_quotatab_radius.html
/usr/share/doc/proftpd/contrib/mod_quotatab_sql.html
/usr/share/doc/proftpd/contrib/mod_radius.html
/usr/share/doc/proftpd/contrib/mod_ratio.html
/usr/share/doc/proftpd/contrib/mod_readme.html
/usr/share/doc/proftpd/contrib/mod_rewrite.html
/usr/share/doc/proftpd/contrib/mod_sftp.html
/usr/share/doc/proftpd/contrib/mod_sftp_pam.html
/usr/share/doc/proftpd/contrib/mod_sftp_sql.html
/usr/share/doc/proftpd/contrib/mod_shaper.html
/usr/share/doc/proftpd/contrib/mod_site_misc.html
/usr/share/doc/proftpd/contrib/mod_snmp.html
/usr/share/doc/proftpd/contrib/mod_sql.html
/usr/share/doc/proftpd/contrib/mod_sql_odbc.html
/usr/share/doc/proftpd/contrib/mod_sql_passwd.html
/usr/share/doc/proftpd/contrib/mod_sql_sqlite.html
/usr/share/doc/proftpd/contrib/mod_statcache.html
/usr/share/doc/proftpd/contrib/mod_tls.html
/usr/share/doc/proftpd/contrib/mod_tls_fscache.html
/usr/share/doc/proftpd/contrib/mod_tls_memcache.html
/usr/share/doc/proftpd/contrib/mod_tls_redis.html
/usr/share/doc/proftpd/contrib/mod_tls_shmcache.html
/usr/share/doc/proftpd/contrib/mod_unique_id.html
/usr/share/doc/proftpd/contrib/mod_wrap.html
/usr/share/doc/proftpd/contrib/mod_wrap2.html
/usr/share/doc/proftpd/contrib/mod_wrap2_file.html
/usr/share/doc/proftpd/contrib/mod_wrap2_redis.html
/usr/share/doc/proftpd/contrib/mod_wrap2_sql.html
/usr/share/doc/proftpd/faq.html
/usr/share/doc/proftpd/howto
/usr/share/doc/proftpd/howto/ASCII.html
/usr/share/doc/proftpd/howto/AWS.html
/usr/share/doc/proftpd/howto/AuthFiles.html
/usr/share/doc/proftpd/howto/Authentication.html
/usr/share/doc/proftpd/howto/BCP.html
/usr/share/doc/proftpd/howto/Chroot.html
/usr/share/doc/proftpd/howto/Classes.html
/usr/share/doc/proftpd/howto/Compiling.html
/usr/share/doc/proftpd/howto/ConfigFile.html
/usr/share/doc/proftpd/howto/ConfigurationTricks.html
/usr/share/doc/proftpd/howto/ConnectionACLs.html
/usr/share/doc/proftpd/howto/Controls.html
/usr/share/doc/proftpd/howto/CreateHome.html
/usr/share/doc/proftpd/howto/DNS.html
/usr/share/doc/proftpd/howto/DSO.html
/usr/share/doc/proftpd/howto/Debugging.html
/usr/share/doc/proftpd/howto/Directory.html
/usr/share/doc/proftpd/howto/DisplayFiles.html
/usr/share/doc/proftpd/howto/ECCN.html
/usr/share/doc/proftpd/howto/FTP.html
/usr/share/doc/proftpd/howto/FXP.html
/usr/share/doc/proftpd/howto/Filters.html
/usr/share/doc/proftpd/howto/Globbing.html
/usr/share/doc/proftpd/howto/KeepAlives.html
/usr/share/doc/proftpd/howto/Limit.html
/usr/share/doc/proftpd/howto/ListOptions.html
/usr/share/doc/proftpd/howto/LogLevels.html
/usr/share/doc/proftpd/howto/LogMessages.html
/usr/share/doc/proftpd/howto/Logging.html
/usr/share/doc/proftpd/howto/Memcache.html
/usr/share/doc/proftpd/howto/NAT.html
/usr/share/doc/proftpd/howto/Nonroot.html
/usr/share/doc/proftpd/howto/Quotas.html
/usr/share/doc/proftpd/howto/Radius.html
/usr/share/doc/proftpd/howto/Redis.html
/usr/share/doc/proftpd/howto/Regex.html
/usr/share/doc/proftpd/howto/Rewrite.html
/usr/share/doc/proftpd/howto/SQL.html
/usr/share/doc/proftpd/howto/SSH.html
/usr/share/doc/proftpd/howto/Scoreboard.html
/usr/share/doc/proftpd/howto/Sendfile.html
/usr/share/doc/proftpd/howto/ServerType.html
/usr/share/doc/proftpd/howto/Stopping.html
/usr/share/doc/proftpd/howto/TLS.html
/usr/share/doc/proftpd/howto/Testing.html
/usr/share/doc/proftpd/howto/Timestamps.html
/usr/share/doc/proftpd/howto/Tracing.html
/usr/share/doc/proftpd/howto/Translations.html
/usr/share/doc/proftpd/howto/Umask.html
/usr/share/doc/proftpd/howto/Upgrade.html
/usr/share/doc/proftpd/howto/Versioning.html
/usr/share/doc/proftpd/howto/Vhost.html
/usr/share/doc/proftpd/howto/VirtualUsers.html
/usr/share/doc/proftpd/howto/ftpaccess.html
/usr/share/doc/proftpd/howto/index.html
/usr/share/doc/proftpd/license.txt
/usr/share/doc/proftpd/mod_sample.c
/usr/share/doc/proftpd/modules
/usr/share/doc/proftpd/modules/index.html
/usr/share/doc/proftpd/modules/mod_auth.html
/usr/share/doc/proftpd/modules/mod_auth_file.html
/usr/share/doc/proftpd/modules/mod_auth_pam.html
/usr/share/doc/proftpd/modules/mod_auth_unix.html
/usr/share/doc/proftpd/modules/mod_cap.html
/usr/share/doc/proftpd/modules/mod_core.html
/usr/share/doc/proftpd/modules/mod_ctrls.html
/usr/share/doc/proftpd/modules/mod_delay.html
/usr/share/doc/proftpd/modules/mod_dso.html
/usr/share/doc/proftpd/modules/mod_facl.html
/usr/share/doc/proftpd/modules/mod_facts.html
/usr/share/doc/proftpd/modules/mod_ident.html
/usr/share/doc/proftpd/modules/mod_lang.html
/usr/share/doc/proftpd/modules/mod_log.html
/usr/share/doc/proftpd/modules/mod_ls.html
/usr/share/doc/proftpd/modules/mod_memcache.html
/usr/share/doc/proftpd/modules/mod_redis.html
/usr/share/doc/proftpd/modules/mod_rlimit.html
/usr/share/doc/proftpd/modules/mod_site.html
/usr/share/doc/proftpd/modules/mod_xfer.html
/usr/share/doc/proftpd/rfc
/usr/share/doc/proftpd/rfc/draft-bonachea-sftp-00.txt
/usr/share/doc/proftpd/rfc/draft-ietf-ftpext-mlst-15.txt
/usr/share/doc/proftpd/rfc/draft-ietf-ftpext-sec-consider-02.txt
/usr/share/doc/proftpd/rfc/draft-somers-ftp-mfxx-03.txt
/usr/share/doc/proftpd/rfc/rfc0959.txt
/usr/share/doc/proftpd/rfc/rfc2228.txt
/usr/share/doc/proftpd/rfc/rfc2389.txt
/usr/share/doc/proftpd/rfc/rfc2428.txt
/usr/share/doc/proftpd/rfc/rfc2640.txt
/usr/share/doc/proftpd/rfc/rfc3659.txt
/usr/share/doc/proftpd/rfc/rfc4217.txt
/usr/share/doc/proftpd/rfc/rfc7151.txt
/usr/share/doc/proftpd/sample-configurations
/usr/share/doc/proftpd/sample-configurations/PFTEST.conf.in
/usr/share/doc/proftpd/sample-configurations/PFTEST.group
/usr/share/doc/proftpd/sample-configurations/PFTEST.install
/usr/share/doc/proftpd/sample-configurations/PFTEST.passwd
/usr/share/doc/proftpd/sample-configurations/PFTEST.shadow
/usr/share/doc/proftpd/sample-configurations/anonymous.conf
/usr/share/doc/proftpd/sample-configurations/basic.conf
/usr/share/doc/proftpd/sample-configurations/complex-virtual.conf
/usr/share/doc/proftpd/sample-configurations/mod_sql.conf
/usr/share/doc/proftpd/sample-configurations/virtual.conf
/usr/share/doc/proftpd/utils
/usr/share/doc/proftpd/utils/ftpasswd.html
/usr/share/doc/proftpd/utils/ftpcount.html
/usr/share/doc/proftpd/utils/ftpdctl.html
/usr/share/doc/proftpd/utils/ftpmail.html
/usr/share/doc/proftpd/utils/ftpquota.html
/usr/share/doc/proftpd/utils/ftpscrub.html
/usr/share/doc/proftpd/utils/ftpshut.html
/usr/share/doc/proftpd/utils/ftptop.html
/usr/share/doc/proftpd/utils/ftpwho.html
/usr/share/doc/proftpd/utils/index.html
/usr/share/doc/proftpd/utils/prxs.html
/usr/share/licenses/proftpd
/usr/share/licenses/proftpd/COPYING
/usr/share/locale/bg_BG/LC_MESSAGES/proftpd.mo
/usr/share/locale/en_US/LC_MESSAGES/proftpd.mo
/usr/share/locale/es_ES/LC_MESSAGES/proftpd.mo
/usr/share/locale/fr_FR/LC_MESSAGES/proftpd.mo
/usr/share/locale/it_IT/LC_MESSAGES/proftpd.mo
/usr/share/locale/ja_JP/LC_MESSAGES/proftpd.mo
/usr/share/locale/ko_KR/LC_MESSAGES/proftpd.mo
/usr/share/locale/ru_RU/LC_MESSAGES/proftpd.mo
/usr/share/locale/zh_CN/LC_MESSAGES/proftpd.mo
/usr/share/locale/zh_TW/LC_MESSAGES/proftpd.mo
/usr/share/man/man5/proftpd.conf.5.gz
/usr/share/man/man5/xferlog.5.gz
/usr/share/man/man8/ftpdctl.8.gz
/usr/share/man/man8/ftpscrub.8.gz
/usr/share/man/man8/ftpshut.8.gz
/usr/share/man/man8/proftpd.8.gz
/var/ftp
/var/ftp/pub
/var/ftp/uploads
/var/ftp/welcome.msg
/var/log/proftpd

References

Summary

In this tutorial we learn how to install proftpd on CentOS 8 using yum and dnf.