资深IT码农,擅长Linux、C/C++、bash
分类: 系统运维
2015-11-18 14:49:18
$ yum install tftp tftp-server
$ chkconfig xinetd on
$ chkconfig tftp on
$ service xinetd restart
$ netstat -antpu | grep ":69"
udp 0 0 0.0.0.0:69 0.0.0.0:* 19292/xinetd
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /var/lib/tftpboot
disable = yes
per_source = 11
cps = 100 2
flags = IPv4
}
$ chmod 777 /var/lib/tftpboot
$ systemctl stop iptables.service
$ systemctl stop firewalld.service