//tftp server 安装
yum install xinetd tftp tftp-server
//修改配置参数
vim /etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /opt/tftpboot -c //add -c
disable = no //enable tftp
per_source = 11
cps = 100 2
flags = IPv4
}
//修改目录权限
chmod -R 777 /opt/tftpboot
配置防火墙
firewall-cmd --add-port=69/udp --permanent
firewall-cmd --reload
//设置重启与开机自运行S
systemctl restart xinetd
systemctl enable xinetd
systemctl restart tftp
systemctl enable tftp
在使用中出现无法下载的问题,关闭selinux
本文详细介绍了如何通过yum安装TFTP服务器,配置参数、权限调整,以及防火墙设置。遇到下载问题后,博主指导读者关闭SELinux以解决问题。重点在于实践步骤和常见问题解决策略。
1111

被折叠的 条评论
为什么被折叠?



