FTP installation is simple, yum install-y vsftpd but it has a lot of configuration content, see http://www.cnblogs.com/hnrainll/archive/2011/02/16/1956538.html
I personally think the author is very detailed, which requires a few points of attention, here to say.
1, user_list this file content
# vsftpd userlist# If Userlist_deny=no, only allow users on this file# if Userlist_deny=yes (default), never allow users I n This file, and# does not even prompt for a password.# Note, the default vsftpd Pam Config also checks/etc/vsftpd/ftpu sers# for users, that is denied.
You need to include Userlist_deny=no in the vsftpd.conf file so that the FTP user name is written in this file, which means that the user is allowed to log on.
2. Chroot setting
Chroot_list_enable=yeschroot_list_file=/etc/vsftpd/chroot_list
These two parameters in the vsftpd.conf file need to join, and then add the FTP user name in the chroot_list file, this user name is limited, can not jump out, access to other directories.
3. Log Settings
Xferlog_enable=yesdual_log_enable=yesxferlog_file=/var/log/ftp.logvsftpd_log_file=/var/log/vsftpd.log
In this way, when the FTP encountered a problem, login not, upload failure, etc., you can query the log, faster to determine the problem.
For log analysis, please see http://www.qianshoublog.com/post/8411.html
This article is from the "Ops Space" blog, so be sure to keep this source http://drinkboy.blog.51cto.com/10606290/1717151
Yum installs FTP and detailed configuration and log settings