centos7安装配置tftp

▼魔方 西西 提交于 2020-01-15 03:51:21

yum -y install ftp
yum -y install vsftpd

systemctl enable vsftpd
systemctl restart vsftpd
firewall-cmd --zone=public --add-port=21/tcp --permanent
firewall-cmd --zone=public --add-port=20/tcp --permanent
firewall-cmd --zone=public --permanent --add-service=ftp
systemctl restart vsftpd

getsebool -a | grep ftp
setsebool -P ftpd_full_access on
setsebool -P tftp_home_dir on

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!