通过vsftp搭建ftp服务器。
1.安装vsftp。
bash
yum install vsftpd -y
systemctl start vsftpd
systemctl enable vsftpd
systemctl status vsftpd

2.关掉selinux。
3.防火墙开放ftp服务器。
bash
firewall-cmd --add-service=ftp --permanent
firewall-cmd --reload

经过多天反复搭建测试,出现各种错误,网络上各种方案都不能搭建成功,如果想用vsftp虚拟用户,请用老版本linux系统搭建。