[root@linuxprobe ~]# yum install tftp-server tftp
[root@linuxprobe ~]# vim /etc/xinetd.d/tftp
service tftp
{
socket_type= dgram
protocol= udp
wait= yes
user= root
server= /usr/sbin/in.tftpd
server_args= -s /var/lib/tftpboot
disable= no
per_source= 11
cps= 100 2
flags= IPv4
}
[root@linuxprobe~]# systemctl restart xinetd
[root@linuxprobe~]# systemctl enable xinetd
[root@linuxprobe~]# firewall-cmd --permanent --add-port=69/udp
[root@linuxprobe~]# firewall-cmd --reload
root@linuxprobe ~]# tftp 192.168.10.10
测试,完成