安装
yum install -y vsftpd
rpm -qa | grep vsftpd
systemctl list-unit-files | grep vsftpd
systemctl enable vsftpd.service
netstat -antup | grep ftp
service vsftpd status
service vsftpd start
service vsftpd restart
adduser ftpuser
passwd ftpuser
123456
mkdir -p /home/ftpuser/ftpdata
chown -R ftpuser:ftpuser /home/ftpuser/ftpdata
vim /etc/vsftpd/chroot_list
systemctl status firewalld
/etc/vsftpd/vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
pasv_enable=YES
allow_writeable_chroot=YES
local_root=/home/ftpuser/ftpdata
userlist_enable=NO
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
