一、安装xinetd服务 以及 安装tftp tftpd
1、apt-get install xinetd 安装xinetd服务
2、apt-get install tftp tftpd 安装tftp tftpd
二、配置tftp服务器
1、cd /etc/xinetd.d 进入相关目录
2、vim tftp 创建配置文件
在/etc/xinetd.d/tftp 里,写入进行如下配置。(其中server_args 是设置 tftp上传与下载的目录)
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user &nb