install vsftpd
yum -y install vsftpd
start up
service vsftpd start
reboot
service vsftpd restart
Modify the configuration located in the /etc/vsftpd directory
vsftpd.ftpuusers: located in the /etc directory. It specifies which user accounts cannot access the FTP server, such as root, etc.
vsftpd.user_list: located in the /etc directory. User accounts in this file also cannot access the FTP server by default, and are only allowed if the userlist_enable=NO option is enabled in the vsftpd .conf configuration file.
Disable anonymous access:
anon_upload_enable=NO #Set anonymous users to have permission to upload files
anon_mkdir_write_enable=NO #Set anonymous users to create new folders and file permissions
anon_other_write_enable=NO #Set anonymous users to have permissions to rename and delete
Allow local users to log in:
local_enable=YES
write allowed
write_enable=YES