原文链接 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.
本文提供了一步一步的指南,教你如何在Ubuntu 14.04上安装和配置TFTP服务器。从安装TFTP软件开始,到创建存放文件的目录,设置权限,重启服务并确保防火墙开放相应的端口,每个步骤都清晰明了。
1084

被折叠的 条评论
为什么被折叠?



