1、安装相关软件包
apt-get install tftpd (服务端)apt-get install xinetd
2、建立配置文件 /etc/xinetd.d/tftp
service tftp{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /home/tftp
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
3、建立tftp服务文件目录 /home/tftp
4、从新启动服务
/etc/init.d/xinetd restart 或service xinetd restart
注:1、读写权限
2、要想上传,服务器上必须要有文件且有权限。(即不能创建文件)