Build an FTP server with vsftpd on CentOS / RHEL / Fedora

At this time we will implement one of the features of a Linux server, the FTP server. FTP servers, as we know, are one of the services on Linux that are more specifically for data exchange. In this article, we are building an FTP server with vsftpd on CentOS / RHEL / Fedora, where we will try to install and configure an FTP server with vSFTPD as its daemon, along with the steps:
Install vsftpd

After the installation process is complete, run vsftpd and check the status with netstat


make sure that the vsftpd process is running, as follows:

in the step below, we will configure vsftpd.conf which is in /etc/vsftpd/vsftpd.conf:
The Anonymous / guest user home folder is in / data / ftp / guest user;

add the following code (default /var/ftp);

Create an upload location folder for anonymous / guest users:

Modified vsftpd welcome banner


edit / add the following code;

Make FTP user with “Read / read” access rights on FTP share directory

Edit the file /etc/vsftpd/vsftpd.conf

Update or adjust with the following code:


Restart service vsftpd server


Create a ftp-users group and the ftp-documents home folder that will be used as an information / FTP location of each user.


Add a user to register into the respective group and home folder.


I hope it has been a useful article.