尽管很幼稚,但还是写一写,毕竟在这个问题上丢过人
1)首先要确认安装了软件包,其次要确认开启了此服务:
# rpm -q tftp-server
tftp-server-0.32-4
# chkconfig tftp on
# chkconfig --list | grep tftp
        tftp:   on
2)再编辑配置文件:
#vi /etc/xinetd.d/tftp
service tftp
{
        disable = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s     /var/www/html
        per_source              = 11
        cps                     = 100     2
        flags                   = IPv4
}
好了,试试看吧,至少可以下载了!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment