1、准备CentOS7
2、安装tftp/dhcp/vsftp
yum -y install tftp-server dhcp vsftpd
3、禁用防火墙或者开通相应的端口
设置/etc/sysconfig/selinux
SELINUX=disabled
重启或执行setenforce 0
service iptables stop
4、配置tftp-server
vi /etc/xinetd.d/tftp
server_args = -s /var/lib/tftpboot 这里如果不修改默认是/tftpboot 会提示
PXE-T01:File not found
PXE-E3B:TFTP Error – file not found
PXE……………..
#设置disable的值由yes变为no
disable = no
/etc/init.d/xinetd restart重启xinetd服务
netstat -nulp检查tftp启动是否成功
udp 0 0 0.0.0.0