1、安裝相關軟件包
apt-get install tftpd (服務端)
apt-get install tftp (客戶端)
apt-get install xinetd
2、建立配置文件
cd /etc/xinetd.d/
vi 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