Installing ProFTPD Server on RHEL/CentOS 7

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

10 Responses

  1. Sai says:


    I wanted to add configuration settings that proftpd authenticates using openLDAP and creates a chroot directory for each user, can any one direct me in this regards. You help would be much appreciated.


  2. Morris R. says:

    How to give ftp users access to /var/www?

    • Matei Cezar says:

      Create user with home directory in /var/www system path by issuing the below command:

      # useradd -md /var/www your_user

      Or setup /var/www for already existing users with the same home as above with:

      # usermoad -d /var/www your_user
  3. Joop says:

    Thanks you, after some edits I now have a working proftpd server with TLS support.

  4. Mario says:

    after rebooting I have:

    proftpd.service never wrote its PID file. Failing.

    It seems that the dir /var/run/proftpd is destroyed at rebooting!

    Ho can I solve this?

  5. Rishi Raj says:

    Hi Matei,

    Thanks for such a short and easy tutorial on installation of ProFTPd. I like it and try it out on my CentOS7 for sure.

    However, I suggest two minor editing points in the tutorial writeup:
    1. In Point 3, I think there is a misplaced space character between ‘-‘ and ‘s’ in a command-
    # hostname – s ## For short name
    Please remove this space character, if it is not intended.
    2. In Point 6, the parameter in the last command has different names as in code block and screenshot.
    Please make the command consistent across the two illustrations.

    Again thanks for keeping Linux community encouraged and engaged.

  6. Matei Cezar says:

    @satish: It’s not sftp that I will use for secure transactions, its Proftpd with TLS (ftpes) for secure transactions.

  7. satish says:

    Hi Team,

    Let us now how you execute, both ftp and sftp on same server i.e same proftpd.cof?


  8. CertDepot says:


    I would like to make two remarks:
    – with RHEL 7/CentOS 7, there is a new command called “hostnamectl” to rename a host: hostnamectl set-hostname myhostname
    – use “firewall-cmd –reload” instead of “systemctl restart firewalld”, you will avoid stopping all your current connections which is one of the advantages of the new firewalld component.


Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.