How to Install, Configure and Secure FTP Server in CentOS 7 – [Comprehensive Guide]

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.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

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...

47 Responses

  1. Neal says:

    Found this incredibly helpful and useful. Understanding chroot is a minefield, but you helped me solve my uploading problems simple by following the very precise instructions. Thanks you

  2. Bile Bakshi says:

    I am getting 2 error and they are below:

    [[email protected] ~]$ sudo setsebool -P ftp_home_dir on
    Boolean ftp_home_dir is not defined
    [[email protected] ~]$ sudo semanage boolean -m ftpd_full_access --on
    sudo: semanage: command not found
    [[email protected] ~]$ sudo ftp
    sudo: ftp: command not found
    [[email protected] ~]$ rpm -q ftp           # not install package
    package ftp is not installed
    [[email protected] ~]$
    [[email protected] ~]$ rpm -q vsftpd  # if i installed vsftpd then this package doesn't come with ftp

    So what to do now?

  3. James Stroud says:

    In CentOS 7.6 the individual configuration file have changed from:


    It is not clear in the article (at least to me) that you need to add this line.


    in the /etc/vsftpd/vsftpd.conf file in order for it take affect.

    Also if you want to ftp as the root user you must comment out or delete the root line in this file.

    vi /etc/vsftpd/ftpusers

    For example in my case it now looks like:

    [[email protected] vsftpd]# cat ftpusers
    # Users that are not allowed to login via ftp

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.