sudo su
apt-get install xinetd tftpd tftp
vim /etc/xinetd.d/tftp
service tftp
{
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = /tftp
disable         = no
}
mkdir /tftp
chmod -R 777 /tftp
chown -R nobody /tftp
service xinetd restart