1、安装必要的软件
sudo apt-get install tftp tftpd xinetd
2、建立tftp 目录
sudo mkdir /tftpboot
sudo chmod o+w /tftpboot
3、配置文件
sudo touch /etc/xinetd.d/tftp
sudo vim /etc/xinetd.d/tftp 输入:
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
csp = 100 2
}4、重启xinetd以使配置生效,开启tftp服务
service xinetd restart
搭建TFTP服务器
本文详细介绍如何在Linux系统中搭建TFTP服务器,包括安装必要软件、创建TFTP目录、配置服务及重启服务等步骤。
45

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



