Atlantic.Net Blog

How to Set Up VSFTPD on CentOS 8

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.

Get a $250 Credit and Access to Our Free Tier!

Free Tier includes:
G3.2GB Cloud VPS a Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year