ubuntu 16.04 64bit tftp服务搭建。
安装:
1 | sudo apt-get install tftp-hpa tftpd-hpa |
自动生成文件/etc/default/tftpd-hpa
,修改为:
1 | TFTP_USERNAME="tftp" |
重启:
1 | sudo service tftpd-hpa restart |
检查:
1 | ps -ef |grep tftpd |
输出:
1 | root 47053 1 0 23:24 ? 00:00:00 /usr/sbin/in.tftpd --listen --user tftp --address :69 --secure /home/latelee/linux_ebook/tftpboot |
本地测试使用:
1 | tftp 127.0.0.1 |