Verified and Tested 06/02/21

Introduction

In this How-To, we will walk you through the VSFTPD install on your CentOS 8 Cloud Server. If you are using an Ubuntu Cloud Server instead, check out the how-to for that here.

VSFTPD is an FTP server that is built to be efficient and very secure. This is the default FTP server in the majority of Linux Operating Systems around today. With fast response and security, it reliably facilitates the job of uploading and downloading files with peace of mind.

Install VSFTPD

sudo yum install vsftpd

Install the Client

sudo yum install ftp

Modify the Configuration File

Make changes to the configuration file by the following:

sudo vi /etc/vsftpd/vsftpd.conf

Locate the Anonymous_enable to YES and change it to NO. It should look like the line below:
# Allow anonymous FTP? (Beware – allowed by default if you comment this out).

anonymous_enable=NO

Locate the local_enable=YES line and remove the # in front of it. This will limit the users to their chroot and won’t have access to anywhere else in the server.

Restart the Service to Refresh the Changes

sudo systemctl start vsftpd

Enable vsftpd to start when the server boots:

sudo systemctl enable vsftpd

To access your server via FTP over the web, type the following in your browser:
ftp://YOUR.IP.ADD.RESS

You will now be prompted to input your username and password. All Done!

Congratulations! You have just installed VSFTPD on your CentOS 6 Cloud Server.  Thank you for following this how-to, check back for updates or learn more about our reliable VPS hosting solutions.