At the beginning put on the vsftpd.conf file in the corresponding meaning of each variable link lhq9220 reprint of the other person's link, because is inside the station, so add his network link address http://blog.csdn.net/lhq9220/article/details /6544755
Here's my personal situation.
Configuration of the first vsftpd.conf file:
Anonymous_enable=no
Local_enable=yes
Write_enable=yes
Dirmessage_enable=yes
Xferlog_enable=yes
Connect_from_port_20=yes
idle_session_timeout=600
data_connection_timeout=120
Ftpd_banner=welcome to VVS ftp!
Chroot_list_enable=yes
Chroot_list_file=/etc/vsftpd.chroot_list
Listen=yes
Userlist_enable=yes
Userlist_deny=yes
Userlist_file=/etc/vsftpd.denyuser
Chroot_local_user=no
Second add users and passwords using the ADDUSER directive
Third Create/usr/share/empty directory
The user name in the IV/etc/vsftpd.chroot_list file that adds the second step is a separate row
Fifth/etc/vsftpd.denyuser Write root (note root does not allow FTP login, because root user permissions are too large to prevent accidental deletion)
Sixth (important) Create/var/log/vsftdp.log log file
Seventh if you encounter other problems, use the FileZilla software to log in to the FTP service, review the error code, continue to resolve.