CentOS TFTP配置

1:    检查tftp服务器安装状态
    #netstat -a|grep tftp
    udp       0       0   *:tftp            *:*//代表已安装
   否则:
    yum install tftp tftp-server    

2:    
    vim /etc/xinetd.d/tftp

    service tftp
    {
            socket_type     =dgram
            protocol        =udp
            wait            =yes
            user            =root
            server          =/usr/sbin/in.tftpd
            server_args     =-s /tftp
            disable         =no
            per_source      =11
                cps             =100 2
            flags           =IPv4

    }
3:
    /etc/init.d/xinetd restart

4:    
    /etc/init.d/iptables stop  //关闭防火墙
    setenforce permissive
    
5:    
    mkdir /tftp
    chmod -R 777 /tftp
原文地址:https://www.cnblogs.com/wslblog/p/4133189.html