centos
yum install -y vsftpd
systemctl list-unit-files | grep vsftpd
chkconfig vsftpd on
anonymous_enable=NO
anon_upload_enable=YES
service vsftpd restart
/etc/vsftp/user_list 去掉登录的用户 root注释
/etc/vsftp/ftpusers 去掉登录的用户 root注释
[root@localhost vsftpd]# systemctl start firewalld.service
[root@localhost vsftpd]# firewall-cmd --permanent --zone=public --add-service=ftp
success
[root@localhost vsftpd]# firewall-cmd --reload
success
centos8 ftp服务
最新推荐文章于 2022-03-08 23:21:20 发布