原文链接 http://community.spiceworks.com/how_to/100006-install-and-configure-tftp-under-ubuntu-14-04
Introduction
Title pretty much says it all = )
Steps (10 total)
sudo apt-get install tftpd-hpa
sudo apt-get install vim
sudo vim /etc/default/tftpd-hpa
press the ESC key and then A key
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-s -c -l"
after your config file is ready to rock and roll press Esc then :WQ
sudo mkdir /tftpboot
sudo chmod -R 777 /tftpboot
sudo chown -R nobody /tftpboot
sudo service tftpd-hpa restart
UDP port is set to 69
You can change this in step 5
Conclusion
pretty simple really, and a great thing to have in case Godzilla runs a muck on one of your sites and you have to shoot out some simple config files in record time. As always if there are any questions or constructive criticism, I am always happy to hear it.