Install VSFTP
yum install vsftpd ftp
Now set the FTP directory (it would usually default to the /home directory)
vim /etc/vsftpd/vsftpd.conf
# Add the following lines
local_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
local_root=/directory_change_if_required
#You can also add a user based directory to the changed folder e.g.
local_root=/directory_change_if_required/$USERSet the VSFTP Server information
systemctl restart vsftpd systemctl status vsftpd systemctl enable vsftpd
Create local users for the FTP and set the password
useradd theuser passwd theuser
Test the FTP by running the following and logging in with your username/password you have set previously
ftp localhost
Open the firewall for access and reload the firewall
firewall-cmd --zone=public --add-service=ftp firewall-cmd --reload
You should now be able to access your newly created FTP server