sudo apt-get install tftp tftpd
2. sudo vi /etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
3.
mkdir /tftpboot
chmod 777 /tftpboot
4.
/etc/init.d/xinetd restar
5. Test
tftp 127.0.0.1
get xxx.xxx
沒有留言:
張貼留言