tftp存放在/etc/init.d/xinetd/tftp
service tftp
{
socket_tpye =dram
protocol =udp
user =root
server =/usr/sbin/in.tftpd
server_args =-s /tftpboot (指定tftp服务的目录)
disable =no
per_source =11
cps =100.2
flags =IPv4
}
修改后/etc/init.d/xinetd restart(重启tftp服务)
netstat -a |grep tftp(查看网络状态)出现:udp 0 0 *:tftp *:*表明tftp已启动
阅读(395) | 评论(0) | 转发(0) |